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/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
20namespace BedrockAgent {
43 template <
typename AgentIdT = Aws::String>
45 m_agentIdHasBeenSet =
true;
46 m_agentId = std::forward<AgentIdT>(value);
48 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 ActionGroupIdT = Aws::String>
82 m_actionGroupIdHasBeenSet =
true;
83 m_actionGroupId = std::forward<ActionGroupIdT>(value);
85 template <
typename ActionGroupIdT = Aws::String>
98 template <
typename ActionGroupNameT = Aws::String>
100 m_actionGroupNameHasBeenSet =
true;
101 m_actionGroupName = std::forward<ActionGroupNameT>(value);
103 template <
typename ActionGroupNameT = Aws::String>
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
161 m_parentActionGroupSignatureHasBeenSet =
true;
162 m_parentActionGroupSignature = value;
180 return m_parentActionGroupSignatureParams;
183 template <
typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
185 m_parentActionGroupSignatureParamsHasBeenSet =
true;
186 m_parentActionGroupSignatureParams = std::forward<ParentActionGroupSignatureParamsT>(value);
188 template <
typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
193 template <
typename ParentActionGroupSignatureParamsKeyT = Aws::String,
typename ParentActionGroupSignatureParamsValueT = Aws::String>
196 m_parentActionGroupSignatureParamsHasBeenSet =
true;
197 m_parentActionGroupSignatureParams.emplace(std::forward<ParentActionGroupSignatureParamsKeyT>(
key),
198 std::forward<ParentActionGroupSignatureParamsValueT>(value));
210 template <
typename ActionGroupExecutorT = ActionGroupExecutor>
212 m_actionGroupExecutorHasBeenSet =
true;
213 m_actionGroupExecutor = std::forward<ActionGroupExecutorT>(value);
215 template <
typename ActionGroupExecutorT = ActionGroupExecutor>
232 m_actionGroupStateHasBeenSet =
true;
233 m_actionGroupState = value;
251 template <
typename ApiSchemaT = APISchema>
253 m_apiSchemaHasBeenSet =
true;
254 m_apiSchema = std::forward<ApiSchemaT>(value);
256 template <
typename ApiSchemaT = APISchema>
270 template <
typename FunctionSchemaT = FunctionSchema>
272 m_functionSchemaHasBeenSet =
true;
273 m_functionSchema = std::forward<FunctionSchemaT>(value);
275 template <
typename FunctionSchemaT = FunctionSchema>
296 ActionGroupExecutor m_actionGroupExecutor;
300 APISchema m_apiSchema;
302 FunctionSchema m_functionSchema;
303 bool m_agentIdHasBeenSet =
false;
304 bool m_agentVersionHasBeenSet =
false;
305 bool m_actionGroupIdHasBeenSet =
false;
306 bool m_actionGroupNameHasBeenSet =
false;
307 bool m_descriptionHasBeenSet =
false;
308 bool m_parentActionGroupSignatureHasBeenSet =
false;
309 bool m_parentActionGroupSignatureParamsHasBeenSet =
false;
310 bool m_actionGroupExecutorHasBeenSet =
false;
311 bool m_actionGroupStateHasBeenSet =
false;
312 bool m_apiSchemaHasBeenSet =
false;
313 bool m_functionSchemaHasBeenSet =
false;
UpdateAgentActionGroupRequest & WithFunctionSchema(FunctionSchemaT &&value)
ActionGroupState GetActionGroupState() const
const FunctionSchema & GetFunctionSchema() const
UpdateAgentActionGroupRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateAgentActionGroupRequest & WithActionGroupId(ActionGroupIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParentActionGroupSignatureParams() const
void SetActionGroupState(ActionGroupState value)
void SetDescription(DescriptionT &&value)
void SetActionGroupExecutor(ActionGroupExecutorT &&value)
void SetParentActionGroupSignature(ActionGroupSignature value)
const Aws::String & GetActionGroupId() const
bool ActionGroupExecutorHasBeenSet() const
ActionGroupSignature GetParentActionGroupSignature() const
UpdateAgentActionGroupRequest & WithAgentVersion(AgentVersionT &&value)
bool ParentActionGroupSignatureHasBeenSet() const
AWS_BEDROCKAGENT_API UpdateAgentActionGroupRequest()=default
void SetActionGroupName(ActionGroupNameT &&value)
UpdateAgentActionGroupRequest & WithActionGroupState(ActionGroupState value)
UpdateAgentActionGroupRequest & WithApiSchema(ApiSchemaT &&value)
bool ParentActionGroupSignatureParamsHasBeenSet() const
const ActionGroupExecutor & GetActionGroupExecutor() const
void SetParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&value)
UpdateAgentActionGroupRequest & WithActionGroupName(ActionGroupNameT &&value)
bool AgentVersionHasBeenSet() const
const APISchema & GetApiSchema() const
bool ActionGroupNameHasBeenSet() const
UpdateAgentActionGroupRequest & WithParentActionGroupSignature(ActionGroupSignature value)
bool ActionGroupIdHasBeenSet() const
bool FunctionSchemaHasBeenSet() const
bool AgentIdHasBeenSet() const
UpdateAgentActionGroupRequest & WithAgentId(AgentIdT &&value)
UpdateAgentActionGroupRequest & WithActionGroupExecutor(ActionGroupExecutorT &&value)
UpdateAgentActionGroupRequest & AddParentActionGroupSignatureParams(ParentActionGroupSignatureParamsKeyT &&key, ParentActionGroupSignatureParamsValueT &&value)
bool ApiSchemaHasBeenSet() const
void SetActionGroupId(ActionGroupIdT &&value)
void SetApiSchema(ApiSchemaT &&value)
const Aws::String & GetActionGroupName() const
bool ActionGroupStateHasBeenSet() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
UpdateAgentActionGroupRequest & WithParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&value)
void SetFunctionSchema(FunctionSchemaT &&value)
const Aws::String & GetAgentVersion() const
void SetAgentId(AgentIdT &&value)
const Aws::String & GetAgentId() const
void SetAgentVersion(AgentVersionT &&value)
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