AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAgentActionGroupRequest.h
1
6#pragma once
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>
16#include <utility>
17
18namespace Aws
19{
20namespace BedrockAgent
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_BEDROCKAGENT_API UpdateAgentActionGroupRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateAgentActionGroup"; }
37
38 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
39
40
42
46 inline const ActionGroupExecutor& GetActionGroupExecutor() const { return m_actionGroupExecutor; }
47 inline bool ActionGroupExecutorHasBeenSet() const { return m_actionGroupExecutorHasBeenSet; }
48 template<typename ActionGroupExecutorT = ActionGroupExecutor>
49 void SetActionGroupExecutor(ActionGroupExecutorT&& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = std::forward<ActionGroupExecutorT>(value); }
50 template<typename ActionGroupExecutorT = ActionGroupExecutor>
51 UpdateAgentActionGroupRequest& WithActionGroupExecutor(ActionGroupExecutorT&& value) { SetActionGroupExecutor(std::forward<ActionGroupExecutorT>(value)); return *this;}
53
55
58 inline const Aws::String& GetActionGroupId() const { return m_actionGroupId; }
59 inline bool ActionGroupIdHasBeenSet() const { return m_actionGroupIdHasBeenSet; }
60 template<typename ActionGroupIdT = Aws::String>
61 void SetActionGroupId(ActionGroupIdT&& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = std::forward<ActionGroupIdT>(value); }
62 template<typename ActionGroupIdT = Aws::String>
63 UpdateAgentActionGroupRequest& WithActionGroupId(ActionGroupIdT&& value) { SetActionGroupId(std::forward<ActionGroupIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetActionGroupName() const { return m_actionGroupName; }
71 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
72 template<typename ActionGroupNameT = Aws::String>
73 void SetActionGroupName(ActionGroupNameT&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::forward<ActionGroupNameT>(value); }
74 template<typename ActionGroupNameT = Aws::String>
75 UpdateAgentActionGroupRequest& WithActionGroupName(ActionGroupNameT&& value) { SetActionGroupName(std::forward<ActionGroupNameT>(value)); return *this;}
77
79
85 inline ActionGroupState GetActionGroupState() const { return m_actionGroupState; }
86 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
87 inline void SetActionGroupState(ActionGroupState value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = value; }
90
92
95 inline const Aws::String& GetAgentId() const { return m_agentId; }
96 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
97 template<typename AgentIdT = Aws::String>
98 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
99 template<typename AgentIdT = Aws::String>
100 UpdateAgentActionGroupRequest& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
102
104
108 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
109 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
110 template<typename AgentVersionT = Aws::String>
111 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
112 template<typename AgentVersionT = Aws::String>
113 UpdateAgentActionGroupRequest& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
115
117
124 inline const APISchema& GetApiSchema() const { return m_apiSchema; }
125 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
126 template<typename ApiSchemaT = APISchema>
127 void SetApiSchema(ApiSchemaT&& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = std::forward<ApiSchemaT>(value); }
128 template<typename ApiSchemaT = APISchema>
129 UpdateAgentActionGroupRequest& WithApiSchema(ApiSchemaT&& value) { SetApiSchema(std::forward<ApiSchemaT>(value)); return *this;}
131
133
136 inline const Aws::String& GetDescription() const { return m_description; }
137 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
138 template<typename DescriptionT = Aws::String>
139 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
140 template<typename DescriptionT = Aws::String>
141 UpdateAgentActionGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
143
145
149 inline const FunctionSchema& GetFunctionSchema() const { return m_functionSchema; }
150 inline bool FunctionSchemaHasBeenSet() const { return m_functionSchemaHasBeenSet; }
151 template<typename FunctionSchemaT = FunctionSchema>
152 void SetFunctionSchema(FunctionSchemaT&& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = std::forward<FunctionSchemaT>(value); }
153 template<typename FunctionSchemaT = FunctionSchema>
154 UpdateAgentActionGroupRequest& WithFunctionSchema(FunctionSchemaT&& value) { SetFunctionSchema(std::forward<FunctionSchemaT>(value)); return *this;}
156
158
187 inline ActionGroupSignature GetParentActionGroupSignature() const { return m_parentActionGroupSignature; }
188 inline bool ParentActionGroupSignatureHasBeenSet() const { return m_parentActionGroupSignatureHasBeenSet; }
189 inline void SetParentActionGroupSignature(ActionGroupSignature value) { m_parentActionGroupSignatureHasBeenSet = true; m_parentActionGroupSignature = value; }
192
194
202 inline const Aws::Map<Aws::String, Aws::String>& GetParentActionGroupSignatureParams() const { return m_parentActionGroupSignatureParams; }
203 inline bool ParentActionGroupSignatureParamsHasBeenSet() const { return m_parentActionGroupSignatureParamsHasBeenSet; }
204 template<typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
205 void SetParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT&& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams = std::forward<ParentActionGroupSignatureParamsT>(value); }
206 template<typename ParentActionGroupSignatureParamsT = Aws::Map<Aws::String, Aws::String>>
207 UpdateAgentActionGroupRequest& WithParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT&& value) { SetParentActionGroupSignatureParams(std::forward<ParentActionGroupSignatureParamsT>(value)); return *this;}
208 template<typename ParentActionGroupSignatureParamsKeyT = Aws::String, typename ParentActionGroupSignatureParamsValueT = Aws::String>
209 UpdateAgentActionGroupRequest& AddParentActionGroupSignatureParams(ParentActionGroupSignatureParamsKeyT&& key, ParentActionGroupSignatureParamsValueT&& value) {
210 m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(std::forward<ParentActionGroupSignatureParamsKeyT>(key), std::forward<ParentActionGroupSignatureParamsValueT>(value)); return *this;
211 }
213 private:
214
215 ActionGroupExecutor m_actionGroupExecutor;
216 bool m_actionGroupExecutorHasBeenSet = false;
217
218 Aws::String m_actionGroupId;
219 bool m_actionGroupIdHasBeenSet = false;
220
221 Aws::String m_actionGroupName;
222 bool m_actionGroupNameHasBeenSet = false;
223
225 bool m_actionGroupStateHasBeenSet = false;
226
227 Aws::String m_agentId;
228 bool m_agentIdHasBeenSet = false;
229
230 Aws::String m_agentVersion;
231 bool m_agentVersionHasBeenSet = false;
232
233 APISchema m_apiSchema;
234 bool m_apiSchemaHasBeenSet = false;
235
236 Aws::String m_description;
237 bool m_descriptionHasBeenSet = false;
238
239 FunctionSchema m_functionSchema;
240 bool m_functionSchemaHasBeenSet = false;
241
242 ActionGroupSignature m_parentActionGroupSignature{ActionGroupSignature::NOT_SET};
243 bool m_parentActionGroupSignatureHasBeenSet = false;
244
245 Aws::Map<Aws::String, Aws::String> m_parentActionGroupSignatureParams;
246 bool m_parentActionGroupSignatureParamsHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace BedrockAgent
251} // namespace Aws
UpdateAgentActionGroupRequest & WithFunctionSchema(FunctionSchemaT &&value)
UpdateAgentActionGroupRequest & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateAgentActionGroupRequest & WithActionGroupId(ActionGroupIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParentActionGroupSignatureParams() const
UpdateAgentActionGroupRequest & WithAgentVersion(AgentVersionT &&value)
AWS_BEDROCKAGENT_API UpdateAgentActionGroupRequest()=default
UpdateAgentActionGroupRequest & WithActionGroupState(ActionGroupState value)
UpdateAgentActionGroupRequest & WithApiSchema(ApiSchemaT &&value)
void SetParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&value)
UpdateAgentActionGroupRequest & WithActionGroupName(ActionGroupNameT &&value)
UpdateAgentActionGroupRequest & WithParentActionGroupSignature(ActionGroupSignature value)
UpdateAgentActionGroupRequest & WithAgentId(AgentIdT &&value)
UpdateAgentActionGroupRequest & WithActionGroupExecutor(ActionGroupExecutorT &&value)
UpdateAgentActionGroupRequest & AddParentActionGroupSignatureParams(ParentActionGroupSignatureParamsKeyT &&key, ParentActionGroupSignatureParamsValueT &&value)
UpdateAgentActionGroupRequest & WithParentActionGroupSignatureParams(ParentActionGroupSignatureParamsT &&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