AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetFlowResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowDefinition.h>
9#include <aws/bedrock-agent/model/FlowStatus.h>
10#include <aws/bedrock-agent/model/FlowValidation.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace BedrockAgent {
28namespace Model {
30 public:
31 AWS_BEDROCKAGENT_API GetFlowResult() = default;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 template <typename DescriptionT = Aws::String>
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
76 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
77 template <typename ExecutionRoleArnT = Aws::String>
79 m_executionRoleArnHasBeenSet = true;
80 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
81 }
82 template <typename ExecutionRoleArnT = Aws::String>
84 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
95 template <typename CustomerEncryptionKeyArnT = Aws::String>
97 m_customerEncryptionKeyArnHasBeenSet = true;
98 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
99 }
100 template <typename CustomerEncryptionKeyArnT = Aws::String>
102 SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetId() const { return m_id; }
112 template <typename IdT = Aws::String>
113 void SetId(IdT&& value) {
114 m_idHasBeenSet = true;
115 m_id = std::forward<IdT>(value);
116 }
117 template <typename IdT = Aws::String>
119 SetId(std::forward<IdT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetArn() const { return m_arn; }
129 template <typename ArnT = Aws::String>
130 void SetArn(ArnT&& value) {
131 m_arnHasBeenSet = true;
132 m_arn = std::forward<ArnT>(value);
133 }
134 template <typename ArnT = Aws::String>
136 SetArn(std::forward<ArnT>(value));
137 return *this;
138 }
140
142
159 inline FlowStatus GetStatus() const { return m_status; }
160 inline void SetStatus(FlowStatus value) {
161 m_statusHasBeenSet = true;
162 m_status = value;
163 }
165 SetStatus(value);
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
175 template <typename CreatedAtT = Aws::Utils::DateTime>
176 void SetCreatedAt(CreatedAtT&& value) {
177 m_createdAtHasBeenSet = true;
178 m_createdAt = std::forward<CreatedAtT>(value);
179 }
180 template <typename CreatedAtT = Aws::Utils::DateTime>
182 SetCreatedAt(std::forward<CreatedAtT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
192 template <typename UpdatedAtT = Aws::Utils::DateTime>
193 void SetUpdatedAt(UpdatedAtT&& value) {
194 m_updatedAtHasBeenSet = true;
195 m_updatedAt = std::forward<UpdatedAtT>(value);
196 }
197 template <typename UpdatedAtT = Aws::Utils::DateTime>
199 SetUpdatedAt(std::forward<UpdatedAtT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetVersion() const { return m_version; }
209 template <typename VersionT = Aws::String>
210 void SetVersion(VersionT&& value) {
211 m_versionHasBeenSet = true;
212 m_version = std::forward<VersionT>(value);
213 }
214 template <typename VersionT = Aws::String>
216 SetVersion(std::forward<VersionT>(value));
217 return *this;
218 }
220
222
226 inline const FlowDefinition& GetDefinition() const { return m_definition; }
227 template <typename DefinitionT = FlowDefinition>
229 m_definitionHasBeenSet = true;
230 m_definition = std::forward<DefinitionT>(value);
231 }
232 template <typename DefinitionT = FlowDefinition>
234 SetDefinition(std::forward<DefinitionT>(value));
235 return *this;
236 }
238
240
244 inline const Aws::Vector<FlowValidation>& GetValidations() const { return m_validations; }
245 template <typename ValidationsT = Aws::Vector<FlowValidation>>
247 m_validationsHasBeenSet = true;
248 m_validations = std::forward<ValidationsT>(value);
249 }
250 template <typename ValidationsT = Aws::Vector<FlowValidation>>
252 SetValidations(std::forward<ValidationsT>(value));
253 return *this;
254 }
255 template <typename ValidationsT = FlowValidation>
257 m_validationsHasBeenSet = true;
258 m_validations.emplace_back(std::forward<ValidationsT>(value));
259 return *this;
260 }
262
264
265 inline const Aws::String& GetRequestId() const { return m_requestId; }
266 template <typename RequestIdT = Aws::String>
267 void SetRequestId(RequestIdT&& value) {
268 m_requestIdHasBeenSet = true;
269 m_requestId = std::forward<RequestIdT>(value);
270 }
271 template <typename RequestIdT = Aws::String>
273 SetRequestId(std::forward<RequestIdT>(value));
274 return *this;
275 }
277 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
278
279 private:
280 Aws::String m_name;
281
282 Aws::String m_description;
283
284 Aws::String m_executionRoleArn;
285
286 Aws::String m_customerEncryptionKeyArn;
287
288 Aws::String m_id;
289
290 Aws::String m_arn;
291
293
294 Aws::Utils::DateTime m_createdAt{};
295
296 Aws::Utils::DateTime m_updatedAt{};
297
298 Aws::String m_version;
299
300 FlowDefinition m_definition;
301
302 Aws::Vector<FlowValidation> m_validations;
303
304 Aws::String m_requestId;
305 Aws::Http::HttpResponseCode m_HttpResponseCode;
306 bool m_nameHasBeenSet = false;
307 bool m_descriptionHasBeenSet = false;
308 bool m_executionRoleArnHasBeenSet = false;
309 bool m_customerEncryptionKeyArnHasBeenSet = false;
310 bool m_idHasBeenSet = false;
311 bool m_arnHasBeenSet = false;
312 bool m_statusHasBeenSet = false;
313 bool m_createdAtHasBeenSet = false;
314 bool m_updatedAtHasBeenSet = false;
315 bool m_versionHasBeenSet = false;
316 bool m_definitionHasBeenSet = false;
317 bool m_validationsHasBeenSet = false;
318 bool m_requestIdHasBeenSet = false;
319};
320
321} // namespace Model
322} // namespace BedrockAgent
323} // namespace Aws
const Aws::String & GetRequestId() const
const Aws::String & GetArn() const
GetFlowResult & WithVersion(VersionT &&value)
void SetDefinition(DefinitionT &&value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::Vector< FlowValidation > & GetValidations() const
GetFlowResult & WithCreatedAt(CreatedAtT &&value)
const FlowDefinition & GetDefinition() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
GetFlowResult & WithDefinition(DefinitionT &&value)
const Aws::String & GetName() const
void SetValidations(ValidationsT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetFlowResult & WithDescription(DescriptionT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
GetFlowResult & WithRequestId(RequestIdT &&value)
GetFlowResult & AddValidations(ValidationsT &&value)
GetFlowResult & WithStatus(FlowStatus value)
const Aws::String & GetDescription() const
AWS_BEDROCKAGENT_API GetFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
GetFlowResult & WithUpdatedAt(UpdatedAtT &&value)
GetFlowResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
GetFlowResult & WithName(NameT &&value)
AWS_BEDROCKAGENT_API GetFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetExecutionRoleArn() const
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetFlowResult & WithValidations(ValidationsT &&value)
const Aws::String & GetVersion() const
GetFlowResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetId() const
void SetRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_BEDROCKAGENT_API GetFlowResult()=default
GetFlowResult & WithId(IdT &&value)
GetFlowResult & WithArn(ArnT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue