AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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
41 {
42 public:
43 AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput() = default;
44 AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput(Aws::Utils::Json::JsonView jsonValue);
45 AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetActionGroupName() const { return m_actionGroupName; }
54 inline bool ActionGroupNameHasBeenSet() const { return m_actionGroupNameHasBeenSet; }
55 template<typename ActionGroupNameT = Aws::String>
56 void SetActionGroupName(ActionGroupNameT&& value) { m_actionGroupNameHasBeenSet = true; m_actionGroupName = std::forward<ActionGroupNameT>(value); }
57 template<typename ActionGroupNameT = Aws::String>
58 ActionGroupInvocationInput& WithActionGroupName(ActionGroupNameT&& value) { SetActionGroupName(std::forward<ActionGroupNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetApiPath() const { return m_apiPath; }
66 inline bool ApiPathHasBeenSet() const { return m_apiPathHasBeenSet; }
67 template<typename ApiPathT = Aws::String>
68 void SetApiPath(ApiPathT&& value) { m_apiPathHasBeenSet = true; m_apiPath = std::forward<ApiPathT>(value); }
69 template<typename ApiPathT = Aws::String>
70 ActionGroupInvocationInput& WithApiPath(ApiPathT&& value) { SetApiPath(std::forward<ApiPathT>(value)); return *this;}
72
74
79 inline ExecutionType GetExecutionType() const { return m_executionType; }
80 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
81 inline void SetExecutionType(ExecutionType value) { m_executionTypeHasBeenSet = true; m_executionType = value; }
84
86
89 inline const Aws::String& GetFunction() const { return m_function; }
90 inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; }
91 template<typename FunctionT = Aws::String>
92 void SetFunction(FunctionT&& value) { m_functionHasBeenSet = true; m_function = std::forward<FunctionT>(value); }
93 template<typename FunctionT = Aws::String>
94 ActionGroupInvocationInput& WithFunction(FunctionT&& value) { SetFunction(std::forward<FunctionT>(value)); return *this;}
96
98
102 inline const Aws::String& GetInvocationId() const { return m_invocationId; }
103 inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; }
104 template<typename InvocationIdT = Aws::String>
105 void SetInvocationId(InvocationIdT&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::forward<InvocationIdT>(value); }
106 template<typename InvocationIdT = Aws::String>
107 ActionGroupInvocationInput& WithInvocationId(InvocationIdT&& value) { SetInvocationId(std::forward<InvocationIdT>(value)); return *this;}
109
111
114 inline const Aws::Vector<Parameter>& GetParameters() const { return m_parameters; }
115 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
116 template<typename ParametersT = Aws::Vector<Parameter>>
117 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
118 template<typename ParametersT = Aws::Vector<Parameter>>
119 ActionGroupInvocationInput& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
120 template<typename ParametersT = Parameter>
121 ActionGroupInvocationInput& AddParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters.emplace_back(std::forward<ParametersT>(value)); return *this; }
123
125
128 inline const RequestBody& GetRequestBody() const { return m_requestBody; }
129 inline bool RequestBodyHasBeenSet() const { return m_requestBodyHasBeenSet; }
130 template<typename RequestBodyT = RequestBody>
131 void SetRequestBody(RequestBodyT&& value) { m_requestBodyHasBeenSet = true; m_requestBody = std::forward<RequestBodyT>(value); }
132 template<typename RequestBodyT = RequestBody>
133 ActionGroupInvocationInput& WithRequestBody(RequestBodyT&& value) { SetRequestBody(std::forward<RequestBodyT>(value)); return *this;}
135
137
140 inline const Aws::String& GetVerb() const { return m_verb; }
141 inline bool VerbHasBeenSet() const { return m_verbHasBeenSet; }
142 template<typename VerbT = Aws::String>
143 void SetVerb(VerbT&& value) { m_verbHasBeenSet = true; m_verb = std::forward<VerbT>(value); }
144 template<typename VerbT = Aws::String>
145 ActionGroupInvocationInput& WithVerb(VerbT&& value) { SetVerb(std::forward<VerbT>(value)); return *this;}
147 private:
148
149 Aws::String m_actionGroupName;
150 bool m_actionGroupNameHasBeenSet = false;
151
152 Aws::String m_apiPath;
153 bool m_apiPathHasBeenSet = false;
154
155 ExecutionType m_executionType{ExecutionType::NOT_SET};
156 bool m_executionTypeHasBeenSet = false;
157
158 Aws::String m_function;
159 bool m_functionHasBeenSet = false;
160
161 Aws::String m_invocationId;
162 bool m_invocationIdHasBeenSet = false;
163
164 Aws::Vector<Parameter> m_parameters;
165 bool m_parametersHasBeenSet = false;
166
167 RequestBody m_requestBody;
168 bool m_requestBodyHasBeenSet = false;
169
170 Aws::String m_verb;
171 bool m_verbHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace BedrockAgentRuntime
176} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput(Aws::Utils::Json::JsonView jsonValue)
ActionGroupInvocationInput & WithFunction(FunctionT &&value)
AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput()=default
ActionGroupInvocationInput & WithInvocationId(InvocationIdT &&value)
ActionGroupInvocationInput & AddParameters(ParametersT &&value)
ActionGroupInvocationInput & WithApiPath(ApiPathT &&value)
ActionGroupInvocationInput & WithParameters(ParametersT &&value)
ActionGroupInvocationInput & WithActionGroupName(ActionGroupNameT &&value)
ActionGroupInvocationInput & WithExecutionType(ExecutionType value)
AWS_BEDROCKAGENTRUNTIME_API ActionGroupInvocationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionGroupInvocationInput & WithRequestBody(RequestBodyT &&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