AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/bedrock-agent/model/GuardrailConfiguration.h>
13#include <aws/bedrock-agent/model/MemoryConfiguration.h>
14#include <aws/bedrock-agent/model/PromptOverrideConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace BedrockAgent
28{
29namespace Model
30{
31
37 class Agent
38 {
39 public:
40 AWS_BEDROCKAGENT_API Agent();
41 AWS_BEDROCKAGENT_API Agent(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API Agent& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetAgentArn() const{ return m_agentArn; }
51 inline bool AgentArnHasBeenSet() const { return m_agentArnHasBeenSet; }
52 inline void SetAgentArn(const Aws::String& value) { m_agentArnHasBeenSet = true; m_agentArn = value; }
53 inline void SetAgentArn(Aws::String&& value) { m_agentArnHasBeenSet = true; m_agentArn = std::move(value); }
54 inline void SetAgentArn(const char* value) { m_agentArnHasBeenSet = true; m_agentArn.assign(value); }
55 inline Agent& WithAgentArn(const Aws::String& value) { SetAgentArn(value); return *this;}
56 inline Agent& WithAgentArn(Aws::String&& value) { SetAgentArn(std::move(value)); return *this;}
57 inline Agent& WithAgentArn(const char* value) { SetAgentArn(value); return *this;}
59
61
64 inline const Aws::String& GetAgentId() const{ return m_agentId; }
65 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
66 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
67 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
68 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
69 inline Agent& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
70 inline Agent& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
71 inline Agent& WithAgentId(const char* value) { SetAgentId(value); return *this;}
73
75
78 inline const Aws::String& GetAgentName() const{ return m_agentName; }
79 inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; }
80 inline void SetAgentName(const Aws::String& value) { m_agentNameHasBeenSet = true; m_agentName = value; }
81 inline void SetAgentName(Aws::String&& value) { m_agentNameHasBeenSet = true; m_agentName = std::move(value); }
82 inline void SetAgentName(const char* value) { m_agentNameHasBeenSet = true; m_agentName.assign(value); }
83 inline Agent& WithAgentName(const Aws::String& value) { SetAgentName(value); return *this;}
84 inline Agent& WithAgentName(Aws::String&& value) { SetAgentName(std::move(value)); return *this;}
85 inline Agent& WithAgentName(const char* value) { SetAgentName(value); return *this;}
87
89
93 inline const Aws::String& GetAgentResourceRoleArn() const{ return m_agentResourceRoleArn; }
94 inline bool AgentResourceRoleArnHasBeenSet() const { return m_agentResourceRoleArnHasBeenSet; }
95 inline void SetAgentResourceRoleArn(const Aws::String& value) { m_agentResourceRoleArnHasBeenSet = true; m_agentResourceRoleArn = value; }
96 inline void SetAgentResourceRoleArn(Aws::String&& value) { m_agentResourceRoleArnHasBeenSet = true; m_agentResourceRoleArn = std::move(value); }
97 inline void SetAgentResourceRoleArn(const char* value) { m_agentResourceRoleArnHasBeenSet = true; m_agentResourceRoleArn.assign(value); }
98 inline Agent& WithAgentResourceRoleArn(const Aws::String& value) { SetAgentResourceRoleArn(value); return *this;}
99 inline Agent& WithAgentResourceRoleArn(Aws::String&& value) { SetAgentResourceRoleArn(std::move(value)); return *this;}
100 inline Agent& WithAgentResourceRoleArn(const char* value) { SetAgentResourceRoleArn(value); return *this;}
102
104
114 inline const AgentStatus& GetAgentStatus() const{ return m_agentStatus; }
115 inline bool AgentStatusHasBeenSet() const { return m_agentStatusHasBeenSet; }
116 inline void SetAgentStatus(const AgentStatus& value) { m_agentStatusHasBeenSet = true; m_agentStatus = value; }
117 inline void SetAgentStatus(AgentStatus&& value) { m_agentStatusHasBeenSet = true; m_agentStatus = std::move(value); }
118 inline Agent& WithAgentStatus(const AgentStatus& value) { SetAgentStatus(value); return *this;}
119 inline Agent& WithAgentStatus(AgentStatus&& value) { SetAgentStatus(std::move(value)); return *this;}
121
123
126 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
127 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
128 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
129 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
130 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
131 inline Agent& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
132 inline Agent& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
133 inline Agent& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
135
137
144 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
145 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
146 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
147 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
148 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
149 inline Agent& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
150 inline Agent& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
151 inline Agent& WithClientToken(const char* value) { SetClientToken(value); return *this;}
153
155
158 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
159 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
160 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
161 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
162 inline Agent& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
163 inline Agent& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
165
167
170 inline const Aws::String& GetCustomerEncryptionKeyArn() const{ return m_customerEncryptionKeyArn; }
171 inline bool CustomerEncryptionKeyArnHasBeenSet() const { return m_customerEncryptionKeyArnHasBeenSet; }
172 inline void SetCustomerEncryptionKeyArn(const Aws::String& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = value; }
173 inline void SetCustomerEncryptionKeyArn(Aws::String&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::move(value); }
174 inline void SetCustomerEncryptionKeyArn(const char* value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn.assign(value); }
175 inline Agent& WithCustomerEncryptionKeyArn(const Aws::String& value) { SetCustomerEncryptionKeyArn(value); return *this;}
176 inline Agent& WithCustomerEncryptionKeyArn(Aws::String&& value) { SetCustomerEncryptionKeyArn(std::move(value)); return *this;}
177 inline Agent& WithCustomerEncryptionKeyArn(const char* value) { SetCustomerEncryptionKeyArn(value); return *this;}
179
181
184 inline const Aws::String& GetDescription() const{ return m_description; }
185 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
186 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
187 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
188 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
189 inline Agent& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
190 inline Agent& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
191 inline Agent& WithDescription(const char* value) { SetDescription(value); return *this;}
193
195
198 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
199 inline bool FailureReasonsHasBeenSet() const { return m_failureReasonsHasBeenSet; }
200 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = value; }
201 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::move(value); }
202 inline Agent& WithFailureReasons(const Aws::Vector<Aws::String>& value) { SetFailureReasons(value); return *this;}
203 inline Agent& WithFailureReasons(Aws::Vector<Aws::String>&& value) { SetFailureReasons(std::move(value)); return *this;}
204 inline Agent& AddFailureReasons(const Aws::String& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(value); return *this; }
205 inline Agent& AddFailureReasons(Aws::String&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(std::move(value)); return *this; }
206 inline Agent& AddFailureReasons(const char* value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(value); return *this; }
208
210
213 inline const Aws::String& GetFoundationModel() const{ return m_foundationModel; }
214 inline bool FoundationModelHasBeenSet() const { return m_foundationModelHasBeenSet; }
215 inline void SetFoundationModel(const Aws::String& value) { m_foundationModelHasBeenSet = true; m_foundationModel = value; }
216 inline void SetFoundationModel(Aws::String&& value) { m_foundationModelHasBeenSet = true; m_foundationModel = std::move(value); }
217 inline void SetFoundationModel(const char* value) { m_foundationModelHasBeenSet = true; m_foundationModel.assign(value); }
218 inline Agent& WithFoundationModel(const Aws::String& value) { SetFoundationModel(value); return *this;}
219 inline Agent& WithFoundationModel(Aws::String&& value) { SetFoundationModel(std::move(value)); return *this;}
220 inline Agent& WithFoundationModel(const char* value) { SetFoundationModel(value); return *this;}
222
224
227 inline const GuardrailConfiguration& GetGuardrailConfiguration() const{ return m_guardrailConfiguration; }
228 inline bool GuardrailConfigurationHasBeenSet() const { return m_guardrailConfigurationHasBeenSet; }
229 inline void SetGuardrailConfiguration(const GuardrailConfiguration& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = value; }
230 inline void SetGuardrailConfiguration(GuardrailConfiguration&& value) { m_guardrailConfigurationHasBeenSet = true; m_guardrailConfiguration = std::move(value); }
232 inline Agent& WithGuardrailConfiguration(GuardrailConfiguration&& value) { SetGuardrailConfiguration(std::move(value)); return *this;}
234
236
243 inline int GetIdleSessionTTLInSeconds() const{ return m_idleSessionTTLInSeconds; }
244 inline bool IdleSessionTTLInSecondsHasBeenSet() const { return m_idleSessionTTLInSecondsHasBeenSet; }
245 inline void SetIdleSessionTTLInSeconds(int value) { m_idleSessionTTLInSecondsHasBeenSet = true; m_idleSessionTTLInSeconds = value; }
246 inline Agent& WithIdleSessionTTLInSeconds(int value) { SetIdleSessionTTLInSeconds(value); return *this;}
248
250
254 inline const Aws::String& GetInstruction() const{ return m_instruction; }
255 inline bool InstructionHasBeenSet() const { return m_instructionHasBeenSet; }
256 inline void SetInstruction(const Aws::String& value) { m_instructionHasBeenSet = true; m_instruction = value; }
257 inline void SetInstruction(Aws::String&& value) { m_instructionHasBeenSet = true; m_instruction = std::move(value); }
258 inline void SetInstruction(const char* value) { m_instructionHasBeenSet = true; m_instruction.assign(value); }
259 inline Agent& WithInstruction(const Aws::String& value) { SetInstruction(value); return *this;}
260 inline Agent& WithInstruction(Aws::String&& value) { SetInstruction(std::move(value)); return *this;}
261 inline Agent& WithInstruction(const char* value) { SetInstruction(value); return *this;}
263
265
268 inline const MemoryConfiguration& GetMemoryConfiguration() const{ return m_memoryConfiguration; }
269 inline bool MemoryConfigurationHasBeenSet() const { return m_memoryConfigurationHasBeenSet; }
270 inline void SetMemoryConfiguration(const MemoryConfiguration& value) { m_memoryConfigurationHasBeenSet = true; m_memoryConfiguration = value; }
271 inline void SetMemoryConfiguration(MemoryConfiguration&& value) { m_memoryConfigurationHasBeenSet = true; m_memoryConfiguration = std::move(value); }
272 inline Agent& WithMemoryConfiguration(const MemoryConfiguration& value) { SetMemoryConfiguration(value); return *this;}
273 inline Agent& WithMemoryConfiguration(MemoryConfiguration&& value) { SetMemoryConfiguration(std::move(value)); return *this;}
275
277
280 inline const Aws::Utils::DateTime& GetPreparedAt() const{ return m_preparedAt; }
281 inline bool PreparedAtHasBeenSet() const { return m_preparedAtHasBeenSet; }
282 inline void SetPreparedAt(const Aws::Utils::DateTime& value) { m_preparedAtHasBeenSet = true; m_preparedAt = value; }
283 inline void SetPreparedAt(Aws::Utils::DateTime&& value) { m_preparedAtHasBeenSet = true; m_preparedAt = std::move(value); }
284 inline Agent& WithPreparedAt(const Aws::Utils::DateTime& value) { SetPreparedAt(value); return *this;}
285 inline Agent& WithPreparedAt(Aws::Utils::DateTime&& value) { SetPreparedAt(std::move(value)); return *this;}
287
289
295 inline const PromptOverrideConfiguration& GetPromptOverrideConfiguration() const{ return m_promptOverrideConfiguration; }
296 inline bool PromptOverrideConfigurationHasBeenSet() const { return m_promptOverrideConfigurationHasBeenSet; }
297 inline void SetPromptOverrideConfiguration(const PromptOverrideConfiguration& value) { m_promptOverrideConfigurationHasBeenSet = true; m_promptOverrideConfiguration = value; }
298 inline void SetPromptOverrideConfiguration(PromptOverrideConfiguration&& value) { m_promptOverrideConfigurationHasBeenSet = true; m_promptOverrideConfiguration = std::move(value); }
302
304
308 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const{ return m_recommendedActions; }
309 inline bool RecommendedActionsHasBeenSet() const { return m_recommendedActionsHasBeenSet; }
310 inline void SetRecommendedActions(const Aws::Vector<Aws::String>& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions = value; }
311 inline void SetRecommendedActions(Aws::Vector<Aws::String>&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions = std::move(value); }
312 inline Agent& WithRecommendedActions(const Aws::Vector<Aws::String>& value) { SetRecommendedActions(value); return *this;}
313 inline Agent& WithRecommendedActions(Aws::Vector<Aws::String>&& value) { SetRecommendedActions(std::move(value)); return *this;}
314 inline Agent& AddRecommendedActions(const Aws::String& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions.push_back(value); return *this; }
315 inline Agent& AddRecommendedActions(Aws::String&& value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions.push_back(std::move(value)); return *this; }
316 inline Agent& AddRecommendedActions(const char* value) { m_recommendedActionsHasBeenSet = true; m_recommendedActions.push_back(value); return *this; }
318
320
323 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
324 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
325 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
326 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
327 inline Agent& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
328 inline Agent& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
330 private:
331
332 Aws::String m_agentArn;
333 bool m_agentArnHasBeenSet = false;
334
335 Aws::String m_agentId;
336 bool m_agentIdHasBeenSet = false;
337
338 Aws::String m_agentName;
339 bool m_agentNameHasBeenSet = false;
340
341 Aws::String m_agentResourceRoleArn;
342 bool m_agentResourceRoleArnHasBeenSet = false;
343
344 AgentStatus m_agentStatus;
345 bool m_agentStatusHasBeenSet = false;
346
347 Aws::String m_agentVersion;
348 bool m_agentVersionHasBeenSet = false;
349
350 Aws::String m_clientToken;
351 bool m_clientTokenHasBeenSet = false;
352
353 Aws::Utils::DateTime m_createdAt;
354 bool m_createdAtHasBeenSet = false;
355
356 Aws::String m_customerEncryptionKeyArn;
357 bool m_customerEncryptionKeyArnHasBeenSet = false;
358
359 Aws::String m_description;
360 bool m_descriptionHasBeenSet = false;
361
362 Aws::Vector<Aws::String> m_failureReasons;
363 bool m_failureReasonsHasBeenSet = false;
364
365 Aws::String m_foundationModel;
366 bool m_foundationModelHasBeenSet = false;
367
368 GuardrailConfiguration m_guardrailConfiguration;
369 bool m_guardrailConfigurationHasBeenSet = false;
370
371 int m_idleSessionTTLInSeconds;
372 bool m_idleSessionTTLInSecondsHasBeenSet = false;
373
374 Aws::String m_instruction;
375 bool m_instructionHasBeenSet = false;
376
377 MemoryConfiguration m_memoryConfiguration;
378 bool m_memoryConfigurationHasBeenSet = false;
379
380 Aws::Utils::DateTime m_preparedAt;
381 bool m_preparedAtHasBeenSet = false;
382
383 PromptOverrideConfiguration m_promptOverrideConfiguration;
384 bool m_promptOverrideConfigurationHasBeenSet = false;
385
386 Aws::Vector<Aws::String> m_recommendedActions;
387 bool m_recommendedActionsHasBeenSet = false;
388
389 Aws::Utils::DateTime m_updatedAt;
390 bool m_updatedAtHasBeenSet = false;
391 };
392
393} // namespace Model
394} // namespace BedrockAgent
395} // namespace Aws
Agent & WithRecommendedActions(const Aws::Vector< Aws::String > &value)
Definition Agent.h:312
void SetAgentArn(Aws::String &&value)
Definition Agent.h:53
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Agent.h:160
Agent & WithFoundationModel(const Aws::String &value)
Definition Agent.h:218
Agent & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Agent.h:163
bool CustomerEncryptionKeyArnHasBeenSet() const
Definition Agent.h:171
Agent & WithDescription(const Aws::String &value)
Definition Agent.h:189
void SetAgentResourceRoleArn(Aws::String &&value)
Definition Agent.h:96
void SetPreparedAt(const Aws::Utils::DateTime &value)
Definition Agent.h:282
Agent & WithPromptOverrideConfiguration(PromptOverrideConfiguration &&value)
Definition Agent.h:300
Agent & WithInstruction(const char *value)
Definition Agent.h:261
const GuardrailConfiguration & GetGuardrailConfiguration() const
Definition Agent.h:227
const PromptOverrideConfiguration & GetPromptOverrideConfiguration() const
Definition Agent.h:295
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
Definition Agent.h:201
void SetIdleSessionTTLInSeconds(int value)
Definition Agent.h:245
void SetAgentStatus(AgentStatus &&value)
Definition Agent.h:117
void SetFoundationModel(Aws::String &&value)
Definition Agent.h:216
bool FoundationModelHasBeenSet() const
Definition Agent.h:214
bool AgentIdHasBeenSet() const
Definition Agent.h:65
Agent & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Agent.h:327
Agent & WithGuardrailConfiguration(GuardrailConfiguration &&value)
Definition Agent.h:232
Agent & AddFailureReasons(const Aws::String &value)
Definition Agent.h:204
Agent & AddRecommendedActions(Aws::String &&value)
Definition Agent.h:315
Agent & WithGuardrailConfiguration(const GuardrailConfiguration &value)
Definition Agent.h:231
Agent & WithPreparedAt(Aws::Utils::DateTime &&value)
Definition Agent.h:285
const Aws::Utils::DateTime & GetPreparedAt() const
Definition Agent.h:280
void SetInstruction(Aws::String &&value)
Definition Agent.h:257
void SetAgentId(const Aws::String &value)
Definition Agent.h:66
void SetRecommendedActions(const Aws::Vector< Aws::String > &value)
Definition Agent.h:310
void SetAgentArn(const Aws::String &value)
Definition Agent.h:52
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Agent & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Agent.h:162
Agent & WithCustomerEncryptionKeyArn(const Aws::String &value)
Definition Agent.h:175
void SetAgentId(Aws::String &&value)
Definition Agent.h:67
bool FailureReasonsHasBeenSet() const
Definition Agent.h:199
Agent & WithIdleSessionTTLInSeconds(int value)
Definition Agent.h:246
bool DescriptionHasBeenSet() const
Definition Agent.h:185
void SetAgentVersion(const Aws::String &value)
Definition Agent.h:128
Agent & WithMemoryConfiguration(MemoryConfiguration &&value)
Definition Agent.h:273
int GetIdleSessionTTLInSeconds() const
Definition Agent.h:243
Agent & WithAgentVersion(const Aws::String &value)
Definition Agent.h:131
bool AgentStatusHasBeenSet() const
Definition Agent.h:115
Agent & WithAgentResourceRoleArn(Aws::String &&value)
Definition Agent.h:99
void SetAgentVersion(const char *value)
Definition Agent.h:130
void SetClientToken(const Aws::String &value)
Definition Agent.h:146
void SetClientToken(Aws::String &&value)
Definition Agent.h:147
Agent & WithFoundationModel(const char *value)
Definition Agent.h:220
bool AgentNameHasBeenSet() const
Definition Agent.h:79
Agent & WithCustomerEncryptionKeyArn(Aws::String &&value)
Definition Agent.h:176
const MemoryConfiguration & GetMemoryConfiguration() const
Definition Agent.h:268
void SetPromptOverrideConfiguration(const PromptOverrideConfiguration &value)
Definition Agent.h:297
void SetClientToken(const char *value)
Definition Agent.h:148
bool AgentResourceRoleArnHasBeenSet() const
Definition Agent.h:94
void SetInstruction(const char *value)
Definition Agent.h:258
void SetDescription(const char *value)
Definition Agent.h:188
const Aws::String & GetClientToken() const
Definition Agent.h:144
Agent & WithRecommendedActions(Aws::Vector< Aws::String > &&value)
Definition Agent.h:313
Agent & WithAgentArn(const Aws::String &value)
Definition Agent.h:55
void SetAgentArn(const char *value)
Definition Agent.h:54
const Aws::String & GetAgentArn() const
Definition Agent.h:50
void SetPromptOverrideConfiguration(PromptOverrideConfiguration &&value)
Definition Agent.h:298
bool PreparedAtHasBeenSet() const
Definition Agent.h:281
const Aws::String & GetInstruction() const
Definition Agent.h:254
bool PromptOverrideConfigurationHasBeenSet() const
Definition Agent.h:296
const Aws::String & GetAgentName() const
Definition Agent.h:78
Agent & AddRecommendedActions(const char *value)
Definition Agent.h:316
Agent & WithInstruction(const Aws::String &value)
Definition Agent.h:259
Agent & WithAgentVersion(const char *value)
Definition Agent.h:133
const AgentStatus & GetAgentStatus() const
Definition Agent.h:114
AWS_BEDROCKAGENT_API Agent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RecommendedActionsHasBeenSet() const
Definition Agent.h:309
Agent & WithDescription(const char *value)
Definition Agent.h:191
bool ClientTokenHasBeenSet() const
Definition Agent.h:145
bool UpdatedAtHasBeenSet() const
Definition Agent.h:324
Agent & WithClientToken(const char *value)
Definition Agent.h:151
void SetAgentStatus(const AgentStatus &value)
Definition Agent.h:116
void SetAgentName(Aws::String &&value)
Definition Agent.h:81
void SetGuardrailConfiguration(const GuardrailConfiguration &value)
Definition Agent.h:229
Agent & WithAgentResourceRoleArn(const Aws::String &value)
Definition Agent.h:98
Agent & WithPromptOverrideConfiguration(const PromptOverrideConfiguration &value)
Definition Agent.h:299
Agent & WithAgentName(const Aws::String &value)
Definition Agent.h:83
Agent & AddFailureReasons(Aws::String &&value)
Definition Agent.h:205
const Aws::String & GetDescription() const
Definition Agent.h:184
Agent & WithDescription(Aws::String &&value)
Definition Agent.h:190
void SetDescription(const Aws::String &value)
Definition Agent.h:186
Agent & WithClientToken(Aws::String &&value)
Definition Agent.h:150
bool GuardrailConfigurationHasBeenSet() const
Definition Agent.h:228
Agent & WithAgentStatus(AgentStatus &&value)
Definition Agent.h:119
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Agent.h:326
Agent & WithAgentId(const char *value)
Definition Agent.h:71
Agent & WithCustomerEncryptionKeyArn(const char *value)
Definition Agent.h:177
void SetPreparedAt(Aws::Utils::DateTime &&value)
Definition Agent.h:283
bool MemoryConfigurationHasBeenSet() const
Definition Agent.h:269
void SetFoundationModel(const char *value)
Definition Agent.h:217
Agent & WithAgentResourceRoleArn(const char *value)
Definition Agent.h:100
void SetAgentResourceRoleArn(const char *value)
Definition Agent.h:97
void SetAgentName(const char *value)
Definition Agent.h:82
const Aws::String & GetAgentVersion() const
Definition Agent.h:126
AWS_BEDROCKAGENT_API Agent(Aws::Utils::Json::JsonView jsonValue)
Agent & WithAgentVersion(Aws::String &&value)
Definition Agent.h:132
Agent & WithFailureReasons(const Aws::Vector< Aws::String > &value)
Definition Agent.h:202
void SetMemoryConfiguration(const MemoryConfiguration &value)
Definition Agent.h:270
const Aws::String & GetAgentResourceRoleArn() const
Definition Agent.h:93
Agent & WithFailureReasons(Aws::Vector< Aws::String > &&value)
Definition Agent.h:203
bool CreatedAtHasBeenSet() const
Definition Agent.h:159
Agent & WithFoundationModel(Aws::String &&value)
Definition Agent.h:219
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Agent.h:323
bool AgentVersionHasBeenSet() const
Definition Agent.h:127
void SetInstruction(const Aws::String &value)
Definition Agent.h:256
void SetMemoryConfiguration(MemoryConfiguration &&value)
Definition Agent.h:271
void SetCustomerEncryptionKeyArn(const Aws::String &value)
Definition Agent.h:172
Agent & WithAgentId(const Aws::String &value)
Definition Agent.h:69
bool AgentArnHasBeenSet() const
Definition Agent.h:51
void SetDescription(Aws::String &&value)
Definition Agent.h:187
const Aws::Vector< Aws::String > & GetFailureReasons() const
Definition Agent.h:198
void SetRecommendedActions(Aws::Vector< Aws::String > &&value)
Definition Agent.h:311
void SetCustomerEncryptionKeyArn(Aws::String &&value)
Definition Agent.h:173
Agent & AddRecommendedActions(const Aws::String &value)
Definition Agent.h:314
Agent & WithInstruction(Aws::String &&value)
Definition Agent.h:260
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Agent.h:325
const Aws::String & GetFoundationModel() const
Definition Agent.h:213
Agent & WithAgentId(Aws::String &&value)
Definition Agent.h:70
Agent & WithMemoryConfiguration(const MemoryConfiguration &value)
Definition Agent.h:272
AWS_BEDROCKAGENT_API Agent()
const Aws::Vector< Aws::String > & GetRecommendedActions() const
Definition Agent.h:308
Agent & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Agent.h:328
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
Definition Agent.h:200
Agent & WithAgentName(const char *value)
Definition Agent.h:85
bool InstructionHasBeenSet() const
Definition Agent.h:255
Agent & WithAgentArn(Aws::String &&value)
Definition Agent.h:56
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Agent.h:158
void SetAgentName(const Aws::String &value)
Definition Agent.h:80
Agent & WithAgentName(Aws::String &&value)
Definition Agent.h:84
void SetAgentVersion(Aws::String &&value)
Definition Agent.h:129
Agent & WithClientToken(const Aws::String &value)
Definition Agent.h:149
Agent & WithAgentStatus(const AgentStatus &value)
Definition Agent.h:118
void SetGuardrailConfiguration(GuardrailConfiguration &&value)
Definition Agent.h:230
void SetAgentId(const char *value)
Definition Agent.h:68
void SetAgentResourceRoleArn(const Aws::String &value)
Definition Agent.h:95
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Agent.h:161
void SetCustomerEncryptionKeyArn(const char *value)
Definition Agent.h:174
Agent & AddFailureReasons(const char *value)
Definition Agent.h:206
Agent & WithAgentArn(const char *value)
Definition Agent.h:57
const Aws::String & GetCustomerEncryptionKeyArn() const
Definition Agent.h:170
Agent & WithPreparedAt(const Aws::Utils::DateTime &value)
Definition Agent.h:284
void SetFoundationModel(const Aws::String &value)
Definition Agent.h:215
bool IdleSessionTTLInSecondsHasBeenSet() const
Definition Agent.h:244
const Aws::String & GetAgentId() const
Definition Agent.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue