7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/bedrock-agent/model/ActionGroupExecutor.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/bedrock-agent/model/ActionGroupState.h>
12#include <aws/bedrock-agent/model/APISchema.h>
13#include <aws/bedrock-agent/model/FunctionSchema.h>
14#include <aws/bedrock-agent/model/ActionGroupSignature.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/UUID.h>
50 template<
typename ActionGroupExecutorT = ActionGroupExecutor>
51 void SetActionGroupExecutor(ActionGroupExecutorT&& value) { m_actionGroupExecutorHasBeenSet =
true; m_actionGroupExecutor = std::forward<ActionGroupExecutorT>(value); }
52 template<
typename ActionGroupExecutorT = ActionGroupExecutor>
62 template<
typename ActionGroupNameT = Aws::String>
63 void SetActionGroupName(ActionGroupNameT&& value) { m_actionGroupNameHasBeenSet =
true; m_actionGroupName = std::forward<ActionGroupNameT>(value); }
64 template<
typename ActionGroupNameT = Aws::String>
87 template<
typename AgentIdT = Aws::String>
88 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
89 template<
typename AgentIdT = Aws::String>
99 template<
typename AgentVersionT = Aws::String>
100 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
101 template<
typename AgentVersionT = Aws::String>
115 template<
typename ApiSchemaT = APISchema>
116 void SetApiSchema(ApiSchemaT&& value) { m_apiSchemaHasBeenSet =
true; m_apiSchema = std::forward<ApiSchemaT>(value); }
117 template<
typename ApiSchemaT = APISchema>
131 template<
typename ClientTokenT = Aws::String>
132 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
133 template<
typename ClientTokenT = Aws::String>
143 template<
typename DescriptionT = Aws::String>
144 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
145 template<
typename DescriptionT = Aws::String>
156 template<
typename FunctionSchemaT = FunctionSchema>
157 void SetFunctionSchema(FunctionSchemaT&& value) { m_functionSchemaHasBeenSet =
true; m_functionSchema = std::forward<FunctionSchemaT>(value); }
158 template<
typename FunctionSchemaT = FunctionSchema>
206 template<
typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
207 void SetParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT&& value) { m_parentActionGroupSignatureParamsHasBeenSet =
true; m_parentActionGroupSignatureParams = std::forward<ParentActionGroupSignatureParamsT>(value); }
208 template<
typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
210 template<
typename ParentActionGroupSignatureParamsKeyT = Aws::String,
typename ParentActionGroupSignatureParamsValueT = Aws::String>
212 m_parentActionGroupSignatureParamsHasBeenSet =
true; m_parentActionGroupSignatureParams.emplace(std::forward<ParentActionGroupSignatureParamsKeyT>(key), std::forward<ParentActionGroupSignatureParamsValueT>(value));
return *
this;
218 bool m_actionGroupExecutorHasBeenSet =
false;
221 bool m_actionGroupNameHasBeenSet =
false;
224 bool m_actionGroupStateHasBeenSet =
false;
227 bool m_agentIdHasBeenSet =
false;
230 bool m_agentVersionHasBeenSet =
false;
232 APISchema m_apiSchema;
233 bool m_apiSchemaHasBeenSet =
false;
236 bool m_clientTokenHasBeenSet =
true;
239 bool m_descriptionHasBeenSet =
false;
241 FunctionSchema m_functionSchema;
242 bool m_functionSchemaHasBeenSet =
false;
245 bool m_parentActionGroupSignatureHasBeenSet =
false;
248 bool m_parentActionGroupSignatureParamsHasBeenSet =
false;
const FunctionSchema & GetFunctionSchema() const
void SetFunctionSchema(FunctionSchemaT &&value)
const APISchema & GetApiSchema() const
ActionGroupState GetActionGroupState() const
const Aws::Map< Aws::String, Aws::String > & GetParentActionGroupSignatureParams() const
void SetActionGroupName(ActionGroupNameT &&value)
void SetAgentId(AgentIdT &&value)
AWS_BEDROCKAGENT_API CreateAgentActionGroupRequest()=default
virtual const char * GetServiceRequestName() const override
bool ParentActionGroupSignatureHasBeenSet() const
const ActionGroupExecutor & GetActionGroupExecutor() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetAgentId() const
bool ParentActionGroupSignatureParamsHasBeenSet() const
bool AgentVersionHasBeenSet() const
CreateAgentActionGroupRequest & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
CreateAgentActionGroupRequest & WithFunctionSchema(FunctionSchemaT &&value)
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreateAgentActionGroupRequest & WithActionGroupState(ActionGroupState value)
CreateAgentActionGroupRequest & WithActionGroupExecutor(ActionGroupExecutorT &&value)
CreateAgentActionGroupRequest & WithActionGroupName(ActionGroupNameT &&value)
void SetParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&value)
ActionGroupSignature GetParentActionGroupSignature() const
bool ActionGroupNameHasBeenSet() const
CreateAgentActionGroupRequest & WithApiSchema(ApiSchemaT &&value)
bool ActionGroupExecutorHasBeenSet() const
bool AgentIdHasBeenSet() const
const Aws::String & GetClientToken() const
bool ActionGroupStateHasBeenSet() const
CreateAgentActionGroupRequest & AddParentActionGroupSignatureParams(ParentActionGroupSignatureParamsKeyT &&key, ParentActionGroupSignatureParamsValueT &&value)
void SetParentActionGroupSignature(ActionGroupSignature value)
CreateAgentActionGroupRequest & WithParentActionGroupSignature(ActionGroupSignature value)
CreateAgentActionGroupRequest & WithAgentId(AgentIdT &&value)
CreateAgentActionGroupRequest & WithDescription(DescriptionT &&value)
CreateAgentActionGroupRequest & WithParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&value)
void SetActionGroupExecutor(ActionGroupExecutorT &&value)
void SetAgentVersion(AgentVersionT &&value)
void SetActionGroupState(ActionGroupState value)
const Aws::String & GetAgentVersion() const
const Aws::String & GetActionGroupName() const
CreateAgentActionGroupRequest & WithAgentVersion(AgentVersionT &&value)
bool FunctionSchemaHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
bool ApiSchemaHasBeenSet() const
void SetApiSchema(ApiSchemaT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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