AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
16
17namespace Aws
18{
19namespace BedrockAgent
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_BEDROCKAGENT_API UpdateAgentActionGroupRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateAgentActionGroup"; }
36
37 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
38
39
41
45 inline const ActionGroupExecutor& GetActionGroupExecutor() const{ return m_actionGroupExecutor; }
46 inline bool ActionGroupExecutorHasBeenSet() const { return m_actionGroupExecutorHasBeenSet; }
47 inline void SetActionGroupExecutor(const ActionGroupExecutor& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = value; }
48 inline void SetActionGroupExecutor(ActionGroupExecutor&& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = std::move(value); }
52
54
57 inline const Aws::String& GetActionGroupId() const{ return m_actionGroupId; }
58 inline bool ActionGroupIdHasBeenSet() const { return m_actionGroupIdHasBeenSet; }
59 inline void SetActionGroupId(const Aws::String& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = value; }
60 inline void SetActionGroupId(Aws::String&& value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId = std::move(value); }
61 inline void SetActionGroupId(const char* value) { m_actionGroupIdHasBeenSet = true; m_actionGroupId.assign(value); }
62 inline UpdateAgentActionGroupRequest& WithActionGroupId(const Aws::String& value) { SetActionGroupId(value); return *this;}
63 inline UpdateAgentActionGroupRequest& WithActionGroupId(Aws::String&& value) { SetActionGroupId(std::move(value)); return *this;}
64 inline UpdateAgentActionGroupRequest& WithActionGroupId(const char* value) { SetActionGroupId(value); return *this;}
66
68
71 inline const Aws::String& GetActionGroupName() const{ return m_actionGroupName; }
72 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
73 inline void SetActionGroupName(const Aws::String& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = value; }
74 inline void SetActionGroupName(Aws::String&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::move(value); }
75 inline void SetActionGroupName(const char* value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName.assign(value); }
77 inline UpdateAgentActionGroupRequest& WithActionGroupName(Aws::String&& value) { SetActionGroupName(std::move(value)); return *this;}
78 inline UpdateAgentActionGroupRequest& WithActionGroupName(const char* value) { SetActionGroupName(value); return *this;}
80
82
88 inline const ActionGroupState& GetActionGroupState() const{ return m_actionGroupState; }
89 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
90 inline void SetActionGroupState(const ActionGroupState& value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = value; }
91 inline void SetActionGroupState(ActionGroupState&& value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = std::move(value); }
95
97
100 inline const Aws::String& GetAgentId() const{ return m_agentId; }
101 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
102 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
103 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
104 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
105 inline UpdateAgentActionGroupRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
106 inline UpdateAgentActionGroupRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
107 inline UpdateAgentActionGroupRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;}
109
111
115 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
116 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
117 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
118 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
119 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
120 inline UpdateAgentActionGroupRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
121 inline UpdateAgentActionGroupRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
122 inline UpdateAgentActionGroupRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
124
126
133 inline const APISchema& GetApiSchema() const{ return m_apiSchema; }
134 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
135 inline void SetApiSchema(const APISchema& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = value; }
136 inline void SetApiSchema(APISchema&& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = std::move(value); }
137 inline UpdateAgentActionGroupRequest& WithApiSchema(const APISchema& value) { SetApiSchema(value); return *this;}
138 inline UpdateAgentActionGroupRequest& WithApiSchema(APISchema&& value) { SetApiSchema(std::move(value)); return *this;}
140
142
145 inline const Aws::String& GetDescription() const{ return m_description; }
146 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
147 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
148 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
149 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
150 inline UpdateAgentActionGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
151 inline UpdateAgentActionGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
152 inline UpdateAgentActionGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
154
156
160 inline const FunctionSchema& GetFunctionSchema() const{ return m_functionSchema; }
161 inline bool FunctionSchemaHasBeenSet() const { return m_functionSchemaHasBeenSet; }
162 inline void SetFunctionSchema(const FunctionSchema& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = value; }
163 inline void SetFunctionSchema(FunctionSchema&& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = std::move(value); }
165 inline UpdateAgentActionGroupRequest& WithFunctionSchema(FunctionSchema&& value) { SetFunctionSchema(std::move(value)); return *this;}
167
169
180 inline const ActionGroupSignature& GetParentActionGroupSignature() const{ return m_parentActionGroupSignature; }
181 inline bool ParentActionGroupSignatureHasBeenSet() const { return m_parentActionGroupSignatureHasBeenSet; }
182 inline void SetParentActionGroupSignature(const ActionGroupSignature& value) { m_parentActionGroupSignatureHasBeenSet = true; m_parentActionGroupSignature = value; }
183 inline void SetParentActionGroupSignature(ActionGroupSignature&& value) { m_parentActionGroupSignatureHasBeenSet = true; m_parentActionGroupSignature = std::move(value); }
187 private:
188
189 ActionGroupExecutor m_actionGroupExecutor;
190 bool m_actionGroupExecutorHasBeenSet = false;
191
192 Aws::String m_actionGroupId;
193 bool m_actionGroupIdHasBeenSet = false;
194
195 Aws::String m_actionGroupName;
196 bool m_actionGroupNameHasBeenSet = false;
197
198 ActionGroupState m_actionGroupState;
199 bool m_actionGroupStateHasBeenSet = false;
200
201 Aws::String m_agentId;
202 bool m_agentIdHasBeenSet = false;
203
204 Aws::String m_agentVersion;
205 bool m_agentVersionHasBeenSet = false;
206
207 APISchema m_apiSchema;
208 bool m_apiSchemaHasBeenSet = false;
209
210 Aws::String m_description;
211 bool m_descriptionHasBeenSet = false;
212
213 FunctionSchema m_functionSchema;
214 bool m_functionSchemaHasBeenSet = false;
215
216 ActionGroupSignature m_parentActionGroupSignature;
217 bool m_parentActionGroupSignatureHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace BedrockAgent
222} // namespace Aws
UpdateAgentActionGroupRequest & WithAgentVersion(Aws::String &&value)
UpdateAgentActionGroupRequest & WithApiSchema(APISchema &&value)
UpdateAgentActionGroupRequest & WithParentActionGroupSignature(const ActionGroupSignature &value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateAgentActionGroupRequest & WithActionGroupName(Aws::String &&value)
UpdateAgentActionGroupRequest & WithAgentVersion(const char *value)
UpdateAgentActionGroupRequest & WithAgentVersion(const Aws::String &value)
UpdateAgentActionGroupRequest & WithFunctionSchema(const FunctionSchema &value)
UpdateAgentActionGroupRequest & WithFunctionSchema(FunctionSchema &&value)
UpdateAgentActionGroupRequest & WithAgentId(const Aws::String &value)
UpdateAgentActionGroupRequest & WithActionGroupName(const Aws::String &value)
UpdateAgentActionGroupRequest & WithActionGroupState(const ActionGroupState &value)
UpdateAgentActionGroupRequest & WithParentActionGroupSignature(ActionGroupSignature &&value)
UpdateAgentActionGroupRequest & WithActionGroupExecutor(const ActionGroupExecutor &value)
UpdateAgentActionGroupRequest & WithDescription(const char *value)
UpdateAgentActionGroupRequest & WithDescription(const Aws::String &value)
UpdateAgentActionGroupRequest & WithDescription(Aws::String &&value)
UpdateAgentActionGroupRequest & WithActionGroupState(ActionGroupState &&value)
UpdateAgentActionGroupRequest & WithAgentId(const char *value)
UpdateAgentActionGroupRequest & WithActionGroupName(const char *value)
UpdateAgentActionGroupRequest & WithActionGroupExecutor(ActionGroupExecutor &&value)
UpdateAgentActionGroupRequest & WithApiSchema(const APISchema &value)
UpdateAgentActionGroupRequest & WithAgentId(Aws::String &&value)
UpdateAgentActionGroupRequest & WithActionGroupId(const Aws::String &value)
UpdateAgentActionGroupRequest & WithActionGroupId(const char *value)
UpdateAgentActionGroupRequest & WithActionGroupId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String