AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/core/utils/memory/stl/AWSMap.h>
15#include <aws/bedrock-agent/model/ActionGroupSignature.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace BedrockAgent
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_BEDROCKAGENT_API AgentActionGroup() = default;
42 AWS_BEDROCKAGENT_API AgentActionGroup(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENT_API AgentActionGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const ActionGroupExecutor& GetActionGroupExecutor() const { return m_actionGroupExecutor; }
54 inline bool ActionGroupExecutorHasBeenSet() const { return m_actionGroupExecutorHasBeenSet; }
55 template<typename ActionGroupExecutorT = ActionGroupExecutor>
56 void SetActionGroupExecutor(ActionGroupExecutorT&& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = std::forward<ActionGroupExecutorT>(value); }
57 template<typename ActionGroupExecutorT = ActionGroupExecutor>
58 AgentActionGroup& WithActionGroupExecutor(ActionGroupExecutorT&& value) { SetActionGroupExecutor(std::forward<ActionGroupExecutorT>(value)); return *this;}
60
62
65 inline const Aws::String& GetActionGroupId() const { return m_actionGroupId; }
66 inline bool ActionGroupIdHasBeenSet() const { return m_actionGroupIdHasBeenSet; }
67 template<typename ActionGroupIdT = Aws::String>
68 void SetActionGroupId(ActionGroupIdT&& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = std::forward<ActionGroupIdT>(value); }
69 template<typename ActionGroupIdT = Aws::String>
70 AgentActionGroup& WithActionGroupId(ActionGroupIdT&& value) { SetActionGroupId(std::forward<ActionGroupIdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetActionGroupName() const { return m_actionGroupName; }
78 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
79 template<typename ActionGroupNameT = Aws::String>
80 void SetActionGroupName(ActionGroupNameT&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::forward<ActionGroupNameT>(value); }
81 template<typename ActionGroupNameT = Aws::String>
82 AgentActionGroup& WithActionGroupName(ActionGroupNameT&& value) { SetActionGroupName(std::forward<ActionGroupNameT>(value)); return *this;}
84
86
92 inline ActionGroupState GetActionGroupState() const { return m_actionGroupState; }
93 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
94 inline void SetActionGroupState(ActionGroupState value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = value; }
97
99
102 inline const Aws::String& GetAgentId() const { return m_agentId; }
103 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
104 template<typename AgentIdT = Aws::String>
105 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
106 template<typename AgentIdT = Aws::String>
107 AgentActionGroup& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
109
111
114 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
115 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
116 template<typename AgentVersionT = Aws::String>
117 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
118 template<typename AgentVersionT = Aws::String>
119 AgentActionGroup& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
121
123
130 inline const APISchema& GetApiSchema() const { return m_apiSchema; }
131 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
132 template<typename ApiSchemaT = APISchema>
133 void SetApiSchema(ApiSchemaT&& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = std::forward<ApiSchemaT>(value); }
134 template<typename ApiSchemaT = APISchema>
135 AgentActionGroup& WithApiSchema(ApiSchemaT&& value) { SetApiSchema(std::forward<ApiSchemaT>(value)); return *this;}
137
139
146 inline const Aws::String& GetClientToken() const { return m_clientToken; }
147 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
148 template<typename ClientTokenT = Aws::String>
149 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
150 template<typename ClientTokenT = Aws::String>
151 AgentActionGroup& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(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 template<typename CreatedAtT = Aws::Utils::DateTime>
161 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
162 template<typename CreatedAtT = Aws::Utils::DateTime>
163 AgentActionGroup& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
165
167
170 inline const Aws::String& GetDescription() const { return m_description; }
171 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
172 template<typename DescriptionT = Aws::String>
173 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
174 template<typename DescriptionT = Aws::String>
175 AgentActionGroup& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
177
179
183 inline const FunctionSchema& GetFunctionSchema() const { return m_functionSchema; }
184 inline bool FunctionSchemaHasBeenSet() const { return m_functionSchemaHasBeenSet; }
185 template<typename FunctionSchemaT = FunctionSchema>
186 void SetFunctionSchema(FunctionSchemaT&& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = std::forward<FunctionSchemaT>(value); }
187 template<typename FunctionSchemaT = FunctionSchema>
188 AgentActionGroup& WithFunctionSchema(FunctionSchemaT&& value) { SetFunctionSchema(std::forward<FunctionSchemaT>(value)); return *this;}
190
192
200 inline const Aws::Map<Aws::String, Aws::String>& GetParentActionGroupSignatureParams() const { return m_parentActionGroupSignatureParams; }
201 inline bool ParentActionGroupSignatureParamsHasBeenSet() const { return m_parentActionGroupSignatureParamsHasBeenSet; }
202 template<typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
203 void SetParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT&& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams = std::forward<ParentActionGroupSignatureParamsT>(value); }
204 template<typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
205 AgentActionGroup& WithParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT&& value) { SetParentActionGroupSignatureParams(std::forward<ParentActionGroupSignatureParamsT>(value)); return *this;}
206 template<typename ParentActionGroupSignatureParamsKeyT = Aws::String, typename ParentActionGroupSignatureParamsValueT = Aws::String>
207 AgentActionGroup& AddParentActionGroupSignatureParams(ParentActionGroupSignatureParamsKeyT&& key, ParentActionGroupSignatureParamsValueT&& value) {
208 m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(std::forward<ParentActionGroupSignatureParamsKeyT>(key), std::forward<ParentActionGroupSignatureParamsValueT>(value)); return *this;
209 }
211
213
224 inline ActionGroupSignature GetParentActionSignature() const { return m_parentActionSignature; }
225 inline bool ParentActionSignatureHasBeenSet() const { return m_parentActionSignatureHasBeenSet; }
226 inline void SetParentActionSignature(ActionGroupSignature value) { m_parentActionSignatureHasBeenSet = true; m_parentActionSignature = value; }
229
231
234 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
235 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
236 template<typename UpdatedAtT = Aws::Utils::DateTime>
237 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
238 template<typename UpdatedAtT = Aws::Utils::DateTime>
239 AgentActionGroup& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
241 private:
242
243 ActionGroupExecutor m_actionGroupExecutor;
244 bool m_actionGroupExecutorHasBeenSet = false;
245
246 Aws::String m_actionGroupId;
247 bool m_actionGroupIdHasBeenSet = false;
248
249 Aws::String m_actionGroupName;
250 bool m_actionGroupNameHasBeenSet = false;
251
253 bool m_actionGroupStateHasBeenSet = false;
254
255 Aws::String m_agentId;
256 bool m_agentIdHasBeenSet = false;
257
258 Aws::String m_agentVersion;
259 bool m_agentVersionHasBeenSet = false;
260
261 APISchema m_apiSchema;
262 bool m_apiSchemaHasBeenSet = false;
263
264 Aws::String m_clientToken;
265 bool m_clientTokenHasBeenSet = false;
266
267 Aws::Utils::DateTime m_createdAt{};
268 bool m_createdAtHasBeenSet = false;
269
270 Aws::String m_description;
271 bool m_descriptionHasBeenSet = false;
272
273 FunctionSchema m_functionSchema;
274 bool m_functionSchemaHasBeenSet = false;
275
276 Aws::Map<Aws::String, Aws::String> m_parentActionGroupSignatureParams;
277 bool m_parentActionGroupSignatureParamsHasBeenSet = false;
278
280 bool m_parentActionSignatureHasBeenSet = false;
281
282 Aws::Utils::DateTime m_updatedAt{};
283 bool m_updatedAtHasBeenSet = false;
284 };
285
286} // namespace Model
287} // namespace BedrockAgent
288} // namespace Aws
ActionGroupSignature GetParentActionSignature() const
AgentActionGroup & WithApiSchema(ApiSchemaT &&value)
AgentActionGroup & WithCreatedAt(CreatedAtT &&value)
AgentActionGroup & WithActionGroupName(ActionGroupNameT &&value)
AgentActionGroup & WithActionGroupState(ActionGroupState value)
void SetActionGroupExecutor(ActionGroupExecutorT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParentActionGroupSignatureParams() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
AgentActionGroup & WithParentActionSignature(ActionGroupSignature value)
const FunctionSchema & GetFunctionSchema() const
AgentActionGroup & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API AgentActionGroup(Aws::Utils::Json::JsonView jsonValue)
void SetActionGroupState(ActionGroupState value)
void SetParentActionSignature(ActionGroupSignature value)
AgentActionGroup & WithFunctionSchema(FunctionSchemaT &&value)
void SetFunctionSchema(FunctionSchemaT &&value)
void SetActionGroupName(ActionGroupNameT &&value)
void SetParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&value)
const Aws::String & GetActionGroupId() const
AWS_BEDROCKAGENT_API AgentActionGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentActionGroup & WithParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&value)
const ActionGroupExecutor & GetActionGroupExecutor() const
const Aws::String & GetAgentVersion() const
void SetAgentVersion(AgentVersionT &&value)
AgentActionGroup & WithAgentVersion(AgentVersionT &&value)
AgentActionGroup & AddParentActionGroupSignatureParams(ParentActionGroupSignatureParamsKeyT &&key, ParentActionGroupSignatureParamsValueT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BEDROCKAGENT_API AgentActionGroup()=default
AgentActionGroup & WithAgentId(AgentIdT &&value)
void SetActionGroupId(ActionGroupIdT &&value)
AgentActionGroup & WithUpdatedAt(UpdatedAtT &&value)
AgentActionGroup & WithActionGroupId(ActionGroupIdT &&value)
AgentActionGroup & WithActionGroupExecutor(ActionGroupExecutorT &&value)
const Aws::String & GetActionGroupName() const
AgentActionGroup & WithClientToken(ClientTokenT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue