7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/APISchema.h>
10#include <aws/bedrock-agent/model/ActionGroupExecutor.h>
11#include <aws/bedrock-agent/model/ActionGroupSignature.h>
12#include <aws/bedrock-agent/model/ActionGroupState.h>
13#include <aws/bedrock-agent/model/FunctionSchema.h>
14#include <aws/core/utils/UUID.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgent {
44 template <
typename AgentIdT = Aws::String>
46 m_agentIdHasBeenSet =
true;
47 m_agentId = std::forward<AgentIdT>(value);
49 template <
typename AgentIdT = Aws::String>
62 template <
typename AgentVersionT = Aws::String>
64 m_agentVersionHasBeenSet =
true;
65 m_agentVersion = std::forward<AgentVersionT>(value);
67 template <
typename AgentVersionT = Aws::String>
80 template <
typename ActionGroupNameT = Aws::String>
82 m_actionGroupNameHasBeenSet =
true;
83 m_actionGroupName = std::forward<ActionGroupNameT>(value);
85 template <
typename ActionGroupNameT = Aws::String>
102 template <
typename ClientTokenT = Aws::String>
104 m_clientTokenHasBeenSet =
true;
105 m_clientToken = std::forward<ClientTokenT>(value);
107 template <
typename ClientTokenT = Aws::String>
120 template <
typename DescriptionT = Aws::String>
122 m_descriptionHasBeenSet =
true;
123 m_description = std::forward<DescriptionT>(value);
125 template <
typename DescriptionT = Aws::String>
161 m_parentActionGroupSignatureHasBeenSet =
true;
162 m_parentActionGroupSignature = value;
181 return m_parentActionGroupSignatureParams;
184 template <
typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
186 m_parentActionGroupSignatureParamsHasBeenSet =
true;
187 m_parentActionGroupSignatureParams = std::forward<ParentActionGroupSignatureParamsT>(value);
189 template <
typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
194 template <
typename ParentActionGroupSignatureParamsKeyT = Aws::String,
typename ParentActionGroupSignatureParamsValueT = Aws::String>
197 m_parentActionGroupSignatureParamsHasBeenSet =
true;
198 m_parentActionGroupSignatureParams.emplace(std::forward<ParentActionGroupSignatureParamsKeyT>(
key),
199 std::forward<ParentActionGroupSignatureParamsValueT>(value));
212 template <
typename ActionGroupExecutorT = ActionGroupExecutor>
214 m_actionGroupExecutorHasBeenSet =
true;
215 m_actionGroupExecutor = std::forward<ActionGroupExecutorT>(value);
217 template <
typename ActionGroupExecutorT = ActionGroupExecutor>
234 template <
typename ApiSchemaT = APISchema>
236 m_apiSchemaHasBeenSet =
true;
237 m_apiSchema = std::forward<ApiSchemaT>(value);
239 template <
typename ApiSchemaT = APISchema>
256 m_actionGroupStateHasBeenSet =
true;
257 m_actionGroupState = value;
272 template <
typename FunctionSchemaT = FunctionSchema>
274 m_functionSchemaHasBeenSet =
true;
275 m_functionSchema = std::forward<FunctionSchemaT>(value);
277 template <
typename FunctionSchemaT = FunctionSchema>
298 ActionGroupExecutor m_actionGroupExecutor;
300 APISchema m_apiSchema;
304 FunctionSchema m_functionSchema;
305 bool m_agentIdHasBeenSet =
false;
306 bool m_agentVersionHasBeenSet =
false;
307 bool m_actionGroupNameHasBeenSet =
false;
308 bool m_clientTokenHasBeenSet =
true;
309 bool m_descriptionHasBeenSet =
false;
310 bool m_parentActionGroupSignatureHasBeenSet =
false;
311 bool m_parentActionGroupSignatureParamsHasBeenSet =
false;
312 bool m_actionGroupExecutorHasBeenSet =
false;
313 bool m_apiSchemaHasBeenSet =
false;
314 bool m_actionGroupStateHasBeenSet =
false;
315 bool m_functionSchemaHasBeenSet =
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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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