AWS SDK for C++

AWS SDK for C++ Version 1.11.633

Loading...
Searching...
No Matches
AgentActionGroup.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/core/utils/DateTime.h>
10#include <aws/bedrock-agent/model/ActionGroupSignature.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/bedrock-agent/model/ActionGroupExecutor.h>
13#include <aws/bedrock-agent/model/APISchema.h>
14#include <aws/bedrock-agent/model/FunctionSchema.h>
15#include <aws/bedrock-agent/model/ActionGroupState.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
51 inline const Aws::String& GetAgentId() const { return m_agentId; }
52 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
53 template<typename AgentIdT = Aws::String>
54 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
55 template<typename AgentIdT = Aws::String>
56 AgentActionGroup& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
64 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
65 template<typename AgentVersionT = Aws::String>
66 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
67 template<typename AgentVersionT = Aws::String>
68 AgentActionGroup& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
70
72
75 inline const Aws::String& GetActionGroupId() const { return m_actionGroupId; }
76 inline bool ActionGroupIdHasBeenSet() const { return m_actionGroupIdHasBeenSet; }
77 template<typename ActionGroupIdT = Aws::String>
78 void SetActionGroupId(ActionGroupIdT&& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = std::forward<ActionGroupIdT>(value); }
79 template<typename ActionGroupIdT = Aws::String>
80 AgentActionGroup& WithActionGroupId(ActionGroupIdT&& value) { SetActionGroupId(std::forward<ActionGroupIdT>(value)); return *this;}
82
84
87 inline const Aws::String& GetActionGroupName() const { return m_actionGroupName; }
88 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
89 template<typename ActionGroupNameT = Aws::String>
90 void SetActionGroupName(ActionGroupNameT&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::forward<ActionGroupNameT>(value); }
91 template<typename ActionGroupNameT = Aws::String>
92 AgentActionGroup& WithActionGroupName(ActionGroupNameT&& value) { SetActionGroupName(std::forward<ActionGroupNameT>(value)); return *this;}
94
96
103 inline const Aws::String& GetClientToken() const { return m_clientToken; }
104 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
105 template<typename ClientTokenT = Aws::String>
106 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
107 template<typename ClientTokenT = Aws::String>
108 AgentActionGroup& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
110
112
115 inline const Aws::String& GetDescription() const { return m_description; }
116 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
117 template<typename DescriptionT = Aws::String>
118 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
119 template<typename DescriptionT = Aws::String>
120 AgentActionGroup& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
128 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
129 template<typename CreatedAtT = Aws::Utils::DateTime>
130 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
131 template<typename CreatedAtT = Aws::Utils::DateTime>
132 AgentActionGroup& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
140 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
141 template<typename UpdatedAtT = Aws::Utils::DateTime>
142 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
143 template<typename UpdatedAtT = Aws::Utils::DateTime>
144 AgentActionGroup& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
146
148
159 inline ActionGroupSignature GetParentActionSignature() const { return m_parentActionSignature; }
160 inline bool ParentActionSignatureHasBeenSet() const { return m_parentActionSignatureHasBeenSet; }
161 inline void SetParentActionSignature(ActionGroupSignature value) { m_parentActionSignatureHasBeenSet = true; m_parentActionSignature = value; }
164
166
174 inline const Aws::Map<Aws::String, Aws::String>& GetParentActionGroupSignatureParams() const { return m_parentActionGroupSignatureParams; }
175 inline bool ParentActionGroupSignatureParamsHasBeenSet() const { return m_parentActionGroupSignatureParamsHasBeenSet; }
176 template<typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
177 void SetParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT&& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams = std::forward<ParentActionGroupSignatureParamsT>(value); }
178 template<typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
179 AgentActionGroup& WithParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT&& value) { SetParentActionGroupSignatureParams(std::forward<ParentActionGroupSignatureParamsT>(value)); return *this;}
180 template<typename ParentActionGroupSignatureParamsKeyT = Aws::String, typename ParentActionGroupSignatureParamsValueT = Aws::String>
181 AgentActionGroup& AddParentActionGroupSignatureParams(ParentActionGroupSignatureParamsKeyT&& key, ParentActionGroupSignatureParamsValueT&& value) {
182 m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(std::forward<ParentActionGroupSignatureParamsKeyT>(key), std::forward<ParentActionGroupSignatureParamsValueT>(value)); return *this;
183 }
185
187
192 inline const ActionGroupExecutor& GetActionGroupExecutor() const { return m_actionGroupExecutor; }
193 inline bool ActionGroupExecutorHasBeenSet() const { return m_actionGroupExecutorHasBeenSet; }
194 template<typename ActionGroupExecutorT = ActionGroupExecutor>
195 void SetActionGroupExecutor(ActionGroupExecutorT&& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = std::forward<ActionGroupExecutorT>(value); }
196 template<typename ActionGroupExecutorT = ActionGroupExecutor>
197 AgentActionGroup& WithActionGroupExecutor(ActionGroupExecutorT&& value) { SetActionGroupExecutor(std::forward<ActionGroupExecutorT>(value)); return *this;}
199
201
208 inline const APISchema& GetApiSchema() const { return m_apiSchema; }
209 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
210 template<typename ApiSchemaT = APISchema>
211 void SetApiSchema(ApiSchemaT&& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = std::forward<ApiSchemaT>(value); }
212 template<typename ApiSchemaT = APISchema>
213 AgentActionGroup& WithApiSchema(ApiSchemaT&& value) { SetApiSchema(std::forward<ApiSchemaT>(value)); return *this;}
215
217
221 inline const FunctionSchema& GetFunctionSchema() const { return m_functionSchema; }
222 inline bool FunctionSchemaHasBeenSet() const { return m_functionSchemaHasBeenSet; }
223 template<typename FunctionSchemaT = FunctionSchema>
224 void SetFunctionSchema(FunctionSchemaT&& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = std::forward<FunctionSchemaT>(value); }
225 template<typename FunctionSchemaT = FunctionSchema>
226 AgentActionGroup& WithFunctionSchema(FunctionSchemaT&& value) { SetFunctionSchema(std::forward<FunctionSchemaT>(value)); return *this;}
228
230
236 inline ActionGroupState GetActionGroupState() const { return m_actionGroupState; }
237 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
238 inline void SetActionGroupState(ActionGroupState value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = value; }
241 private:
242
243 Aws::String m_agentId;
244 bool m_agentIdHasBeenSet = false;
245
246 Aws::String m_agentVersion;
247 bool m_agentVersionHasBeenSet = false;
248
249 Aws::String m_actionGroupId;
250 bool m_actionGroupIdHasBeenSet = false;
251
252 Aws::String m_actionGroupName;
253 bool m_actionGroupNameHasBeenSet = false;
254
255 Aws::String m_clientToken;
256 bool m_clientTokenHasBeenSet = false;
257
258 Aws::String m_description;
259 bool m_descriptionHasBeenSet = false;
260
261 Aws::Utils::DateTime m_createdAt{};
262 bool m_createdAtHasBeenSet = false;
263
264 Aws::Utils::DateTime m_updatedAt{};
265 bool m_updatedAtHasBeenSet = false;
266
268 bool m_parentActionSignatureHasBeenSet = false;
269
270 Aws::Map<Aws::String, Aws::String> m_parentActionGroupSignatureParams;
271 bool m_parentActionGroupSignatureParamsHasBeenSet = false;
272
273 ActionGroupExecutor m_actionGroupExecutor;
274 bool m_actionGroupExecutorHasBeenSet = false;
275
276 APISchema m_apiSchema;
277 bool m_apiSchemaHasBeenSet = false;
278
279 FunctionSchema m_functionSchema;
280 bool m_functionSchemaHasBeenSet = false;
281
283 bool m_actionGroupStateHasBeenSet = 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