AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionGroupInvocationInput.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent-runtime/model/ExecutionType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent-runtime/model/RequestBody.h>
12#include <aws/bedrock-agent-runtime/model/Parameter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgentRuntime
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput();
42 AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetActionGroupName() const{ return m_actionGroupName; }
52 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
53 inline void SetActionGroupName(const Aws::String& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = value; }
54 inline void SetActionGroupName(Aws::String&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::move(value); }
55 inline void SetActionGroupName(const char* value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName.assign(value); }
57 inline ActionGroupInvocationInput& WithActionGroupName(Aws::String&& value) { SetActionGroupName(std::move(value)); return *this;}
58 inline ActionGroupInvocationInput& WithActionGroupName(const char* value) { SetActionGroupName(value); return *this;}
60
62
65 inline const Aws::String& GetApiPath() const{ return m_apiPath; }
66 inline bool ApiPathHasBeenSet() const { return m_apiPathHasBeenSet; }
67 inline void SetApiPath(const Aws::String& value) { m_apiPathHasBeenSet = true; m_apiPath = value; }
68 inline void SetApiPath(Aws::String&& value) { m_apiPathHasBeenSet = true; m_apiPath = std::move(value); }
69 inline void SetApiPath(const char* value) { m_apiPathHasBeenSet = true; m_apiPath.assign(value); }
70 inline ActionGroupInvocationInput& WithApiPath(const Aws::String& value) { SetApiPath(value); return *this;}
71 inline ActionGroupInvocationInput& WithApiPath(Aws::String&& value) { SetApiPath(std::move(value)); return *this;}
72 inline ActionGroupInvocationInput& WithApiPath(const char* value) { SetApiPath(value); return *this;}
74
76
81 inline const ExecutionType& GetExecutionType() const{ return m_executionType; }
82 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
83 inline void SetExecutionType(const ExecutionType& value) { m_executionTypeHasBeenSet = true; m_executionType = value; }
84 inline void SetExecutionType(ExecutionType&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::move(value); }
85 inline ActionGroupInvocationInput& WithExecutionType(const ExecutionType& value) { SetExecutionType(value); return *this;}
86 inline ActionGroupInvocationInput& WithExecutionType(ExecutionType&& value) { SetExecutionType(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetFunction() const{ return m_function; }
94 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
95 inline void SetFunction(const Aws::String& value) { m_functionHasBeenSet = true; m_function = value; }
96 inline void SetFunction(Aws::String&& value) { m_functionHasBeenSet = true; m_function = std::move(value); }
97 inline void SetFunction(const char* value) { m_functionHasBeenSet = true; m_function.assign(value); }
98 inline ActionGroupInvocationInput& WithFunction(const Aws::String& value) { SetFunction(value); return *this;}
99 inline ActionGroupInvocationInput& WithFunction(Aws::String&& value) { SetFunction(std::move(value)); return *this;}
100 inline ActionGroupInvocationInput& WithFunction(const char* value) { SetFunction(value); return *this;}
102
104
108 inline const Aws::String& GetInvocationId() const{ return m_invocationId; }
109 inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; }
110 inline void SetInvocationId(const Aws::String& value) { m_invocationIdHasBeenSet = true; m_invocationId = value; }
111 inline void SetInvocationId(Aws::String&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::move(value); }
112 inline void SetInvocationId(const char* value) { m_invocationIdHasBeenSet = true; m_invocationId.assign(value); }
113 inline ActionGroupInvocationInput& WithInvocationId(const Aws::String& value) { SetInvocationId(value); return *this;}
114 inline ActionGroupInvocationInput& WithInvocationId(Aws::String&& value) { SetInvocationId(std::move(value)); return *this;}
115 inline ActionGroupInvocationInput& WithInvocationId(const char* value) { SetInvocationId(value); return *this;}
117
119
122 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
123 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
124 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
125 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
127 inline ActionGroupInvocationInput& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
128 inline ActionGroupInvocationInput& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
129 inline ActionGroupInvocationInput& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
131
133
136 inline const RequestBody& GetRequestBody() const{ return m_requestBody; }
137 inline bool RequestBodyHasBeenSet() const { return m_requestBodyHasBeenSet; }
138 inline void SetRequestBody(const RequestBody& value) { m_requestBodyHasBeenSet = true; m_requestBody = value; }
139 inline void SetRequestBody(RequestBody&& value) { m_requestBodyHasBeenSet = true; m_requestBody = std::move(value); }
140 inline ActionGroupInvocationInput& WithRequestBody(const RequestBody& value) { SetRequestBody(value); return *this;}
141 inline ActionGroupInvocationInput& WithRequestBody(RequestBody&& value) { SetRequestBody(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetVerb() const{ return m_verb; }
149 inline bool VerbHasBeenSet() const { return m_verbHasBeenSet; }
150 inline void SetVerb(const Aws::String& value) { m_verbHasBeenSet = true; m_verb = value; }
151 inline void SetVerb(Aws::String&& value) { m_verbHasBeenSet = true; m_verb = std::move(value); }
152 inline void SetVerb(const char* value) { m_verbHasBeenSet = true; m_verb.assign(value); }
153 inline ActionGroupInvocationInput& WithVerb(const Aws::String& value) { SetVerb(value); return *this;}
154 inline ActionGroupInvocationInput& WithVerb(Aws::String&& value) { SetVerb(std::move(value)); return *this;}
155 inline ActionGroupInvocationInput& WithVerb(const char* value) { SetVerb(value); return *this;}
157 private:
158
159 Aws::String m_actionGroupName;
160 bool m_actionGroupNameHasBeenSet = false;
161
162 Aws::String m_apiPath;
163 bool m_apiPathHasBeenSet = false;
164
165 ExecutionType m_executionType;
166 bool m_executionTypeHasBeenSet = false;
167
168 Aws::String m_function;
169 bool m_functionHasBeenSet = false;
170
171 Aws::String m_invocationId;
172 bool m_invocationIdHasBeenSet = false;
173
174 Aws::Vector<Parameter> m_parameters;
175 bool m_parametersHasBeenSet = false;
176
177 RequestBody m_requestBody;
178 bool m_requestBodyHasBeenSet = false;
179
180 Aws::String m_verb;
181 bool m_verbHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace BedrockAgentRuntime
186} // namespace Aws
ActionGroupInvocationInput & WithFunction(const Aws::String &value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
ActionGroupInvocationInput & WithVerb(Aws::String &&value)
AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput(Aws::Utils::Json::JsonView jsonValue)
ActionGroupInvocationInput & WithFunction(Aws::String &&value)
ActionGroupInvocationInput & WithRequestBody(RequestBody &&value)
ActionGroupInvocationInput & WithParameters(Aws::Vector< Parameter > &&value)
ActionGroupInvocationInput & WithFunction(const char *value)
ActionGroupInvocationInput & WithApiPath(const Aws::String &value)
ActionGroupInvocationInput & WithApiPath(Aws::String &&value)
ActionGroupInvocationInput & WithActionGroupName(const Aws::String &value)
ActionGroupInvocationInput & WithExecutionType(ExecutionType &&value)
ActionGroupInvocationInput & WithVerb(const Aws::String &value)
ActionGroupInvocationInput & AddParameters(const Parameter &value)
ActionGroupInvocationInput & WithActionGroupName(Aws::String &&value)
ActionGroupInvocationInput & WithActionGroupName(const char *value)
ActionGroupInvocationInput & WithParameters(const Aws::Vector< Parameter > &value)
ActionGroupInvocationInput & AddParameters(Parameter &&value)
AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionGroupInvocationInput & WithExecutionType(const ExecutionType &value)
ActionGroupInvocationInput & WithInvocationId(Aws::String &&value)
ActionGroupInvocationInput & WithInvocationId(const Aws::String &value)
ActionGroupInvocationInput & WithRequestBody(const RequestBody &value)
ActionGroupInvocationInput & WithInvocationId(const char *value)
ActionGroupInvocationInput & WithApiPath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue