AWS SDK for C++

AWS SDK for C++ Version 1.11.633

Loading...
Searching...
No Matches
Agent.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/AgentStatus.h>
10#include <aws/bedrock-agent/model/OrchestrationType.h>
11#include <aws/bedrock-agent/model/CustomOrchestration.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
15#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
16#include <aws/bedrock-agent/model/MemoryConfiguration.h>
17#include <aws/bedrock-agent/model/AgentCollaboration.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace BedrockAgent
31{
32namespace Model
33{
34
40 class Agent
41 {
42 public:
43 AWS_BEDROCKAGENT_API Agent() = default;
44 AWS_BEDROCKAGENT_API Agent(Aws::Utils::Json::JsonView jsonValue);
45 AWS_BEDROCKAGENT_API Agent& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetAgentId() const { return m_agentId; }
54 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
55 template<typename AgentIdT = Aws::String>
56 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
57 template<typename AgentIdT = Aws::String>
58 Agent& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetAgentName() const { return m_agentName; }
66 inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; }
67 template<typename AgentNameT = Aws::String>
68 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet = true; m_agentName = std::forward<AgentNameT>(value); }
69 template<typename AgentNameT = Aws::String>
70 Agent& WithAgentName(AgentNameT&& value) { SetAgentName(std::forward<AgentNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetAgentArn() const { return m_agentArn; }
78 inline bool AgentArnHasBeenSet() const { return m_agentArnHasBeenSet; }
79 template<typename AgentArnT = Aws::String>
80 void SetAgentArn(AgentArnT&& value) { m_agentArnHasBeenSet = true; m_agentArn = std::forward<AgentArnT>(value); }
81 template<typename AgentArnT = Aws::String>
82 Agent& WithAgentArn(AgentArnT&& value) { SetAgentArn(std::forward<AgentArnT>(value)); return *this;}
84
86
89 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
90 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
91 template<typename AgentVersionT = Aws::String>
92 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
93 template<typename AgentVersionT = Aws::String>
94 Agent& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
96
98
105 inline const Aws::String& GetClientToken() const { return m_clientToken; }
106 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
107 template<typename ClientTokenT = Aws::String>
108 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
109 template<typename ClientTokenT = Aws::String>
110 Agent& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
112
114
118 inline const Aws::String& GetInstruction() const { return m_instruction; }
119 inline bool InstructionHasBeenSet() const { return m_instructionHasBeenSet; }
120 template<typename InstructionT = Aws::String>
121 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet = true; m_instruction = std::forward<InstructionT>(value); }
122 template<typename InstructionT = Aws::String>
123 Agent& WithInstruction(InstructionT&& value) { SetInstruction(std::forward<InstructionT>(value)); return *this;}
125
127
137 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
138 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
139 inline void SetAgentStatus(AgentStatus value) { m_agentStatusHasBeenSet = true; m_agentStatus = value; }
140 inline Agent& WithAgentStatus(AgentStatus value) { SetAgentStatus(value); return *this;}
142
144
147 inline const Aws::String& GetFoundationModel() const { return m_foundationModel; }
148 inline bool FoundationModelHasBeenSet() const { return m_foundationModelHasBeenSet; }
149 template<typename FoundationModelT = Aws::String>
150 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet = true; m_foundationModel = std::forward<FoundationModelT>(value); }
151 template<typename FoundationModelT = Aws::String>
152 Agent& WithFoundationModel(FoundationModelT&& value) { SetFoundationModel(std::forward<FoundationModelT>(value)); return *this;}
154
156
159 inline const Aws::String& GetDescription() const { return m_description; }
160 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
161 template<typename DescriptionT = Aws::String>
162 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
163 template<typename DescriptionT = Aws::String>
164 Agent& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
166
168
171 inline OrchestrationType GetOrchestrationType() const { return m_orchestrationType; }
172 inline bool OrchestrationTypeHasBeenSet() const { return m_orchestrationTypeHasBeenSet; }
173 inline void SetOrchestrationType(OrchestrationType value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = value; }
176
178
181 inline const CustomOrchestration& GetCustomOrchestration() const { return m_customOrchestration; }
182 inline bool CustomOrchestrationHasBeenSet() const { return m_customOrchestrationHasBeenSet; }
183 template<typename CustomOrchestrationT = CustomOrchestration>
184 void SetCustomOrchestration(CustomOrchestrationT&& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = std::forward<CustomOrchestrationT>(value); }
185 template<typename CustomOrchestrationT = CustomOrchestration>
186 Agent& WithCustomOrchestration(CustomOrchestrationT&& value) { SetCustomOrchestration(std::forward<CustomOrchestrationT>(value)); return *this;}
188
190
197 inline int GetIdleSessionTTLInSeconds() const { return m_idleSessionTTLInSeconds; }
198 inline bool IdleSessionTTLInSecondsHasBeenSet() const { return m_idleSessionTTLInSecondsHasBeenSet; }
199 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSecondsHasBeenSet = true; m_idleSessionTTLInSeconds = value; }
200 inline Agent& WithIdleSessionTTLInSeconds(int value) { SetIdleSessionTTLInSeconds(value); return *this;}
202
204
208 inline const Aws::String& GetAgentResourceRoleArn() const { return m_agentResourceRoleArn; }
209 inline bool AgentResourceRoleArnHasBeenSet() const { return m_agentResourceRoleArnHasBeenSet; }
210 template<typename AgentResourceRoleArnT = Aws::String>
211 void SetAgentResourceRoleArn(AgentResourceRoleArnT&& value) { m_agentResourceRoleArnHasBeenSet = true; m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value); }
212 template<typename AgentResourceRoleArnT = Aws::String>
213 Agent& WithAgentResourceRoleArn(AgentResourceRoleArnT&& value) { SetAgentResourceRoleArn(std::forward<AgentResourceRoleArnT>(value)); return *this;}
215
217
220 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
221 inline bool CustomerEncryptionKeyArnHasBeenSet() const { return m_customerEncryptionKeyArnHasBeenSet; }
222 template<typename CustomerEncryptionKeyArnT = Aws::String>
223 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
224 template<typename CustomerEncryptionKeyArnT = Aws::String>
225 Agent& WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value)); return *this;}
227
229
232 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
233 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
234 template<typename CreatedAtT = Aws::Utils::DateTime>
235 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
236 template<typename CreatedAtT = Aws::Utils::DateTime>
237 Agent& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
239
241
244 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
245 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
246 template<typename UpdatedAtT = Aws::Utils::DateTime>
247 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
248 template<typename UpdatedAtT = Aws::Utils::DateTime>
249 Agent& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
251
253
256 inline const Aws::Utils::DateTime& GetPreparedAt() const { return m_preparedAt; }
257 inline bool PreparedAtHasBeenSet() const { return m_preparedAtHasBeenSet; }
258 template<typename PreparedAtT = Aws::Utils::DateTime>
259 void SetPreparedAt(PreparedAtT&& value) { m_preparedAtHasBeenSet = true; m_preparedAt = std::forward<PreparedAtT>(value); }
260 template<typename PreparedAtT = Aws::Utils::DateTime>
261 Agent& WithPreparedAt(PreparedAtT&& value) { SetPreparedAt(std::forward<PreparedAtT>(value)); return *this;}
263
265
268 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
269 inline bool FailureReasonsHasBeenSet() const { return m_failureReasonsHasBeenSet; }
270 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
271 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
272 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
273 Agent& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
274 template<typename FailureReasonsT = Aws::String>
275 Agent& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
277
279
283 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
284 inline bool RecommendedActionsHasBeenSet() const { return m_recommendedActionsHasBeenSet; }
285 template<typename RecommendedActionsT = Aws::Vector<Aws::String>>
286 void SetRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions = std::forward<RecommendedActionsT>(value); }
287 template<typename RecommendedActionsT = Aws::Vector<Aws::String>>
288 Agent& WithRecommendedActions(RecommendedActionsT&& value) { SetRecommendedActions(std::forward<RecommendedActionsT>(value)); return *this;}
289 template<typename RecommendedActionsT = Aws::String>
290 Agent& AddRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value)); return *this; }
292
294
300 inline const PromptOverrideConfiguration& GetPromptOverrideConfiguration() const { return m_promptOverrideConfiguration; }
301 inline bool PromptOverrideConfigurationHasBeenSet() const { return m_promptOverrideConfigurationHasBeenSet; }
302 template<typename PromptOverrideConfigurationT = PromptOverrideConfiguration>
303 void SetPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { m_promptOverrideConfigurationHasBeenSet = true; m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value); }
304 template<typename PromptOverrideConfigurationT = PromptOverrideConfiguration>
305 Agent& WithPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { SetPromptOverrideConfiguration(std::forward<PromptOverrideConfigurationT>(value)); return *this;}
307
309
312 inline const GuardrailConfiguration& GetGuardrailConfiguration() const { return m_guardrailConfiguration; }
313 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
314 template<typename GuardrailConfigurationT = GuardrailConfiguration>
315 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
316 template<typename GuardrailConfigurationT = GuardrailConfiguration>
317 Agent& WithGuardrailConfiguration(GuardrailConfigurationT&& value) { SetGuardrailConfiguration(std::forward<GuardrailConfigurationT>(value)); return *this;}
319
321
324 inline const MemoryConfiguration& GetMemoryConfiguration() const { return m_memoryConfiguration; }
325 inline bool MemoryConfigurationHasBeenSet() const { return m_memoryConfigurationHasBeenSet; }
326 template<typename MemoryConfigurationT = MemoryConfiguration>
327 void SetMemoryConfiguration(MemoryConfigurationT&& value) { m_memoryConfigurationHasBeenSet = true; m_memoryConfiguration = std::forward<MemoryConfigurationT>(value); }
328 template<typename MemoryConfigurationT = MemoryConfiguration>
329 Agent& WithMemoryConfiguration(MemoryConfigurationT&& value) { SetMemoryConfiguration(std::forward<MemoryConfigurationT>(value)); return *this;}
331
333
336 inline AgentCollaboration GetAgentCollaboration() const { return m_agentCollaboration; }
337 inline bool AgentCollaborationHasBeenSet() const { return m_agentCollaborationHasBeenSet; }
338 inline void SetAgentCollaboration(AgentCollaboration value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = value; }
341 private:
342
343 Aws::String m_agentId;
344 bool m_agentIdHasBeenSet = false;
345
346 Aws::String m_agentName;
347 bool m_agentNameHasBeenSet = false;
348
349 Aws::String m_agentArn;
350 bool m_agentArnHasBeenSet = false;
351
352 Aws::String m_agentVersion;
353 bool m_agentVersionHasBeenSet = false;
354
355 Aws::String m_clientToken;
356 bool m_clientTokenHasBeenSet = false;
357
358 Aws::String m_instruction;
359 bool m_instructionHasBeenSet = false;
360
361 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
362 bool m_agentStatusHasBeenSet = false;
363
364 Aws::String m_foundationModel;
365 bool m_foundationModelHasBeenSet = false;
366
367 Aws::String m_description;
368 bool m_descriptionHasBeenSet = false;
369
371 bool m_orchestrationTypeHasBeenSet = false;
372
373 CustomOrchestration m_customOrchestration;
374 bool m_customOrchestrationHasBeenSet = false;
375
376 int m_idleSessionTTLInSeconds{0};
377 bool m_idleSessionTTLInSecondsHasBeenSet = false;
378
379 Aws::String m_agentResourceRoleArn;
380 bool m_agentResourceRoleArnHasBeenSet = false;
381
382 Aws::String m_customerEncryptionKeyArn;
383 bool m_customerEncryptionKeyArnHasBeenSet = false;
384
385 Aws::Utils::DateTime m_createdAt{};
386 bool m_createdAtHasBeenSet = false;
387
388 Aws::Utils::DateTime m_updatedAt{};
389 bool m_updatedAtHasBeenSet = false;
390
391 Aws::Utils::DateTime m_preparedAt{};
392 bool m_preparedAtHasBeenSet = false;
393
394 Aws::Vector<Aws::String> m_failureReasons;
395 bool m_failureReasonsHasBeenSet = false;
396
397 Aws::Vector<Aws::String> m_recommendedActions;
398 bool m_recommendedActionsHasBeenSet = false;
399
400 PromptOverrideConfiguration m_promptOverrideConfiguration;
401 bool m_promptOverrideConfigurationHasBeenSet = false;
402
403 GuardrailConfiguration m_guardrailConfiguration;
404 bool m_guardrailConfigurationHasBeenSet = false;
405
406 MemoryConfiguration m_memoryConfiguration;
407 bool m_memoryConfigurationHasBeenSet = false;
408
410 bool m_agentCollaborationHasBeenSet = false;
411 };
412
413} // namespace Model
414} // namespace BedrockAgent
415} // namespace Aws
bool CustomerEncryptionKeyArnHasBeenSet() const
Definition Agent.h:221
const GuardrailConfiguration & GetGuardrailConfiguration() const
Definition Agent.h:312
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
Definition Agent.h:300
void SetIdleSessionTTLInSeconds(int value)
Definition Agent.h:199
bool FoundationModelHasBeenSet() const
Definition Agent.h:148
bool AgentIdHasBeenSet() const
Definition Agent.h:54
bool OrchestrationTypeHasBeenSet() const
Definition Agent.h:172
Agent & WithInstruction(InstructionT &&value)
Definition Agent.h:123
Agent & AddFailureReasons(FailureReasonsT &&value)
Definition Agent.h:275
Agent & WithAgentArn(AgentArnT &&value)
Definition Agent.h:82
Agent & WithFoundationModel(FoundationModelT &&value)
Definition Agent.h:152
const Aws::Utils::DateTime & GetPreparedAt() const
Definition Agent.h:256
Agent & WithAgentCollaboration(AgentCollaboration value)
Definition Agent.h:339
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API Agent()=default
OrchestrationType GetOrchestrationType() const
Definition Agent.h:171
void SetMemoryConfiguration(MemoryConfigurationT &&value)
Definition Agent.h:327
Agent & WithCreatedAt(CreatedAtT &&value)
Definition Agent.h:237
bool FailureReasonsHasBeenSet() const
Definition Agent.h:269
void SetAgentVersion(AgentVersionT &&value)
Definition Agent.h:92
Agent & WithIdleSessionTTLInSeconds(int value)
Definition Agent.h:200
bool DescriptionHasBeenSet() const
Definition Agent.h:160
bool AgentCollaborationHasBeenSet() const
Definition Agent.h:337
int GetIdleSessionTTLInSeconds() const
Definition Agent.h:197
bool AgentStatusHasBeenSet() const
Definition Agent.h:138
void SetRecommendedActions(RecommendedActionsT &&value)
Definition Agent.h:286
bool AgentNameHasBeenSet() const
Definition Agent.h:66
Agent & WithRecommendedActions(RecommendedActionsT &&value)
Definition Agent.h:288
const MemoryConfiguration & GetMemoryConfiguration() const
Definition Agent.h:324
Agent & WithAgentStatus(AgentStatus value)
Definition Agent.h:140
Agent & WithClientToken(ClientTokenT &&value)
Definition Agent.h:110
bool AgentResourceRoleArnHasBeenSet() const
Definition Agent.h:209
void SetFailureReasons(FailureReasonsT &&value)
Definition Agent.h:271
const Aws::String & GetClientToken() const
Definition Agent.h:105
Agent & WithDescription(DescriptionT &&value)
Definition Agent.h:164
Agent & WithOrchestrationType(OrchestrationType value)
Definition Agent.h:174
const Aws::String & GetAgentArn() const
Definition Agent.h:77
void SetCustomOrchestration(CustomOrchestrationT &&value)
Definition Agent.h:184
void SetDescription(DescriptionT &&value)
Definition Agent.h:162
bool PreparedAtHasBeenSet() const
Definition Agent.h:257
void SetUpdatedAt(UpdatedAtT &&value)
Definition Agent.h:247
const Aws::String & GetInstruction() const
Definition Agent.h:118
bool PromptOverrideConfigurationHasBeenSet() const
Definition Agent.h:301
const Aws::String & GetAgentName() const
Definition Agent.h:65
Agent & WithAgentName(AgentNameT &&value)
Definition Agent.h:70
AWS_BEDROCKAGENT_API Agent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentName(AgentNameT &&value)
Definition Agent.h:68
Agent & WithAgentVersion(AgentVersionT &&value)
Definition Agent.h:94
bool RecommendedActionsHasBeenSet() const
Definition Agent.h:284
bool ClientTokenHasBeenSet() const
Definition Agent.h:106
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
Definition Agent.h:315
bool UpdatedAtHasBeenSet() const
Definition Agent.h:245
void SetAgentArn(AgentArnT &&value)
Definition Agent.h:80
Agent & WithAgentId(AgentIdT &&value)
Definition Agent.h:58
Agent & WithMemoryConfiguration(MemoryConfigurationT &&value)
Definition Agent.h:329
void SetOrchestrationType(OrchestrationType value)
Definition Agent.h:173
void SetCreatedAt(CreatedAtT &&value)
Definition Agent.h:235
Agent & WithPreparedAt(PreparedAtT &&value)
Definition Agent.h:261
const Aws::String & GetDescription() const
Definition Agent.h:159
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
Definition Agent.h:223
Agent & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
Definition Agent.h:317
void SetPreparedAt(PreparedAtT &&value)
Definition Agent.h:259
Agent & WithCustomOrchestration(CustomOrchestrationT &&value)
Definition Agent.h:186
bool GuardrailConfigurationHasBeenSet() const
Definition Agent.h:313
AgentCollaboration GetAgentCollaboration() const
Definition Agent.h:336
Agent & WithAgentResourceRoleArn(AgentResourceRoleArnT &&value)
Definition Agent.h:213
void SetAgentCollaboration(AgentCollaboration value)
Definition Agent.h:338
const CustomOrchestration & GetCustomOrchestration() const
Definition Agent.h:181
void SetClientToken(ClientTokenT &&value)
Definition Agent.h:108
bool MemoryConfigurationHasBeenSet() const
Definition Agent.h:325
void SetAgentStatus(AgentStatus value)
Definition Agent.h:139
AgentStatus GetAgentStatus() const
Definition Agent.h:137
const Aws::String & GetAgentVersion() const
Definition Agent.h:89
AWS_BEDROCKAGENT_API Agent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAgentResourceRoleArn() const
Definition Agent.h:208
Agent & WithUpdatedAt(UpdatedAtT &&value)
Definition Agent.h:249
bool CreatedAtHasBeenSet() const
Definition Agent.h:233
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Agent.h:244
bool AgentVersionHasBeenSet() const
Definition Agent.h:90
bool AgentArnHasBeenSet() const
Definition Agent.h:78
Agent & WithFailureReasons(FailureReasonsT &&value)
Definition Agent.h:273
const Aws::Vector< Aws::String > & GetFailureReasons() const
Definition Agent.h:268
const Aws::String & GetFoundationModel() const
Definition Agent.h:147
const Aws::Vector< Aws::String > & GetRecommendedActions() const
Definition Agent.h:283
void SetFoundationModel(FoundationModelT &&value)
Definition Agent.h:150
Agent & AddRecommendedActions(RecommendedActionsT &&value)
Definition Agent.h:290
bool InstructionHasBeenSet() const
Definition Agent.h:119
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Agent.h:232
Agent & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
Definition Agent.h:225
Agent & WithPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
Definition Agent.h:305
void SetPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
Definition Agent.h:303
void SetInstruction(InstructionT &&value)
Definition Agent.h:121
void SetAgentResourceRoleArn(AgentResourceRoleArnT &&value)
Definition Agent.h:211
void SetAgentId(AgentIdT &&value)
Definition Agent.h:56
const Aws::String & GetCustomerEncryptionKeyArn() const
Definition Agent.h:220
bool CustomOrchestrationHasBeenSet() const
Definition Agent.h:182
bool IdleSessionTTLInSecondsHasBeenSet() const
Definition Agent.h:198
const Aws::String & GetAgentId() const
Definition Agent.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue