AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BedrockAgent {
26namespace Model {
28 public:
29 AWS_BEDROCKAGENT_API UpdateFlowResult() = default;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template <typename DescriptionT = Aws::String>
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
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
146 inline FlowStatus GetStatus() const { return m_status; }
147 inline void SetStatus(FlowStatus value) {
148 m_statusHasBeenSet = true;
149 m_status = value;
150 }
152 SetStatus(value);
153 return *this;
154 }
156
158
161 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
162 template <typename CreatedAtT = Aws::Utils::DateTime>
163 void SetCreatedAt(CreatedAtT&& value) {
164 m_createdAtHasBeenSet = true;
165 m_createdAt = std::forward<CreatedAtT>(value);
166 }
167 template <typename CreatedAtT = Aws::Utils::DateTime>
169 SetCreatedAt(std::forward<CreatedAtT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
179 template <typename UpdatedAtT = Aws::Utils::DateTime>
180 void SetUpdatedAt(UpdatedAtT&& value) {
181 m_updatedAtHasBeenSet = true;
182 m_updatedAt = std::forward<UpdatedAtT>(value);
183 }
184 template <typename UpdatedAtT = Aws::Utils::DateTime>
186 SetUpdatedAt(std::forward<UpdatedAtT>(value));
187 return *this;
188 }
190
192
196 inline const Aws::String& GetVersion() const { return m_version; }
197 template <typename VersionT = Aws::String>
198 void SetVersion(VersionT&& value) {
199 m_versionHasBeenSet = true;
200 m_version = std::forward<VersionT>(value);
201 }
202 template <typename VersionT = Aws::String>
204 SetVersion(std::forward<VersionT>(value));
205 return *this;
206 }
208
210
213 inline const FlowDefinition& GetDefinition() const { return m_definition; }
214 template <typename DefinitionT = FlowDefinition>
216 m_definitionHasBeenSet = true;
217 m_definition = std::forward<DefinitionT>(value);
218 }
219 template <typename DefinitionT = FlowDefinition>
221 SetDefinition(std::forward<DefinitionT>(value));
222 return *this;
223 }
225
227
228 inline const Aws::String& GetRequestId() const { return m_requestId; }
229 template <typename RequestIdT = Aws::String>
230 void SetRequestId(RequestIdT&& value) {
231 m_requestIdHasBeenSet = true;
232 m_requestId = std::forward<RequestIdT>(value);
233 }
234 template <typename RequestIdT = Aws::String>
236 SetRequestId(std::forward<RequestIdT>(value));
237 return *this;
238 }
240 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
241
242 private:
243 Aws::String m_name;
244
245 Aws::String m_description;
246
247 Aws::String m_executionRoleArn;
248
249 Aws::String m_customerEncryptionKeyArn;
250
251 Aws::String m_id;
252
253 Aws::String m_arn;
254
256
257 Aws::Utils::DateTime m_createdAt{};
258
259 Aws::Utils::DateTime m_updatedAt{};
260
261 Aws::String m_version;
262
263 FlowDefinition m_definition;
264
265 Aws::String m_requestId;
266 Aws::Http::HttpResponseCode m_HttpResponseCode;
267 bool m_nameHasBeenSet = false;
268 bool m_descriptionHasBeenSet = false;
269 bool m_executionRoleArnHasBeenSet = false;
270 bool m_customerEncryptionKeyArnHasBeenSet = false;
271 bool m_idHasBeenSet = false;
272 bool m_arnHasBeenSet = false;
273 bool m_statusHasBeenSet = false;
274 bool m_createdAtHasBeenSet = false;
275 bool m_updatedAtHasBeenSet = false;
276 bool m_versionHasBeenSet = false;
277 bool m_definitionHasBeenSet = false;
278 bool m_requestIdHasBeenSet = false;
279};
280
281} // namespace Model
282} // namespace BedrockAgent
283} // namespace Aws
AWS_BEDROCKAGENT_API UpdateFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFlowResult & WithCreatedAt(CreatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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