AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentActionGroup.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ActionGroupExecutor.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/ActionGroupState.h>
11#include <aws/bedrock-agent/model/APISchema.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/bedrock-agent/model/FunctionSchema.h>
14#include <aws/bedrock-agent/model/ActionGroupSignature.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
38 {
39 public:
40 AWS_BEDROCKAGENT_API AgentActionGroup();
41 AWS_BEDROCKAGENT_API AgentActionGroup(Aws::Utils::Json::JsonView jsonValue);
42 AWS_BEDROCKAGENT_API AgentActionGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const ActionGroupExecutor& GetActionGroupExecutor() const{ return m_actionGroupExecutor; }
53 inline bool ActionGroupExecutorHasBeenSet() const { return m_actionGroupExecutorHasBeenSet; }
54 inline void SetActionGroupExecutor(const ActionGroupExecutor& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = value; }
55 inline void SetActionGroupExecutor(ActionGroupExecutor&& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = std::move(value); }
57 inline AgentActionGroup& WithActionGroupExecutor(ActionGroupExecutor&& value) { SetActionGroupExecutor(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetActionGroupId() const{ return m_actionGroupId; }
65 inline bool ActionGroupIdHasBeenSet() const { return m_actionGroupIdHasBeenSet; }
66 inline void SetActionGroupId(const Aws::String& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = value; }
67 inline void SetActionGroupId(Aws::String&& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = std::move(value); }
68 inline void SetActionGroupId(const char* value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId.assign(value); }
69 inline AgentActionGroup& WithActionGroupId(const Aws::String& value) { SetActionGroupId(value); return *this;}
70 inline AgentActionGroup& WithActionGroupId(Aws::String&& value) { SetActionGroupId(std::move(value)); return *this;}
71 inline AgentActionGroup& WithActionGroupId(const char* value) { SetActionGroupId(value); return *this;}
73
75
78 inline const Aws::String& GetActionGroupName() const{ return m_actionGroupName; }
79 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
80 inline void SetActionGroupName(const Aws::String& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = value; }
81 inline void SetActionGroupName(Aws::String&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::move(value); }
82 inline void SetActionGroupName(const char* value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName.assign(value); }
83 inline AgentActionGroup& WithActionGroupName(const Aws::String& value) { SetActionGroupName(value); return *this;}
84 inline AgentActionGroup& WithActionGroupName(Aws::String&& value) { SetActionGroupName(std::move(value)); return *this;}
85 inline AgentActionGroup& WithActionGroupName(const char* value) { SetActionGroupName(value); return *this;}
87
89
95 inline const ActionGroupState& GetActionGroupState() const{ return m_actionGroupState; }
96 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
97 inline void SetActionGroupState(const ActionGroupState& value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = value; }
98 inline void SetActionGroupState(ActionGroupState&& value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = std::move(value); }
99 inline AgentActionGroup& WithActionGroupState(const ActionGroupState& value) { SetActionGroupState(value); return *this;}
100 inline AgentActionGroup& WithActionGroupState(ActionGroupState&& value) { SetActionGroupState(std::move(value)); return *this;}
102
104
107 inline const Aws::String& GetAgentId() const{ return m_agentId; }
108 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
109 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
110 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
111 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
112 inline AgentActionGroup& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
113 inline AgentActionGroup& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
114 inline AgentActionGroup& WithAgentId(const char* value) { SetAgentId(value); return *this;}
116
118
121 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
122 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
123 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
124 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
125 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
126 inline AgentActionGroup& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
127 inline AgentActionGroup& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
128 inline AgentActionGroup& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
130
132
139 inline const APISchema& GetApiSchema() const{ return m_apiSchema; }
140 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
141 inline void SetApiSchema(const APISchema& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = value; }
142 inline void SetApiSchema(APISchema&& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = std::move(value); }
143 inline AgentActionGroup& WithApiSchema(const APISchema& value) { SetApiSchema(value); return *this;}
144 inline AgentActionGroup& WithApiSchema(APISchema&& value) { SetApiSchema(std::move(value)); return *this;}
146
148
155 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
156 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
157 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
158 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
159 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
160 inline AgentActionGroup& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
161 inline AgentActionGroup& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
162 inline AgentActionGroup& WithClientToken(const char* value) { SetClientToken(value); return *this;}
164
166
169 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
170 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
171 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
172 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
173 inline AgentActionGroup& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
174 inline AgentActionGroup& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
176
178
181 inline const Aws::String& GetDescription() const{ return m_description; }
182 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
183 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
184 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
185 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
186 inline AgentActionGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
187 inline AgentActionGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
188 inline AgentActionGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
190
192
196 inline const FunctionSchema& GetFunctionSchema() const{ return m_functionSchema; }
197 inline bool FunctionSchemaHasBeenSet() const { return m_functionSchemaHasBeenSet; }
198 inline void SetFunctionSchema(const FunctionSchema& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = value; }
199 inline void SetFunctionSchema(FunctionSchema&& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = std::move(value); }
200 inline AgentActionGroup& WithFunctionSchema(const FunctionSchema& value) { SetFunctionSchema(value); return *this;}
201 inline AgentActionGroup& WithFunctionSchema(FunctionSchema&& value) { SetFunctionSchema(std::move(value)); return *this;}
203
205
216 inline const ActionGroupSignature& GetParentActionSignature() const{ return m_parentActionSignature; }
217 inline bool ParentActionSignatureHasBeenSet() const { return m_parentActionSignatureHasBeenSet; }
218 inline void SetParentActionSignature(const ActionGroupSignature& value) { m_parentActionSignatureHasBeenSet = true; m_parentActionSignature = value; }
219 inline void SetParentActionSignature(ActionGroupSignature&& value) { m_parentActionSignatureHasBeenSet = true; m_parentActionSignature = std::move(value); }
223
225
228 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
229 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
230 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
231 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
232 inline AgentActionGroup& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
233 inline AgentActionGroup& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
235 private:
236
237 ActionGroupExecutor m_actionGroupExecutor;
238 bool m_actionGroupExecutorHasBeenSet = false;
239
240 Aws::String m_actionGroupId;
241 bool m_actionGroupIdHasBeenSet = false;
242
243 Aws::String m_actionGroupName;
244 bool m_actionGroupNameHasBeenSet = false;
245
246 ActionGroupState m_actionGroupState;
247 bool m_actionGroupStateHasBeenSet = false;
248
249 Aws::String m_agentId;
250 bool m_agentIdHasBeenSet = false;
251
252 Aws::String m_agentVersion;
253 bool m_agentVersionHasBeenSet = false;
254
255 APISchema m_apiSchema;
256 bool m_apiSchemaHasBeenSet = false;
257
258 Aws::String m_clientToken;
259 bool m_clientTokenHasBeenSet = false;
260
261 Aws::Utils::DateTime m_createdAt;
262 bool m_createdAtHasBeenSet = false;
263
264 Aws::String m_description;
265 bool m_descriptionHasBeenSet = false;
266
267 FunctionSchema m_functionSchema;
268 bool m_functionSchemaHasBeenSet = false;
269
270 ActionGroupSignature m_parentActionSignature;
271 bool m_parentActionSignatureHasBeenSet = false;
272
273 Aws::Utils::DateTime m_updatedAt;
274 bool m_updatedAtHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace BedrockAgent
279} // namespace Aws
AgentActionGroup & WithActionGroupState(ActionGroupState &&value)
void SetActionGroupState(ActionGroupState &&value)
AgentActionGroup & WithApiSchema(const APISchema &value)
AgentActionGroup & WithParentActionSignature(ActionGroupSignature &&value)
AgentActionGroup & WithUpdatedAt(Aws::Utils::DateTime &&value)
AgentActionGroup & WithActionGroupId(const Aws::String &value)
void SetFunctionSchema(FunctionSchema &&value)
AgentActionGroup & WithApiSchema(APISchema &&value)
void SetActionGroupState(const ActionGroupState &value)
AgentActionGroup & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFunctionSchema(const FunctionSchema &value)
const Aws::Utils::DateTime & GetCreatedAt() const
AgentActionGroup & WithFunctionSchema(const FunctionSchema &value)
const FunctionSchema & GetFunctionSchema() const
void SetApiSchema(const APISchema &value)
AgentActionGroup & WithActionGroupName(const Aws::String &value)
void SetActionGroupExecutor(ActionGroupExecutor &&value)
void SetAgentVersion(const Aws::String &value)
AWS_BEDROCKAGENT_API AgentActionGroup(Aws::Utils::Json::JsonView jsonValue)
AgentActionGroup & WithAgentVersion(Aws::String &&value)
AgentActionGroup & WithAgentId(Aws::String &&value)
const ActionGroupState & GetActionGroupState() const
AgentActionGroup & WithClientToken(const char *value)
void SetActionGroupExecutor(const ActionGroupExecutor &value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetActionGroupId() const
AgentActionGroup & WithAgentId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_BEDROCKAGENT_API AgentActionGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentActionGroup & WithActionGroupId(const char *value)
void SetParentActionSignature(ActionGroupSignature &&value)
AgentActionGroup & WithAgentVersion(const char *value)
AgentActionGroup & WithFunctionSchema(FunctionSchema &&value)
AgentActionGroup & WithClientToken(const Aws::String &value)
const ActionGroupExecutor & GetActionGroupExecutor() const
AgentActionGroup & WithActionGroupState(const ActionGroupState &value)
AgentActionGroup & WithActionGroupName(const char *value)
const Aws::String & GetAgentVersion() const
AgentActionGroup & WithActionGroupName(Aws::String &&value)
void SetAgentId(const Aws::String &value)
AgentActionGroup & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AgentActionGroup & WithAgentId(const char *value)
AgentActionGroup & WithActionGroupExecutor(ActionGroupExecutor &&value)
void SetParentActionSignature(const ActionGroupSignature &value)
const ActionGroupSignature & GetParentActionSignature() const
AgentActionGroup & WithDescription(const Aws::String &value)
AgentActionGroup & WithAgentVersion(const Aws::String &value)
AgentActionGroup & WithUpdatedAt(const Aws::Utils::DateTime &value)
AgentActionGroup & WithActionGroupExecutor(const ActionGroupExecutor &value)
void SetDescription(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AgentActionGroup & WithDescription(Aws::String &&value)
void SetActionGroupId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetActionGroupName(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AgentActionGroup & WithParentActionSignature(const ActionGroupSignature &value)
const Aws::String & GetActionGroupName() const
AgentActionGroup & WithActionGroupId(Aws::String &&value)
AgentActionGroup & WithDescription(const char *value)
AgentActionGroup & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue