AWS SDK for C++

AWS SDK for C++ Version 1.11.686

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/bedrock-agent/model/RelayConversationHistory.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
24
31 public:
32 AWS_BEDROCKAGENT_API AgentCollaborator() = default;
33 AWS_BEDROCKAGENT_API AgentCollaborator(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENT_API AgentCollaborator& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAgentId() const { return m_agentId; }
42 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
43 template <typename AgentIdT = Aws::String>
44 void SetAgentId(AgentIdT&& value) {
45 m_agentIdHasBeenSet = true;
46 m_agentId = std::forward<AgentIdT>(value);
47 }
48 template <typename AgentIdT = Aws::String>
49 AgentCollaborator& WithAgentId(AgentIdT&& value) {
50 SetAgentId(std::forward<AgentIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
60 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
61 template <typename AgentVersionT = Aws::String>
62 void SetAgentVersion(AgentVersionT&& value) {
63 m_agentVersionHasBeenSet = true;
64 m_agentVersion = std::forward<AgentVersionT>(value);
65 }
66 template <typename AgentVersionT = Aws::String>
67 AgentCollaborator& WithAgentVersion(AgentVersionT&& value) {
68 SetAgentVersion(std::forward<AgentVersionT>(value));
69 return *this;
70 }
72
74
77 inline const AgentDescriptor& GetAgentDescriptor() const { return m_agentDescriptor; }
78 inline bool AgentDescriptorHasBeenSet() const { return m_agentDescriptorHasBeenSet; }
79 template <typename AgentDescriptorT = AgentDescriptor>
80 void SetAgentDescriptor(AgentDescriptorT&& value) {
81 m_agentDescriptorHasBeenSet = true;
82 m_agentDescriptor = std::forward<AgentDescriptorT>(value);
83 }
84 template <typename AgentDescriptorT = AgentDescriptor>
85 AgentCollaborator& WithAgentDescriptor(AgentDescriptorT&& value) {
86 SetAgentDescriptor(std::forward<AgentDescriptorT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetCollaboratorId() const { return m_collaboratorId; }
96 inline bool CollaboratorIdHasBeenSet() const { return m_collaboratorIdHasBeenSet; }
97 template <typename CollaboratorIdT = Aws::String>
98 void SetCollaboratorId(CollaboratorIdT&& value) {
99 m_collaboratorIdHasBeenSet = true;
100 m_collaboratorId = std::forward<CollaboratorIdT>(value);
101 }
102 template <typename CollaboratorIdT = Aws::String>
103 AgentCollaborator& WithCollaboratorId(CollaboratorIdT&& value) {
104 SetCollaboratorId(std::forward<CollaboratorIdT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetCollaborationInstruction() const { return m_collaborationInstruction; }
114 inline bool CollaborationInstructionHasBeenSet() const { return m_collaborationInstructionHasBeenSet; }
115 template <typename CollaborationInstructionT = Aws::String>
116 void SetCollaborationInstruction(CollaborationInstructionT&& value) {
117 m_collaborationInstructionHasBeenSet = true;
118 m_collaborationInstruction = std::forward<CollaborationInstructionT>(value);
119 }
120 template <typename CollaborationInstructionT = Aws::String>
121 AgentCollaborator& WithCollaborationInstruction(CollaborationInstructionT&& value) {
122 SetCollaborationInstruction(std::forward<CollaborationInstructionT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetCollaboratorName() const { return m_collaboratorName; }
132 inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; }
133 template <typename CollaboratorNameT = Aws::String>
134 void SetCollaboratorName(CollaboratorNameT&& value) {
135 m_collaboratorNameHasBeenSet = true;
136 m_collaboratorName = std::forward<CollaboratorNameT>(value);
137 }
138 template <typename CollaboratorNameT = Aws::String>
139 AgentCollaborator& WithCollaboratorName(CollaboratorNameT&& value) {
140 SetCollaboratorName(std::forward<CollaboratorNameT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
150 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
151 template <typename CreatedAtT = Aws::Utils::DateTime>
152 void SetCreatedAt(CreatedAtT&& value) {
153 m_createdAtHasBeenSet = true;
154 m_createdAt = std::forward<CreatedAtT>(value);
155 }
156 template <typename CreatedAtT = Aws::Utils::DateTime>
157 AgentCollaborator& WithCreatedAt(CreatedAtT&& value) {
158 SetCreatedAt(std::forward<CreatedAtT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
168 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
169 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
170 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
171 m_lastUpdatedAtHasBeenSet = true;
172 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
173 }
174 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
175 AgentCollaborator& WithLastUpdatedAt(LastUpdatedAtT&& value) {
176 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
177 return *this;
178 }
180
182
185 inline RelayConversationHistory GetRelayConversationHistory() const { return m_relayConversationHistory; }
186 inline bool RelayConversationHistoryHasBeenSet() const { return m_relayConversationHistoryHasBeenSet; }
188 m_relayConversationHistoryHasBeenSet = true;
189 m_relayConversationHistory = value;
190 }
193 return *this;
194 }
196
198
201 inline const Aws::String& GetClientToken() const { return m_clientToken; }
202 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
203 template <typename ClientTokenT = Aws::String>
204 void SetClientToken(ClientTokenT&& value) {
205 m_clientTokenHasBeenSet = true;
206 m_clientToken = std::forward<ClientTokenT>(value);
207 }
208 template <typename ClientTokenT = Aws::String>
209 AgentCollaborator& WithClientToken(ClientTokenT&& value) {
210 SetClientToken(std::forward<ClientTokenT>(value));
211 return *this;
212 }
214 private:
215 Aws::String m_agentId;
216 bool m_agentIdHasBeenSet = false;
217
218 Aws::String m_agentVersion;
219 bool m_agentVersionHasBeenSet = false;
220
221 AgentDescriptor m_agentDescriptor;
222 bool m_agentDescriptorHasBeenSet = false;
223
224 Aws::String m_collaboratorId;
225 bool m_collaboratorIdHasBeenSet = false;
226
227 Aws::String m_collaborationInstruction;
228 bool m_collaborationInstructionHasBeenSet = false;
229
230 Aws::String m_collaboratorName;
231 bool m_collaboratorNameHasBeenSet = false;
232
233 Aws::Utils::DateTime m_createdAt{};
234 bool m_createdAtHasBeenSet = false;
235
236 Aws::Utils::DateTime m_lastUpdatedAt{};
237 bool m_lastUpdatedAtHasBeenSet = false;
238
240 bool m_relayConversationHistoryHasBeenSet = false;
241
242 Aws::String m_clientToken;
243 bool m_clientTokenHasBeenSet = false;
244};
245
246} // namespace Model
247} // namespace BedrockAgent
248} // 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
const Aws::String & GetCollaboratorId() 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