AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AgentCollaborator.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/AgentDescriptor.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-agent/model/RelayConversationHistory.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_BEDROCKAGENT_API AgentCollaborator() = default;
38 AWS_BEDROCKAGENT_API AgentCollaborator(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API AgentCollaborator& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AgentDescriptor& GetAgentDescriptor() const { return m_agentDescriptor; }
48 inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; }
49 template<typename AgentDescriptorT = AgentDescriptor>
50 void SetAgentDescriptor(AgentDescriptorT&& value) { m_agentDescriptorHasBeenSet = true; m_agentDescriptor = std::forward<AgentDescriptorT>(value); }
51 template<typename AgentDescriptorT = AgentDescriptor>
52 AgentCollaborator& WithAgentDescriptor(AgentDescriptorT&& value) { SetAgentDescriptor(std::forward<AgentDescriptorT>(value)); return *this;}
54
56
59 inline const Aws::String& GetAgentId() const { return m_agentId; }
60 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
61 template<typename AgentIdT = Aws::String>
62 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
63 template<typename AgentIdT = Aws::String>
64 AgentCollaborator& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
72 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
73 template<typename AgentVersionT = Aws::String>
74 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
75 template<typename AgentVersionT = Aws::String>
76 AgentCollaborator& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
78
80
83 inline const Aws::String& GetClientToken() const { return m_clientToken; }
84 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
85 template<typename ClientTokenT = Aws::String>
86 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
87 template<typename ClientTokenT = Aws::String>
88 AgentCollaborator& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
90
92
95 inline const Aws::String& GetCollaborationInstruction() const { return m_collaborationInstruction; }
96 inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; }
97 template<typename CollaborationInstructionT = Aws::String>
98 void SetCollaborationInstruction(CollaborationInstructionT&& value) { m_collaborationInstructionHasBeenSet = true; m_collaborationInstruction = std::forward<CollaborationInstructionT>(value); }
99 template<typename CollaborationInstructionT = Aws::String>
100 AgentCollaborator& WithCollaborationInstruction(CollaborationInstructionT&& value) { SetCollaborationInstruction(std::forward<CollaborationInstructionT>(value)); return *this;}
102
104
107 inline const Aws::String& GetCollaboratorId() const { return m_collaboratorId; }
108 inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; }
109 template<typename CollaboratorIdT = Aws::String>
110 void SetCollaboratorId(CollaboratorIdT&& value) { m_collaboratorIdHasBeenSet = true; m_collaboratorId = std::forward<CollaboratorIdT>(value); }
111 template<typename CollaboratorIdT = Aws::String>
112 AgentCollaborator& WithCollaboratorId(CollaboratorIdT&& value) { SetCollaboratorId(std::forward<CollaboratorIdT>(value)); return *this;}
114
116
119 inline const Aws::String& GetCollaboratorName() const { return m_collaboratorName; }
120 inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; }
121 template<typename CollaboratorNameT = Aws::String>
122 void SetCollaboratorName(CollaboratorNameT&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::forward<CollaboratorNameT>(value); }
123 template<typename CollaboratorNameT = Aws::String>
124 AgentCollaborator& WithCollaboratorName(CollaboratorNameT&& value) { SetCollaboratorName(std::forward<CollaboratorNameT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
132 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
133 template<typename CreatedAtT = Aws::Utils::DateTime>
134 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
135 template<typename CreatedAtT = Aws::Utils::DateTime>
136 AgentCollaborator& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
144 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
145 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
146 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
147 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
148 AgentCollaborator& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
150
152
155 inline RelayConversationHistory GetRelayConversationHistory() const { return m_relayConversationHistory; }
156 inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; }
157 inline void SetRelayConversationHistory(RelayConversationHistory value) { m_relayConversationHistoryHasBeenSet = true; m_relayConversationHistory = value; }
160 private:
161
162 AgentDescriptor m_agentDescriptor;
163 bool m_agentDescriptorHasBeenSet = false;
164
165 Aws::String m_agentId;
166 bool m_agentIdHasBeenSet = false;
167
168 Aws::String m_agentVersion;
169 bool m_agentVersionHasBeenSet = false;
170
171 Aws::String m_clientToken;
172 bool m_clientTokenHasBeenSet = false;
173
174 Aws::String m_collaborationInstruction;
175 bool m_collaborationInstructionHasBeenSet = false;
176
177 Aws::String m_collaboratorId;
178 bool m_collaboratorIdHasBeenSet = false;
179
180 Aws::String m_collaboratorName;
181 bool m_collaboratorNameHasBeenSet = false;
182
183 Aws::Utils::DateTime m_createdAt{};
184 bool m_createdAtHasBeenSet = false;
185
186 Aws::Utils::DateTime m_lastUpdatedAt{};
187 bool m_lastUpdatedAtHasBeenSet = false;
188
190 bool m_relayConversationHistoryHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace BedrockAgent
195} // namespace Aws
void SetRelayConversationHistory(RelayConversationHistory value)
AgentCollaborator & WithCollaborationInstruction(CollaborationInstructionT &&value)
AgentCollaborator & WithAgentVersion(AgentVersionT &&value)
AgentCollaborator & WithCollaboratorId(CollaboratorIdT &&value)
const Aws::String & GetCollaboratorName() const
AgentCollaborator & WithAgentId(AgentIdT &&value)
AgentCollaborator & WithLastUpdatedAt(LastUpdatedAtT &&value)
AgentCollaborator & WithAgentDescriptor(AgentDescriptorT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
AWS_BEDROCKAGENT_API AgentCollaborator()=default
AgentCollaborator & WithClientToken(ClientTokenT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const AgentDescriptor & GetAgentDescriptor() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCollaboratorName(CollaboratorNameT &&value)
void SetAgentDescriptor(AgentDescriptorT &&value)
void SetCollaborationInstruction(CollaborationInstructionT &&value)
AgentCollaborator & WithCollaboratorName(CollaboratorNameT &&value)
const Aws::String & GetCollaborationInstruction() const
AWS_BEDROCKAGENT_API AgentCollaborator(Aws::Utils::Json::JsonView jsonValue)
AgentCollaborator & WithRelayConversationHistory(RelayConversationHistory value)
AgentCollaborator & WithCreatedAt(CreatedAtT &&value)
RelayConversationHistory GetRelayConversationHistory() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCollaboratorId(CollaboratorIdT &&value)
AWS_BEDROCKAGENT_API AgentCollaborator & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue