AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace BedrockAgent {
27namespace Model {
29 public:
30 AWS_BEDROCKAGENT_API GetFlowResult() = default;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 template <typename DescriptionT = Aws::String>
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
75 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
76 template <typename ExecutionRoleArnT = Aws::String>
78 m_executionRoleArnHasBeenSet = true;
79 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
80 }
81 template <typename ExecutionRoleArnT = Aws::String>
83 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
94 template <typename CustomerEncryptionKeyArnT = Aws::String>
96 m_customerEncryptionKeyArnHasBeenSet = true;
97 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
98 }
99 template <typename CustomerEncryptionKeyArnT = Aws::String>
101 SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetId() const { return m_id; }
111 template <typename IdT = Aws::String>
112 void SetId(IdT&& value) {
113 m_idHasBeenSet = true;
114 m_id = std::forward<IdT>(value);
115 }
116 template <typename IdT = Aws::String>
118 SetId(std::forward<IdT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetArn() const { return m_arn; }
128 template <typename ArnT = Aws::String>
129 void SetArn(ArnT&& value) {
130 m_arnHasBeenSet = true;
131 m_arn = std::forward<ArnT>(value);
132 }
133 template <typename ArnT = Aws::String>
135 SetArn(std::forward<ArnT>(value));
136 return *this;
137 }
139
141
158 inline FlowStatus GetStatus() const { return m_status; }
159 inline void SetStatus(FlowStatus value) {
160 m_statusHasBeenSet = true;
161 m_status = value;
162 }
164 SetStatus(value);
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
174 template <typename CreatedAtT = Aws::Utils::DateTime>
175 void SetCreatedAt(CreatedAtT&& value) {
176 m_createdAtHasBeenSet = true;
177 m_createdAt = std::forward<CreatedAtT>(value);
178 }
179 template <typename CreatedAtT = Aws::Utils::DateTime>
181 SetCreatedAt(std::forward<CreatedAtT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
191 template <typename UpdatedAtT = Aws::Utils::DateTime>
192 void SetUpdatedAt(UpdatedAtT&& value) {
193 m_updatedAtHasBeenSet = true;
194 m_updatedAt = std::forward<UpdatedAtT>(value);
195 }
196 template <typename UpdatedAtT = Aws::Utils::DateTime>
198 SetUpdatedAt(std::forward<UpdatedAtT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::String& GetVersion() const { return m_version; }
208 template <typename VersionT = Aws::String>
209 void SetVersion(VersionT&& value) {
210 m_versionHasBeenSet = true;
211 m_version = std::forward<VersionT>(value);
212 }
213 template <typename VersionT = Aws::String>
215 SetVersion(std::forward<VersionT>(value));
216 return *this;
217 }
219
221
225 inline const FlowDefinition& GetDefinition() const { return m_definition; }
226 template <typename DefinitionT = FlowDefinition>
228 m_definitionHasBeenSet = true;
229 m_definition = std::forward<DefinitionT>(value);
230 }
231 template <typename DefinitionT = FlowDefinition>
233 SetDefinition(std::forward<DefinitionT>(value));
234 return *this;
235 }
237
239
243 inline const Aws::Vector<FlowValidation>& GetValidations() const { return m_validations; }
244 template <typename ValidationsT = Aws::Vector<FlowValidation>>
246 m_validationsHasBeenSet = true;
247 m_validations = std::forward<ValidationsT>(value);
248 }
249 template <typename ValidationsT = Aws::Vector<FlowValidation>>
251 SetValidations(std::forward<ValidationsT>(value));
252 return *this;
253 }
254 template <typename ValidationsT = FlowValidation>
256 m_validationsHasBeenSet = true;
257 m_validations.emplace_back(std::forward<ValidationsT>(value));
258 return *this;
259 }
261
263
264 inline const Aws::String& GetRequestId() const { return m_requestId; }
265 template <typename RequestIdT = Aws::String>
266 void SetRequestId(RequestIdT&& value) {
267 m_requestIdHasBeenSet = true;
268 m_requestId = std::forward<RequestIdT>(value);
269 }
270 template <typename RequestIdT = Aws::String>
272 SetRequestId(std::forward<RequestIdT>(value));
273 return *this;
274 }
276 private:
277 Aws::String m_name;
278
279 Aws::String m_description;
280
281 Aws::String m_executionRoleArn;
282
283 Aws::String m_customerEncryptionKeyArn;
284
285 Aws::String m_id;
286
287 Aws::String m_arn;
288
290
291 Aws::Utils::DateTime m_createdAt{};
292
293 Aws::Utils::DateTime m_updatedAt{};
294
295 Aws::String m_version;
296
297 FlowDefinition m_definition;
298
299 Aws::Vector<FlowValidation> m_validations;
300
301 Aws::String m_requestId;
302 bool m_nameHasBeenSet = false;
303 bool m_descriptionHasBeenSet = false;
304 bool m_executionRoleArnHasBeenSet = false;
305 bool m_customerEncryptionKeyArnHasBeenSet = false;
306 bool m_idHasBeenSet = false;
307 bool m_arnHasBeenSet = false;
308 bool m_statusHasBeenSet = false;
309 bool m_createdAtHasBeenSet = false;
310 bool m_updatedAtHasBeenSet = false;
311 bool m_versionHasBeenSet = false;
312 bool m_definitionHasBeenSet = false;
313 bool m_validationsHasBeenSet = false;
314 bool m_requestIdHasBeenSet = false;
315};
316
317} // namespace Model
318} // namespace BedrockAgent
319} // 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)
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