7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/APISchema.h>
9#include <aws/bedrock-agent/model/ActionGroupExecutor.h>
10#include <aws/bedrock-agent/model/ActionGroupSignature.h>
11#include <aws/bedrock-agent/model/ActionGroupState.h>
12#include <aws/bedrock-agent/model/FunctionSchema.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
26namespace BedrockAgent {
47 template <
typename AgentIdT = Aws::String>
49 m_agentIdHasBeenSet =
true;
50 m_agentId = std::forward<AgentIdT>(value);
52 template <
typename AgentIdT = Aws::String>
65 template <
typename AgentVersionT = Aws::String>
67 m_agentVersionHasBeenSet =
true;
68 m_agentVersion = std::forward<AgentVersionT>(value);
70 template <
typename AgentVersionT = Aws::String>
83 template <
typename ActionGroupIdT = Aws::String>
85 m_actionGroupIdHasBeenSet =
true;
86 m_actionGroupId = std::forward<ActionGroupIdT>(value);
88 template <
typename ActionGroupIdT = Aws::String>
101 template <
typename ActionGroupNameT = Aws::String>
103 m_actionGroupNameHasBeenSet =
true;
104 m_actionGroupName = std::forward<ActionGroupNameT>(value);
106 template <
typename ActionGroupNameT = Aws::String>
123 template <
typename ClientTokenT = Aws::String>
125 m_clientTokenHasBeenSet =
true;
126 m_clientToken = std::forward<ClientTokenT>(value);
128 template <
typename ClientTokenT = Aws::String>
141 template <
typename DescriptionT = Aws::String>
143 m_descriptionHasBeenSet =
true;
144 m_description = std::forward<DescriptionT>(value);
146 template <
typename DescriptionT = Aws::String>
159 template <
typename CreatedAtT = Aws::Utils::DateTime>
161 m_createdAtHasBeenSet =
true;
162 m_createdAt = std::forward<CreatedAtT>(value);
164 template <
typename CreatedAtT = Aws::Utils::DateTime>
177 template <
typename UpdatedAtT = Aws::Utils::DateTime>
179 m_updatedAtHasBeenSet =
true;
180 m_updatedAt = std::forward<UpdatedAtT>(value);
182 template <
typename UpdatedAtT = Aws::Utils::DateTime>
204 m_parentActionSignatureHasBeenSet =
true;
205 m_parentActionSignature = value;
223 return m_parentActionGroupSignatureParams;
226 template <
typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
228 m_parentActionGroupSignatureParamsHasBeenSet =
true;
229 m_parentActionGroupSignatureParams = std::forward<ParentActionGroupSignatureParamsT>(value);
231 template <
typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
236 template <
typename ParentActionGroupSignatureParamsKeyT = Aws::String,
typename ParentActionGroupSignatureParamsValueT = Aws::String>
238 ParentActionGroupSignatureParamsValueT&& value) {
239 m_parentActionGroupSignatureParamsHasBeenSet =
true;
240 m_parentActionGroupSignatureParams.emplace(std::forward<ParentActionGroupSignatureParamsKeyT>(key),
241 std::forward<ParentActionGroupSignatureParamsValueT>(value));
254 template <
typename ActionGroupExecutorT = ActionGroupExecutor>
256 m_actionGroupExecutorHasBeenSet =
true;
257 m_actionGroupExecutor = std::forward<ActionGroupExecutorT>(value);
259 template <
typename ActionGroupExecutorT = ActionGroupExecutor>
276 template <
typename ApiSchemaT = APISchema>
278 m_apiSchemaHasBeenSet =
true;
279 m_apiSchema = std::forward<ApiSchemaT>(value);
281 template <
typename ApiSchemaT = APISchema>
295 template <
typename FunctionSchemaT = FunctionSchema>
297 m_functionSchemaHasBeenSet =
true;
298 m_functionSchema = std::forward<FunctionSchemaT>(value);
300 template <
typename FunctionSchemaT = FunctionSchema>
317 m_actionGroupStateHasBeenSet =
true;
318 m_actionGroupState = value;
327 bool m_agentIdHasBeenSet =
false;
330 bool m_agentVersionHasBeenSet =
false;
333 bool m_actionGroupIdHasBeenSet =
false;
336 bool m_actionGroupNameHasBeenSet =
false;
339 bool m_clientTokenHasBeenSet =
false;
342 bool m_descriptionHasBeenSet =
false;
345 bool m_createdAtHasBeenSet =
false;
348 bool m_updatedAtHasBeenSet =
false;
351 bool m_parentActionSignatureHasBeenSet =
false;
354 bool m_parentActionGroupSignatureParamsHasBeenSet =
false;
356 ActionGroupExecutor m_actionGroupExecutor;
357 bool m_actionGroupExecutorHasBeenSet =
false;
359 APISchema m_apiSchema;
360 bool m_apiSchemaHasBeenSet =
false;
362 FunctionSchema m_functionSchema;
363 bool m_functionSchemaHasBeenSet =
false;
366 bool m_actionGroupStateHasBeenSet =
false;
ActionGroupSignature GetParentActionSignature() const
AgentActionGroup & WithApiSchema(ApiSchemaT &&value)
const Aws::String & GetAgentId() const
bool AgentIdHasBeenSet() const
AgentActionGroup & WithCreatedAt(CreatedAtT &&value)
const APISchema & GetApiSchema() const
AgentActionGroup & WithActionGroupName(ActionGroupNameT &&value)
void SetApiSchema(ApiSchemaT &&value)
AgentActionGroup & WithActionGroupState(ActionGroupState value)
void SetActionGroupExecutor(ActionGroupExecutorT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParentActionGroupSignatureParams() const
const Aws::String & GetClientToken() const
bool ActionGroupStateHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
ActionGroupState GetActionGroupState() const
void SetUpdatedAt(UpdatedAtT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool AgentVersionHasBeenSet() const
AgentActionGroup & WithParentActionSignature(ActionGroupSignature value)
const FunctionSchema & GetFunctionSchema() const
bool FunctionSchemaHasBeenSet() const
AgentActionGroup & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API AgentActionGroup(Aws::Utils::Json::JsonView jsonValue)
void SetActionGroupState(ActionGroupState value)
bool ParentActionGroupSignatureParamsHasBeenSet() const
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)
bool ActionGroupExecutorHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AgentActionGroup & WithParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&value)
const ActionGroupExecutor & GetActionGroupExecutor() const
bool ActionGroupIdHasBeenSet() const
const Aws::String & GetAgentVersion() const
void SetAgentVersion(AgentVersionT &&value)
void SetDescription(DescriptionT &&value)
AgentActionGroup & WithAgentVersion(AgentVersionT &&value)
AgentActionGroup & AddParentActionGroupSignatureParams(ParentActionGroupSignatureParamsKeyT &&key, ParentActionGroupSignatureParamsValueT &&value)
bool UpdatedAtHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_BEDROCKAGENT_API AgentActionGroup()=default
bool ClientTokenHasBeenSet() const
bool ActionGroupNameHasBeenSet() const
AgentActionGroup & WithAgentId(AgentIdT &&value)
void SetActionGroupId(ActionGroupIdT &&value)
bool ApiSchemaHasBeenSet() const
bool ParentActionSignatureHasBeenSet() const
void SetAgentId(AgentIdT &&value)
AgentActionGroup & WithUpdatedAt(UpdatedAtT &&value)
AgentActionGroup & WithActionGroupId(ActionGroupIdT &&value)
AgentActionGroup & WithActionGroupExecutor(ActionGroupExecutorT &&value)
const Aws::String & GetActionGroupName() const
AgentActionGroup & WithClientToken(ClientTokenT &&value)
bool DescriptionHasBeenSet() const
void SetClientToken(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