AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAgentActionGroupRequest.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#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace BedrockAgent
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_BEDROCKAGENT_API CreateAgentActionGroupRequest();
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 "CreateAgentActionGroup"; }
37
38 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
39
40
42
47 inline const ActionGroupExecutor& GetActionGroupExecutor() const{ return m_actionGroupExecutor; }
48 inline bool ActionGroupExecutorHasBeenSet() const { return m_actionGroupExecutorHasBeenSet; }
49 inline void SetActionGroupExecutor(const ActionGroupExecutor& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = value; }
50 inline void SetActionGroupExecutor(ActionGroupExecutor&& value) { m_actionGroupExecutorHasBeenSet = true; m_actionGroupExecutor = std::move(value); }
54
56
59 inline const Aws::String& GetActionGroupName() const{ return m_actionGroupName; }
60 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
61 inline void SetActionGroupName(const Aws::String& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = value; }
62 inline void SetActionGroupName(Aws::String&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::move(value); }
63 inline void SetActionGroupName(const char* value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName.assign(value); }
65 inline CreateAgentActionGroupRequest& WithActionGroupName(Aws::String&& value) { SetActionGroupName(std::move(value)); return *this;}
66 inline CreateAgentActionGroupRequest& WithActionGroupName(const char* value) { SetActionGroupName(value); return *this;}
68
70
76 inline const ActionGroupState& GetActionGroupState() const{ return m_actionGroupState; }
77 inline bool ActionGroupStateHasBeenSet() const { return m_actionGroupStateHasBeenSet; }
78 inline void SetActionGroupState(const ActionGroupState& value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = value; }
79 inline void SetActionGroupState(ActionGroupState&& value) { m_actionGroupStateHasBeenSet = true; m_actionGroupState = std::move(value); }
83
85
88 inline const Aws::String& GetAgentId() const{ return m_agentId; }
89 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
90 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
91 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
92 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
93 inline CreateAgentActionGroupRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
94 inline CreateAgentActionGroupRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
95 inline CreateAgentActionGroupRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;}
97
99
102 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
103 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
104 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
105 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
106 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
107 inline CreateAgentActionGroupRequest& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
108 inline CreateAgentActionGroupRequest& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
109 inline CreateAgentActionGroupRequest& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
111
113
120 inline const APISchema& GetApiSchema() const{ return m_apiSchema; }
121 inline bool ApiSchemaHasBeenSet() const { return m_apiSchemaHasBeenSet; }
122 inline void SetApiSchema(const APISchema& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = value; }
123 inline void SetApiSchema(APISchema&& value) { m_apiSchemaHasBeenSet = true; m_apiSchema = std::move(value); }
124 inline CreateAgentActionGroupRequest& WithApiSchema(const APISchema& value) { SetApiSchema(value); return *this;}
125 inline CreateAgentActionGroupRequest& WithApiSchema(APISchema&& value) { SetApiSchema(std::move(value)); return *this;}
127
129
136 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
137 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
138 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
139 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
140 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
141 inline CreateAgentActionGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
142 inline CreateAgentActionGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
143 inline CreateAgentActionGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
145
147
150 inline const Aws::String& GetDescription() const{ return m_description; }
151 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
152 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
153 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
154 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
155 inline CreateAgentActionGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
156 inline CreateAgentActionGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
157 inline CreateAgentActionGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
159
161
165 inline const FunctionSchema& GetFunctionSchema() const{ return m_functionSchema; }
166 inline bool FunctionSchemaHasBeenSet() const { return m_functionSchemaHasBeenSet; }
167 inline void SetFunctionSchema(const FunctionSchema& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = value; }
168 inline void SetFunctionSchema(FunctionSchema&& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = std::move(value); }
170 inline CreateAgentActionGroupRequest& WithFunctionSchema(FunctionSchema&& value) { SetFunctionSchema(std::move(value)); return *this;}
172
174
189 inline const ActionGroupSignature& GetParentActionGroupSignature() const{ return m_parentActionGroupSignature; }
190 inline bool ParentActionGroupSignatureHasBeenSet() const { return m_parentActionGroupSignatureHasBeenSet; }
191 inline void SetParentActionGroupSignature(const ActionGroupSignature& value) { m_parentActionGroupSignatureHasBeenSet = true; m_parentActionGroupSignature = value; }
192 inline void SetParentActionGroupSignature(ActionGroupSignature&& value) { m_parentActionGroupSignatureHasBeenSet = true; m_parentActionGroupSignature = std::move(value); }
196 private:
197
198 ActionGroupExecutor m_actionGroupExecutor;
199 bool m_actionGroupExecutorHasBeenSet = false;
200
201 Aws::String m_actionGroupName;
202 bool m_actionGroupNameHasBeenSet = false;
203
204 ActionGroupState m_actionGroupState;
205 bool m_actionGroupStateHasBeenSet = false;
206
207 Aws::String m_agentId;
208 bool m_agentIdHasBeenSet = false;
209
210 Aws::String m_agentVersion;
211 bool m_agentVersionHasBeenSet = false;
212
213 APISchema m_apiSchema;
214 bool m_apiSchemaHasBeenSet = false;
215
216 Aws::String m_clientToken;
217 bool m_clientTokenHasBeenSet = false;
218
219 Aws::String m_description;
220 bool m_descriptionHasBeenSet = false;
221
222 FunctionSchema m_functionSchema;
223 bool m_functionSchemaHasBeenSet = false;
224
225 ActionGroupSignature m_parentActionGroupSignature;
226 bool m_parentActionGroupSignatureHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace BedrockAgent
231} // namespace Aws
CreateAgentActionGroupRequest & WithActionGroupState(const ActionGroupState &value)
CreateAgentActionGroupRequest & WithAgentVersion(const Aws::String &value)
CreateAgentActionGroupRequest & WithDescription(Aws::String &&value)
CreateAgentActionGroupRequest & WithAgentId(const Aws::String &value)
CreateAgentActionGroupRequest & WithAgentVersion(const char *value)
CreateAgentActionGroupRequest & WithAgentVersion(Aws::String &&value)
CreateAgentActionGroupRequest & WithDescription(const char *value)
CreateAgentActionGroupRequest & WithActionGroupState(ActionGroupState &&value)
CreateAgentActionGroupRequest & WithActionGroupExecutor(ActionGroupExecutor &&value)
CreateAgentActionGroupRequest & WithAgentId(const char *value)
CreateAgentActionGroupRequest & WithActionGroupName(const Aws::String &value)
CreateAgentActionGroupRequest & WithParentActionGroupSignature(ActionGroupSignature &&value)
CreateAgentActionGroupRequest & WithFunctionSchema(FunctionSchema &&value)
CreateAgentActionGroupRequest & WithActionGroupName(Aws::String &&value)
CreateAgentActionGroupRequest & WithAgentId(Aws::String &&value)
CreateAgentActionGroupRequest & WithActionGroupExecutor(const ActionGroupExecutor &value)
CreateAgentActionGroupRequest & WithActionGroupName(const char *value)
CreateAgentActionGroupRequest & WithApiSchema(APISchema &&value)
CreateAgentActionGroupRequest & WithFunctionSchema(const FunctionSchema &value)
CreateAgentActionGroupRequest & WithApiSchema(const APISchema &value)
CreateAgentActionGroupRequest & WithClientToken(Aws::String &&value)
CreateAgentActionGroupRequest & WithDescription(const Aws::String &value)
CreateAgentActionGroupRequest & WithClientToken(const Aws::String &value)
CreateAgentActionGroupRequest & WithClientToken(const char *value)
CreateAgentActionGroupRequest & WithParentActionGroupSignature(const ActionGroupSignature &value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String