AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PromptAgentResource.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_BEDROCKAGENT_API PromptAgentResource() = default;
41 AWS_BEDROCKAGENT_API PromptAgentResource(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetAgentIdentifier() const { return m_agentIdentifier; }
51 inline bool AgentIdentifierHasBeenSet() const { return m_agentIdentifierHasBeenSet; }
52 template<typename AgentIdentifierT = Aws::String>
53 void SetAgentIdentifier(AgentIdentifierT&& value) { m_agentIdentifierHasBeenSet = true; m_agentIdentifier = std::forward<AgentIdentifierT>(value); }
54 template<typename AgentIdentifierT = Aws::String>
55 PromptAgentResource& WithAgentIdentifier(AgentIdentifierT&& value) { SetAgentIdentifier(std::forward<AgentIdentifierT>(value)); return *this;}
57 private:
58
59 Aws::String m_agentIdentifier;
60 bool m_agentIdentifierHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace BedrockAgent
65} // namespace Aws
PromptAgentResource & WithAgentIdentifier(AgentIdentifierT &&value)
AWS_BEDROCKAGENT_API PromptAgentResource(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API PromptAgentResource()=default
AWS_BEDROCKAGENT_API PromptAgentResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentIdentifier(AgentIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue