AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/AgentCollaboration.h>
10#include <aws/bedrock-agent/model/AgentStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/bedrock-agent/model/CustomOrchestration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
15#include <aws/bedrock-agent/model/MemoryConfiguration.h>
16#include <aws/bedrock-agent/model/OrchestrationType.h>
17#include <aws/bedrock-agent/model/PromptOverrideConfiguration.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& GetAgentArn() const { return m_agentArn; }
54 inline bool AgentArnHasBeenSet() const { return m_agentArnHasBeenSet; }
55 template<typename AgentArnT = Aws::String>
56 void SetAgentArn(AgentArnT&& value) { m_agentArnHasBeenSet = true; m_agentArn = std::forward<AgentArnT>(value); }
57 template<typename AgentArnT = Aws::String>
58 Agent& WithAgentArn(AgentArnT&& value) { SetAgentArn(std::forward<AgentArnT>(value)); return *this;}
60
62
65 inline AgentCollaboration GetAgentCollaboration() const { return m_agentCollaboration; }
66 inline bool AgentCollaborationHasBeenSet() const { return m_agentCollaborationHasBeenSet; }
67 inline void SetAgentCollaboration(AgentCollaboration value) { m_agentCollaborationHasBeenSet = true; m_agentCollaboration = value; }
70
72
75 inline const Aws::String& GetAgentId() const { return m_agentId; }
76 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
77 template<typename AgentIdT = Aws::String>
78 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
79 template<typename AgentIdT = Aws::String>
80 Agent& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
82
84
87 inline const Aws::String& GetAgentName() const { return m_agentName; }
88 inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; }
89 template<typename AgentNameT = Aws::String>
90 void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet = true; m_agentName = std::forward<AgentNameT>(value); }
91 template<typename AgentNameT = Aws::String>
92 Agent& WithAgentName(AgentNameT&& value) { SetAgentName(std::forward<AgentNameT>(value)); return *this;}
94
96
100 inline const Aws::String& GetAgentResourceRoleArn() const { return m_agentResourceRoleArn; }
101 inline bool AgentResourceRoleArnHasBeenSet() const { return m_agentResourceRoleArnHasBeenSet; }
102 template<typename AgentResourceRoleArnT = Aws::String>
103 void SetAgentResourceRoleArn(AgentResourceRoleArnT&& value) { m_agentResourceRoleArnHasBeenSet = true; m_agentResourceRoleArn = std::forward<AgentResourceRoleArnT>(value); }
104 template<typename AgentResourceRoleArnT = Aws::String>
105 Agent& WithAgentResourceRoleArn(AgentResourceRoleArnT&& value) { SetAgentResourceRoleArn(std::forward<AgentResourceRoleArnT>(value)); return *this;}
107
109
119 inline AgentStatus GetAgentStatus() const { return m_agentStatus; }
120 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
121 inline void SetAgentStatus(AgentStatus value) { m_agentStatusHasBeenSet = true; m_agentStatus = value; }
122 inline Agent& WithAgentStatus(AgentStatus value) { SetAgentStatus(value); return *this;}
124
126
129 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
130 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
131 template<typename AgentVersionT = Aws::String>
132 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
133 template<typename AgentVersionT = Aws::String>
134 Agent& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
136
138
145 inline const Aws::String& GetClientToken() const { return m_clientToken; }
146 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
147 template<typename ClientTokenT = Aws::String>
148 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
149 template<typename ClientTokenT = Aws::String>
150 Agent& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
158 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
159 template<typename CreatedAtT = Aws::Utils::DateTime>
160 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
161 template<typename CreatedAtT = Aws::Utils::DateTime>
162 Agent& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
164
166
169 inline const CustomOrchestration& GetCustomOrchestration() const { return m_customOrchestration; }
170 inline bool CustomOrchestrationHasBeenSet() const { return m_customOrchestrationHasBeenSet; }
171 template<typename CustomOrchestrationT = CustomOrchestration>
172 void SetCustomOrchestration(CustomOrchestrationT&& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = std::forward<CustomOrchestrationT>(value); }
173 template<typename CustomOrchestrationT = CustomOrchestration>
174 Agent& WithCustomOrchestration(CustomOrchestrationT&& value) { SetCustomOrchestration(std::forward<CustomOrchestrationT>(value)); return *this;}
176
178
181 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
182 inline bool CustomerEncryptionKeyArnHasBeenSet() const { return m_customerEncryptionKeyArnHasBeenSet; }
183 template<typename CustomerEncryptionKeyArnT = Aws::String>
184 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
185 template<typename CustomerEncryptionKeyArnT = Aws::String>
186 Agent& WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value)); return *this;}
188
190
193 inline const Aws::String& GetDescription() const { return m_description; }
194 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
195 template<typename DescriptionT = Aws::String>
196 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
197 template<typename DescriptionT = Aws::String>
198 Agent& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
200
202
205 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
206 inline bool FailureReasonsHasBeenSet() const { return m_failureReasonsHasBeenSet; }
207 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
208 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
209 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
210 Agent& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
211 template<typename FailureReasonsT = Aws::String>
212 Agent& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
214
216
219 inline const Aws::String& GetFoundationModel() const { return m_foundationModel; }
220 inline bool FoundationModelHasBeenSet() const { return m_foundationModelHasBeenSet; }
221 template<typename FoundationModelT = Aws::String>
222 void SetFoundationModel(FoundationModelT&& value) { m_foundationModelHasBeenSet = true; m_foundationModel = std::forward<FoundationModelT>(value); }
223 template<typename FoundationModelT = Aws::String>
224 Agent& WithFoundationModel(FoundationModelT&& value) { SetFoundationModel(std::forward<FoundationModelT>(value)); return *this;}
226
228
231 inline const GuardrailConfiguration& GetGuardrailConfiguration() const { return m_guardrailConfiguration; }
232 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
233 template<typename GuardrailConfigurationT = GuardrailConfiguration>
234 void SetGuardrailConfiguration(GuardrailConfigurationT&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::forward<GuardrailConfigurationT>(value); }
235 template<typename GuardrailConfigurationT = GuardrailConfiguration>
236 Agent& WithGuardrailConfiguration(GuardrailConfigurationT&& value) { SetGuardrailConfiguration(std::forward<GuardrailConfigurationT>(value)); return *this;}
238
240
247 inline int GetIdleSessionTTLInSeconds() const { return m_idleSessionTTLInSeconds; }
248 inline bool IdleSessionTTLInSecondsHasBeenSet() const { return m_idleSessionTTLInSecondsHasBeenSet; }
249 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSecondsHasBeenSet = true; m_idleSessionTTLInSeconds = value; }
250 inline Agent& WithIdleSessionTTLInSeconds(int value) { SetIdleSessionTTLInSeconds(value); return *this;}
252
254
258 inline const Aws::String& GetInstruction() const { return m_instruction; }
259 inline bool InstructionHasBeenSet() const { return m_instructionHasBeenSet; }
260 template<typename InstructionT = Aws::String>
261 void SetInstruction(InstructionT&& value) { m_instructionHasBeenSet = true; m_instruction = std::forward<InstructionT>(value); }
262 template<typename InstructionT = Aws::String>
263 Agent& WithInstruction(InstructionT&& value) { SetInstruction(std::forward<InstructionT>(value)); return *this;}
265
267
270 inline const MemoryConfiguration& GetMemoryConfiguration() const { return m_memoryConfiguration; }
271 inline bool MemoryConfigurationHasBeenSet() const { return m_memoryConfigurationHasBeenSet; }
272 template<typename MemoryConfigurationT = MemoryConfiguration>
273 void SetMemoryConfiguration(MemoryConfigurationT&& value) { m_memoryConfigurationHasBeenSet = true; m_memoryConfiguration = std::forward<MemoryConfigurationT>(value); }
274 template<typename MemoryConfigurationT = MemoryConfiguration>
275 Agent& WithMemoryConfiguration(MemoryConfigurationT&& value) { SetMemoryConfiguration(std::forward<MemoryConfigurationT>(value)); return *this;}
277
279
282 inline OrchestrationType GetOrchestrationType() const { return m_orchestrationType; }
283 inline bool OrchestrationTypeHasBeenSet() const { return m_orchestrationTypeHasBeenSet; }
284 inline void SetOrchestrationType(OrchestrationType value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = value; }
287
289
292 inline const Aws::Utils::DateTime& GetPreparedAt() const { return m_preparedAt; }
293 inline bool PreparedAtHasBeenSet() const { return m_preparedAtHasBeenSet; }
294 template<typename PreparedAtT = Aws::Utils::DateTime>
295 void SetPreparedAt(PreparedAtT&& value) { m_preparedAtHasBeenSet = true; m_preparedAt = std::forward<PreparedAtT>(value); }
296 template<typename PreparedAtT = Aws::Utils::DateTime>
297 Agent& WithPreparedAt(PreparedAtT&& value) { SetPreparedAt(std::forward<PreparedAtT>(value)); return *this;}
299
301
307 inline const PromptOverrideConfiguration& GetPromptOverrideConfiguration() const { return m_promptOverrideConfiguration; }
308 inline bool PromptOverrideConfigurationHasBeenSet() const { return m_promptOverrideConfigurationHasBeenSet; }
309 template<typename PromptOverrideConfigurationT = PromptOverrideConfiguration>
310 void SetPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { m_promptOverrideConfigurationHasBeenSet = true; m_promptOverrideConfiguration = std::forward<PromptOverrideConfigurationT>(value); }
311 template<typename PromptOverrideConfigurationT = PromptOverrideConfiguration>
312 Agent& WithPromptOverrideConfiguration(PromptOverrideConfigurationT&& value) { SetPromptOverrideConfiguration(std::forward<PromptOverrideConfigurationT>(value)); return *this;}
314
316
320 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
321 inline bool RecommendedActionsHasBeenSet() const { return m_recommendedActionsHasBeenSet; }
322 template<typename RecommendedActionsT = Aws::Vector<Aws::String>>
323 void SetRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions = std::forward<RecommendedActionsT>(value); }
324 template<typename RecommendedActionsT = Aws::Vector<Aws::String>>
325 Agent& WithRecommendedActions(RecommendedActionsT&& value) { SetRecommendedActions(std::forward<RecommendedActionsT>(value)); return *this;}
326 template<typename RecommendedActionsT = Aws::String>
327 Agent& AddRecommendedActions(RecommendedActionsT&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value)); return *this; }
329
331
334 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
335 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
336 template<typename UpdatedAtT = Aws::Utils::DateTime>
337 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
338 template<typename UpdatedAtT = Aws::Utils::DateTime>
339 Agent& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
341 private:
342
343 Aws::String m_agentArn;
344 bool m_agentArnHasBeenSet = false;
345
347 bool m_agentCollaborationHasBeenSet = false;
348
349 Aws::String m_agentId;
350 bool m_agentIdHasBeenSet = false;
351
352 Aws::String m_agentName;
353 bool m_agentNameHasBeenSet = false;
354
355 Aws::String m_agentResourceRoleArn;
356 bool m_agentResourceRoleArnHasBeenSet = false;
357
358 AgentStatus m_agentStatus{AgentStatus::NOT_SET};
359 bool m_agentStatusHasBeenSet = false;
360
361 Aws::String m_agentVersion;
362 bool m_agentVersionHasBeenSet = false;
363
364 Aws::String m_clientToken;
365 bool m_clientTokenHasBeenSet = false;
366
367 Aws::Utils::DateTime m_createdAt{};
368 bool m_createdAtHasBeenSet = false;
369
370 CustomOrchestration m_customOrchestration;
371 bool m_customOrchestrationHasBeenSet = false;
372
373 Aws::String m_customerEncryptionKeyArn;
374 bool m_customerEncryptionKeyArnHasBeenSet = false;
375
376 Aws::String m_description;
377 bool m_descriptionHasBeenSet = false;
378
379 Aws::Vector<Aws::String> m_failureReasons;
380 bool m_failureReasonsHasBeenSet = false;
381
382 Aws::String m_foundationModel;
383 bool m_foundationModelHasBeenSet = false;
384
385 GuardrailConfiguration m_guardrailConfiguration;
386 bool m_guardrailConfigurationHasBeenSet = false;
387
388 int m_idleSessionTTLInSeconds{0};
389 bool m_idleSessionTTLInSecondsHasBeenSet = false;
390
391 Aws::String m_instruction;
392 bool m_instructionHasBeenSet = false;
393
394 MemoryConfiguration m_memoryConfiguration;
395 bool m_memoryConfigurationHasBeenSet = false;
396
398 bool m_orchestrationTypeHasBeenSet = false;
399
400 Aws::Utils::DateTime m_preparedAt{};
401 bool m_preparedAtHasBeenSet = false;
402
403 PromptOverrideConfiguration m_promptOverrideConfiguration;
404 bool m_promptOverrideConfigurationHasBeenSet = false;
405
406 Aws::Vector<Aws::String> m_recommendedActions;
407 bool m_recommendedActionsHasBeenSet = false;
408
409 Aws::Utils::DateTime m_updatedAt{};
410 bool m_updatedAtHasBeenSet = false;
411 };
412
413} // namespace Model
414} // namespace BedrockAgent
415} // namespace Aws
bool CustomerEncryptionKeyArnHasBeenSet() const
Definition Agent.h:182
const GuardrailConfiguration & GetGuardrailConfiguration() const
Definition Agent.h:231
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
Definition Agent.h:307
void SetIdleSessionTTLInSeconds(int value)
Definition Agent.h:249
bool FoundationModelHasBeenSet() const
Definition Agent.h:220
bool AgentIdHasBeenSet() const
Definition Agent.h:76
bool OrchestrationTypeHasBeenSet() const
Definition Agent.h:283
Agent & WithInstruction(InstructionT &&value)
Definition Agent.h:263
Agent & AddFailureReasons(FailureReasonsT &&value)
Definition Agent.h:212
Agent & WithAgentArn(AgentArnT &&value)
Definition Agent.h:58
Agent & WithFoundationModel(FoundationModelT &&value)
Definition Agent.h:224
const Aws::Utils::DateTime & GetPreparedAt() const
Definition Agent.h:292
Agent & WithAgentCollaboration(AgentCollaboration value)
Definition Agent.h:68
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API Agent()=default
OrchestrationType GetOrchestrationType() const
Definition Agent.h:282
void SetMemoryConfiguration(MemoryConfigurationT &&value)
Definition Agent.h:273
Agent & WithCreatedAt(CreatedAtT &&value)
Definition Agent.h:162
bool FailureReasonsHasBeenSet() const
Definition Agent.h:206
void SetAgentVersion(AgentVersionT &&value)
Definition Agent.h:132
Agent & WithIdleSessionTTLInSeconds(int value)
Definition Agent.h:250
bool DescriptionHasBeenSet() const
Definition Agent.h:194
bool AgentCollaborationHasBeenSet() const
Definition Agent.h:66
int GetIdleSessionTTLInSeconds() const
Definition Agent.h:247
bool AgentStatusHasBeenSet() const
Definition Agent.h:120
void SetRecommendedActions(RecommendedActionsT &&value)
Definition Agent.h:323
bool AgentNameHasBeenSet() const
Definition Agent.h:88
Agent & WithRecommendedActions(RecommendedActionsT &&value)
Definition Agent.h:325
const MemoryConfiguration & GetMemoryConfiguration() const
Definition Agent.h:270
Agent & WithAgentStatus(AgentStatus value)
Definition Agent.h:122
Agent & WithClientToken(ClientTokenT &&value)
Definition Agent.h:150
bool AgentResourceRoleArnHasBeenSet() const
Definition Agent.h:101
void SetFailureReasons(FailureReasonsT &&value)
Definition Agent.h:208
const Aws::String & GetClientToken() const
Definition Agent.h:145
Agent & WithDescription(DescriptionT &&value)
Definition Agent.h:198
Agent & WithOrchestrationType(OrchestrationType value)
Definition Agent.h:285
const Aws::String & GetAgentArn() const
Definition Agent.h:53
void SetCustomOrchestration(CustomOrchestrationT &&value)
Definition Agent.h:172
void SetDescription(DescriptionT &&value)
Definition Agent.h:196
bool PreparedAtHasBeenSet() const
Definition Agent.h:293
void SetUpdatedAt(UpdatedAtT &&value)
Definition Agent.h:337
const Aws::String & GetInstruction() const
Definition Agent.h:258
bool PromptOverrideConfigurationHasBeenSet() const
Definition Agent.h:308
const Aws::String & GetAgentName() const
Definition Agent.h:87
Agent & WithAgentName(AgentNameT &&value)
Definition Agent.h:92
AWS_BEDROCKAGENT_API Agent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentName(AgentNameT &&value)
Definition Agent.h:90
Agent & WithAgentVersion(AgentVersionT &&value)
Definition Agent.h:134
bool RecommendedActionsHasBeenSet() const
Definition Agent.h:321
bool ClientTokenHasBeenSet() const
Definition Agent.h:146
void SetGuardrailConfiguration(GuardrailConfigurationT &&value)
Definition Agent.h:234
bool UpdatedAtHasBeenSet() const
Definition Agent.h:335
void SetAgentArn(AgentArnT &&value)
Definition Agent.h:56
Agent & WithAgentId(AgentIdT &&value)
Definition Agent.h:80
Agent & WithMemoryConfiguration(MemoryConfigurationT &&value)
Definition Agent.h:275
void SetOrchestrationType(OrchestrationType value)
Definition Agent.h:284
void SetCreatedAt(CreatedAtT &&value)
Definition Agent.h:160
Agent & WithPreparedAt(PreparedAtT &&value)
Definition Agent.h:297
const Aws::String & GetDescription() const
Definition Agent.h:193
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
Definition Agent.h:184
Agent & WithGuardrailConfiguration(GuardrailConfigurationT &&value)
Definition Agent.h:236
void SetPreparedAt(PreparedAtT &&value)
Definition Agent.h:295
Agent & WithCustomOrchestration(CustomOrchestrationT &&value)
Definition Agent.h:174
bool GuardrailConfigurationHasBeenSet() const
Definition Agent.h:232
AgentCollaboration GetAgentCollaboration() const
Definition Agent.h:65
Agent & WithAgentResourceRoleArn(AgentResourceRoleArnT &&value)
Definition Agent.h:105
void SetAgentCollaboration(AgentCollaboration value)
Definition Agent.h:67
const CustomOrchestration & GetCustomOrchestration() const
Definition Agent.h:169
void SetClientToken(ClientTokenT &&value)
Definition Agent.h:148
bool MemoryConfigurationHasBeenSet() const
Definition Agent.h:271
void SetAgentStatus(AgentStatus value)
Definition Agent.h:121
AgentStatus GetAgentStatus() const
Definition Agent.h:119
const Aws::String & GetAgentVersion() const
Definition Agent.h:129
AWS_BEDROCKAGENT_API Agent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAgentResourceRoleArn() const
Definition Agent.h:100
Agent & WithUpdatedAt(UpdatedAtT &&value)
Definition Agent.h:339
bool CreatedAtHasBeenSet() const
Definition Agent.h:158
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Agent.h:334
bool AgentVersionHasBeenSet() const
Definition Agent.h:130
bool AgentArnHasBeenSet() const
Definition Agent.h:54
Agent & WithFailureReasons(FailureReasonsT &&value)
Definition Agent.h:210
const Aws::Vector< Aws::String > & GetFailureReasons() const
Definition Agent.h:205
const Aws::String & GetFoundationModel() const
Definition Agent.h:219
const Aws::Vector< Aws::String > & GetRecommendedActions() const
Definition Agent.h:320
void SetFoundationModel(FoundationModelT &&value)
Definition Agent.h:222
Agent & AddRecommendedActions(RecommendedActionsT &&value)
Definition Agent.h:327
bool InstructionHasBeenSet() const
Definition Agent.h:259
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Agent.h:157
Agent & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
Definition Agent.h:186
Agent & WithPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
Definition Agent.h:312
void SetPromptOverrideConfiguration(PromptOverrideConfigurationT &&value)
Definition Agent.h:310
void SetInstruction(InstructionT &&value)
Definition Agent.h:261
void SetAgentResourceRoleArn(AgentResourceRoleArnT &&value)
Definition Agent.h:103
void SetAgentId(AgentIdT &&value)
Definition Agent.h:78
const Aws::String & GetCustomerEncryptionKeyArn() const
Definition Agent.h:181
bool CustomOrchestrationHasBeenSet() const
Definition Agent.h:170
bool IdleSessionTTLInSecondsHasBeenSet() const
Definition Agent.h:248
const Aws::String & GetAgentId() const
Definition Agent.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue