AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateFlowResult.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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent {
25namespace Model {
27 public:
28 AWS_BEDROCKAGENT_API UpdateFlowResult() = default;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 template <typename DescriptionT = Aws::String>
56 m_descriptionHasBeenSet = true;
57 m_description = std::forward<DescriptionT>(value);
58 }
59 template <typename DescriptionT = Aws::String>
61 SetDescription(std::forward<DescriptionT>(value));
62 return *this;
63 }
65
67
74 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
75 template <typename ExecutionRoleArnT = Aws::String>
77 m_executionRoleArnHasBeenSet = true;
78 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
79 }
80 template <typename ExecutionRoleArnT = Aws::String>
82 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
93 template <typename CustomerEncryptionKeyArnT = Aws::String>
95 m_customerEncryptionKeyArnHasBeenSet = true;
96 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
97 }
98 template <typename CustomerEncryptionKeyArnT = Aws::String>
100 SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetId() const { return m_id; }
110 template <typename IdT = Aws::String>
111 void SetId(IdT&& value) {
112 m_idHasBeenSet = true;
113 m_id = std::forward<IdT>(value);
114 }
115 template <typename IdT = Aws::String>
117 SetId(std::forward<IdT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetArn() const { return m_arn; }
127 template <typename ArnT = Aws::String>
128 void SetArn(ArnT&& value) {
129 m_arnHasBeenSet = true;
130 m_arn = std::forward<ArnT>(value);
131 }
132 template <typename ArnT = Aws::String>
134 SetArn(std::forward<ArnT>(value));
135 return *this;
136 }
138
140
145 inline FlowStatus GetStatus() const { return m_status; }
146 inline void SetStatus(FlowStatus value) {
147 m_statusHasBeenSet = true;
148 m_status = value;
149 }
151 SetStatus(value);
152 return *this;
153 }
155
157
160 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
161 template <typename CreatedAtT = Aws::Utils::DateTime>
162 void SetCreatedAt(CreatedAtT&& value) {
163 m_createdAtHasBeenSet = true;
164 m_createdAt = std::forward<CreatedAtT>(value);
165 }
166 template <typename CreatedAtT = Aws::Utils::DateTime>
168 SetCreatedAt(std::forward<CreatedAtT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
178 template <typename UpdatedAtT = Aws::Utils::DateTime>
179 void SetUpdatedAt(UpdatedAtT&& value) {
180 m_updatedAtHasBeenSet = true;
181 m_updatedAt = std::forward<UpdatedAtT>(value);
182 }
183 template <typename UpdatedAtT = Aws::Utils::DateTime>
185 SetUpdatedAt(std::forward<UpdatedAtT>(value));
186 return *this;
187 }
189
191
195 inline const Aws::String& GetVersion() const { return m_version; }
196 template <typename VersionT = Aws::String>
197 void SetVersion(VersionT&& value) {
198 m_versionHasBeenSet = true;
199 m_version = std::forward<VersionT>(value);
200 }
201 template <typename VersionT = Aws::String>
203 SetVersion(std::forward<VersionT>(value));
204 return *this;
205 }
207
209
212 inline const FlowDefinition& GetDefinition() const { return m_definition; }
213 template <typename DefinitionT = FlowDefinition>
215 m_definitionHasBeenSet = true;
216 m_definition = std::forward<DefinitionT>(value);
217 }
218 template <typename DefinitionT = FlowDefinition>
220 SetDefinition(std::forward<DefinitionT>(value));
221 return *this;
222 }
224
226
227 inline const Aws::String& GetRequestId() const { return m_requestId; }
228 template <typename RequestIdT = Aws::String>
229 void SetRequestId(RequestIdT&& value) {
230 m_requestIdHasBeenSet = true;
231 m_requestId = std::forward<RequestIdT>(value);
232 }
233 template <typename RequestIdT = Aws::String>
235 SetRequestId(std::forward<RequestIdT>(value));
236 return *this;
237 }
239 private:
240 Aws::String m_name;
241
242 Aws::String m_description;
243
244 Aws::String m_executionRoleArn;
245
246 Aws::String m_customerEncryptionKeyArn;
247
248 Aws::String m_id;
249
250 Aws::String m_arn;
251
253
254 Aws::Utils::DateTime m_createdAt{};
255
256 Aws::Utils::DateTime m_updatedAt{};
257
258 Aws::String m_version;
259
260 FlowDefinition m_definition;
261
262 Aws::String m_requestId;
263 bool m_nameHasBeenSet = false;
264 bool m_descriptionHasBeenSet = false;
265 bool m_executionRoleArnHasBeenSet = false;
266 bool m_customerEncryptionKeyArnHasBeenSet = false;
267 bool m_idHasBeenSet = false;
268 bool m_arnHasBeenSet = false;
269 bool m_statusHasBeenSet = false;
270 bool m_createdAtHasBeenSet = false;
271 bool m_updatedAtHasBeenSet = false;
272 bool m_versionHasBeenSet = false;
273 bool m_definitionHasBeenSet = false;
274 bool m_requestIdHasBeenSet = false;
275};
276
277} // namespace Model
278} // namespace BedrockAgent
279} // namespace Aws
AWS_BEDROCKAGENT_API UpdateFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFlowResult & WithCreatedAt(CreatedAtT &&value)
UpdateFlowResult & WithDescription(DescriptionT &&value)
UpdateFlowResult & WithId(IdT &&value)
const Aws::String & GetExecutionRoleArn() const
UpdateFlowResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
UpdateFlowResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API UpdateFlowResult()=default
UpdateFlowResult & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateFlowResult & WithExecutionRoleArn(ExecutionRoleArnT &&value)
UpdateFlowResult & WithName(NameT &&value)
UpdateFlowResult & WithDefinition(DefinitionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateFlowResult & WithArn(ArnT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const FlowDefinition & GetDefinition() const
AWS_BEDROCKAGENT_API UpdateFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
UpdateFlowResult & WithVersion(VersionT &&value)
UpdateFlowResult & WithStatus(FlowStatus value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue