AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeFlowResult.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/DestinationFlowConfig.h>
9#include <aws/appflow/model/ExecutionDetails.h>
10#include <aws/appflow/model/FlowStatus.h>
11#include <aws/appflow/model/MetadataCatalogConfig.h>
12#include <aws/appflow/model/MetadataCatalogDetail.h>
13#include <aws/appflow/model/SourceFlowConfig.h>
14#include <aws/appflow/model/Task.h>
15#include <aws/appflow/model/TriggerConfig.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/core/utils/memory/stl/AWSString.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace Appflow {
33namespace Model {
35 public:
36 AWS_APPFLOW_API DescribeFlowResult() = default;
39
41
44 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
45 template <typename FlowArnT = Aws::String>
46 void SetFlowArn(FlowArnT&& value) {
47 m_flowArnHasBeenSet = true;
48 m_flowArn = std::forward<FlowArnT>(value);
49 }
50 template <typename FlowArnT = Aws::String>
51 DescribeFlowResult& WithFlowArn(FlowArnT&& value) {
52 SetFlowArn(std::forward<FlowArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 template <typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) {
64 m_descriptionHasBeenSet = true;
65 m_description = std::forward<DescriptionT>(value);
66 }
67 template <typename DescriptionT = Aws::String>
68 DescribeFlowResult& WithDescription(DescriptionT&& value) {
69 SetDescription(std::forward<DescriptionT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetFlowName() const { return m_flowName; }
80 template <typename FlowNameT = Aws::String>
81 void SetFlowName(FlowNameT&& value) {
82 m_flowNameHasBeenSet = true;
83 m_flowName = std::forward<FlowNameT>(value);
84 }
85 template <typename FlowNameT = Aws::String>
86 DescribeFlowResult& WithFlowName(FlowNameT&& value) {
87 SetFlowName(std::forward<FlowNameT>(value));
88 return *this;
89 }
91
93
99 inline const Aws::String& GetKmsArn() const { return m_kmsArn; }
100 template <typename KmsArnT = Aws::String>
101 void SetKmsArn(KmsArnT&& value) {
102 m_kmsArnHasBeenSet = true;
103 m_kmsArn = std::forward<KmsArnT>(value);
104 }
105 template <typename KmsArnT = Aws::String>
106 DescribeFlowResult& WithKmsArn(KmsArnT&& value) {
107 SetKmsArn(std::forward<KmsArnT>(value));
108 return *this;
109 }
111
113
116 inline FlowStatus GetFlowStatus() const { return m_flowStatus; }
117 inline void SetFlowStatus(FlowStatus value) {
118 m_flowStatusHasBeenSet = true;
119 m_flowStatus = value;
120 }
122 SetFlowStatus(value);
123 return *this;
124 }
126
128
132 inline const Aws::String& GetFlowStatusMessage() const { return m_flowStatusMessage; }
133 template <typename FlowStatusMessageT = Aws::String>
134 void SetFlowStatusMessage(FlowStatusMessageT&& value) {
135 m_flowStatusMessageHasBeenSet = true;
136 m_flowStatusMessage = std::forward<FlowStatusMessageT>(value);
137 }
138 template <typename FlowStatusMessageT = Aws::String>
139 DescribeFlowResult& WithFlowStatusMessage(FlowStatusMessageT&& value) {
140 SetFlowStatusMessage(std::forward<FlowStatusMessageT>(value));
141 return *this;
142 }
144
146
150 inline const SourceFlowConfig& GetSourceFlowConfig() const { return m_sourceFlowConfig; }
151 template <typename SourceFlowConfigT = SourceFlowConfig>
152 void SetSourceFlowConfig(SourceFlowConfigT&& value) {
153 m_sourceFlowConfigHasBeenSet = true;
154 m_sourceFlowConfig = std::forward<SourceFlowConfigT>(value);
155 }
156 template <typename SourceFlowConfigT = SourceFlowConfig>
157 DescribeFlowResult& WithSourceFlowConfig(SourceFlowConfigT&& value) {
158 SetSourceFlowConfig(std::forward<SourceFlowConfigT>(value));
159 return *this;
160 }
162
164
168 inline const Aws::Vector<DestinationFlowConfig>& GetDestinationFlowConfigList() const { return m_destinationFlowConfigList; }
169 template <typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
170 void SetDestinationFlowConfigList(DestinationFlowConfigListT&& value) {
171 m_destinationFlowConfigListHasBeenSet = true;
172 m_destinationFlowConfigList = std::forward<DestinationFlowConfigListT>(value);
173 }
174 template <typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
175 DescribeFlowResult& WithDestinationFlowConfigList(DestinationFlowConfigListT&& value) {
176 SetDestinationFlowConfigList(std::forward<DestinationFlowConfigListT>(value));
177 return *this;
178 }
179 template <typename DestinationFlowConfigListT = DestinationFlowConfig>
180 DescribeFlowResult& AddDestinationFlowConfigList(DestinationFlowConfigListT&& value) {
181 m_destinationFlowConfigListHasBeenSet = true;
182 m_destinationFlowConfigList.emplace_back(std::forward<DestinationFlowConfigListT>(value));
183 return *this;
184 }
186
188
191 inline const ExecutionDetails& GetLastRunExecutionDetails() const { return m_lastRunExecutionDetails; }
192 template <typename LastRunExecutionDetailsT = ExecutionDetails>
193 void SetLastRunExecutionDetails(LastRunExecutionDetailsT&& value) {
194 m_lastRunExecutionDetailsHasBeenSet = true;
195 m_lastRunExecutionDetails = std::forward<LastRunExecutionDetailsT>(value);
196 }
197 template <typename LastRunExecutionDetailsT = ExecutionDetails>
198 DescribeFlowResult& WithLastRunExecutionDetails(LastRunExecutionDetailsT&& value) {
199 SetLastRunExecutionDetails(std::forward<LastRunExecutionDetailsT>(value));
200 return *this;
201 }
203
205
208 inline const TriggerConfig& GetTriggerConfig() const { return m_triggerConfig; }
209 template <typename TriggerConfigT = TriggerConfig>
210 void SetTriggerConfig(TriggerConfigT&& value) {
211 m_triggerConfigHasBeenSet = true;
212 m_triggerConfig = std::forward<TriggerConfigT>(value);
213 }
214 template <typename TriggerConfigT = TriggerConfig>
215 DescribeFlowResult& WithTriggerConfig(TriggerConfigT&& value) {
216 SetTriggerConfig(std::forward<TriggerConfigT>(value));
217 return *this;
218 }
220
222
226 inline const Aws::Vector<Task>& GetTasks() const { return m_tasks; }
227 template <typename TasksT = Aws::Vector<Task>>
228 void SetTasks(TasksT&& value) {
229 m_tasksHasBeenSet = true;
230 m_tasks = std::forward<TasksT>(value);
231 }
232 template <typename TasksT = Aws::Vector<Task>>
233 DescribeFlowResult& WithTasks(TasksT&& value) {
234 SetTasks(std::forward<TasksT>(value));
235 return *this;
236 }
237 template <typename TasksT = Task>
238 DescribeFlowResult& AddTasks(TasksT&& value) {
239 m_tasksHasBeenSet = true;
240 m_tasks.emplace_back(std::forward<TasksT>(value));
241 return *this;
242 }
244
246
249 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
250 template <typename CreatedAtT = Aws::Utils::DateTime>
251 void SetCreatedAt(CreatedAtT&& value) {
252 m_createdAtHasBeenSet = true;
253 m_createdAt = std::forward<CreatedAtT>(value);
254 }
255 template <typename CreatedAtT = Aws::Utils::DateTime>
256 DescribeFlowResult& WithCreatedAt(CreatedAtT&& value) {
257 SetCreatedAt(std::forward<CreatedAtT>(value));
258 return *this;
259 }
261
263
266 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
267 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
268 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
269 m_lastUpdatedAtHasBeenSet = true;
270 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
271 }
272 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
273 DescribeFlowResult& WithLastUpdatedAt(LastUpdatedAtT&& value) {
274 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
275 return *this;
276 }
278
280
283 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
284 template <typename CreatedByT = Aws::String>
285 void SetCreatedBy(CreatedByT&& value) {
286 m_createdByHasBeenSet = true;
287 m_createdBy = std::forward<CreatedByT>(value);
288 }
289 template <typename CreatedByT = Aws::String>
290 DescribeFlowResult& WithCreatedBy(CreatedByT&& value) {
291 SetCreatedBy(std::forward<CreatedByT>(value));
292 return *this;
293 }
295
297
301 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
302 template <typename LastUpdatedByT = Aws::String>
303 void SetLastUpdatedBy(LastUpdatedByT&& value) {
304 m_lastUpdatedByHasBeenSet = true;
305 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
306 }
307 template <typename LastUpdatedByT = Aws::String>
308 DescribeFlowResult& WithLastUpdatedBy(LastUpdatedByT&& value) {
309 SetLastUpdatedBy(std::forward<LastUpdatedByT>(value));
310 return *this;
311 }
313
315
318 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
319 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
320 void SetTags(TagsT&& value) {
321 m_tagsHasBeenSet = true;
322 m_tags = std::forward<TagsT>(value);
323 }
324 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
325 DescribeFlowResult& WithTags(TagsT&& value) {
326 SetTags(std::forward<TagsT>(value));
327 return *this;
328 }
329 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
330 DescribeFlowResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
331 m_tagsHasBeenSet = true;
332 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
333 return *this;
334 }
336
338
343 inline const MetadataCatalogConfig& GetMetadataCatalogConfig() const { return m_metadataCatalogConfig; }
344 template <typename MetadataCatalogConfigT = MetadataCatalogConfig>
345 void SetMetadataCatalogConfig(MetadataCatalogConfigT&& value) {
346 m_metadataCatalogConfigHasBeenSet = true;
347 m_metadataCatalogConfig = std::forward<MetadataCatalogConfigT>(value);
348 }
349 template <typename MetadataCatalogConfigT = MetadataCatalogConfig>
350 DescribeFlowResult& WithMetadataCatalogConfig(MetadataCatalogConfigT&& value) {
351 SetMetadataCatalogConfig(std::forward<MetadataCatalogConfigT>(value));
352 return *this;
353 }
355
357
361 inline const Aws::Vector<MetadataCatalogDetail>& GetLastRunMetadataCatalogDetails() const { return m_lastRunMetadataCatalogDetails; }
362 template <typename LastRunMetadataCatalogDetailsT = Aws::Vector<MetadataCatalogDetail>>
363 void SetLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT&& value) {
364 m_lastRunMetadataCatalogDetailsHasBeenSet = true;
365 m_lastRunMetadataCatalogDetails = std::forward<LastRunMetadataCatalogDetailsT>(value);
366 }
367 template <typename LastRunMetadataCatalogDetailsT = Aws::Vector<MetadataCatalogDetail>>
368 DescribeFlowResult& WithLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT&& value) {
369 SetLastRunMetadataCatalogDetails(std::forward<LastRunMetadataCatalogDetailsT>(value));
370 return *this;
371 }
372 template <typename LastRunMetadataCatalogDetailsT = MetadataCatalogDetail>
373 DescribeFlowResult& AddLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT&& value) {
374 m_lastRunMetadataCatalogDetailsHasBeenSet = true;
375 m_lastRunMetadataCatalogDetails.emplace_back(std::forward<LastRunMetadataCatalogDetailsT>(value));
376 return *this;
377 }
379
381
388 inline long long GetSchemaVersion() const { return m_schemaVersion; }
389 inline void SetSchemaVersion(long long value) {
390 m_schemaVersionHasBeenSet = true;
391 m_schemaVersion = value;
392 }
393 inline DescribeFlowResult& WithSchemaVersion(long long value) {
394 SetSchemaVersion(value);
395 return *this;
396 }
398
400
401 inline const Aws::String& GetRequestId() const { return m_requestId; }
402 template <typename RequestIdT = Aws::String>
403 void SetRequestId(RequestIdT&& value) {
404 m_requestIdHasBeenSet = true;
405 m_requestId = std::forward<RequestIdT>(value);
406 }
407 template <typename RequestIdT = Aws::String>
408 DescribeFlowResult& WithRequestId(RequestIdT&& value) {
409 SetRequestId(std::forward<RequestIdT>(value));
410 return *this;
411 }
413 private:
414 Aws::String m_flowArn;
415
416 Aws::String m_description;
417
418 Aws::String m_flowName;
419
420 Aws::String m_kmsArn;
421
422 FlowStatus m_flowStatus{FlowStatus::NOT_SET};
423
424 Aws::String m_flowStatusMessage;
425
426 SourceFlowConfig m_sourceFlowConfig;
427
428 Aws::Vector<DestinationFlowConfig> m_destinationFlowConfigList;
429
430 ExecutionDetails m_lastRunExecutionDetails;
431
432 TriggerConfig m_triggerConfig;
433
434 Aws::Vector<Task> m_tasks;
435
436 Aws::Utils::DateTime m_createdAt{};
437
438 Aws::Utils::DateTime m_lastUpdatedAt{};
439
440 Aws::String m_createdBy;
441
442 Aws::String m_lastUpdatedBy;
443
445
446 MetadataCatalogConfig m_metadataCatalogConfig;
447
448 Aws::Vector<MetadataCatalogDetail> m_lastRunMetadataCatalogDetails;
449
450 long long m_schemaVersion{0};
451
452 Aws::String m_requestId;
453 bool m_flowArnHasBeenSet = false;
454 bool m_descriptionHasBeenSet = false;
455 bool m_flowNameHasBeenSet = false;
456 bool m_kmsArnHasBeenSet = false;
457 bool m_flowStatusHasBeenSet = false;
458 bool m_flowStatusMessageHasBeenSet = false;
459 bool m_sourceFlowConfigHasBeenSet = false;
460 bool m_destinationFlowConfigListHasBeenSet = false;
461 bool m_lastRunExecutionDetailsHasBeenSet = false;
462 bool m_triggerConfigHasBeenSet = false;
463 bool m_tasksHasBeenSet = false;
464 bool m_createdAtHasBeenSet = false;
465 bool m_lastUpdatedAtHasBeenSet = false;
466 bool m_createdByHasBeenSet = false;
467 bool m_lastUpdatedByHasBeenSet = false;
468 bool m_tagsHasBeenSet = false;
469 bool m_metadataCatalogConfigHasBeenSet = false;
470 bool m_lastRunMetadataCatalogDetailsHasBeenSet = false;
471 bool m_schemaVersionHasBeenSet = false;
472 bool m_requestIdHasBeenSet = false;
473};
474
475} // namespace Model
476} // namespace Appflow
477} // namespace Aws
DescribeFlowResult & WithTags(TagsT &&value)
const Aws::Vector< Task > & GetTasks() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetDescription(DescriptionT &&value)
DescribeFlowResult & AddDestinationFlowConfigList(DestinationFlowConfigListT &&value)
DescribeFlowResult & WithMetadataCatalogConfig(MetadataCatalogConfigT &&value)
const Aws::Vector< DestinationFlowConfig > & GetDestinationFlowConfigList() const
DescribeFlowResult & WithDescription(DescriptionT &&value)
void SetLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetFlowStatusMessage() const
void SetLastRunExecutionDetails(LastRunExecutionDetailsT &&value)
void SetDestinationFlowConfigList(DestinationFlowConfigListT &&value)
DescribeFlowResult & WithCreatedAt(CreatedAtT &&value)
void SetSourceFlowConfig(SourceFlowConfigT &&value)
DescribeFlowResult & WithCreatedBy(CreatedByT &&value)
AWS_APPFLOW_API DescribeFlowResult()=default
void SetFlowStatusMessage(FlowStatusMessageT &&value)
DescribeFlowResult & WithFlowArn(FlowArnT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
const Aws::Vector< MetadataCatalogDetail > & GetLastRunMetadataCatalogDetails() const
const TriggerConfig & GetTriggerConfig() const
DescribeFlowResult & WithFlowStatusMessage(FlowStatusMessageT &&value)
AWS_APPFLOW_API DescribeFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowResult & WithDestinationFlowConfigList(DestinationFlowConfigListT &&value)
const ExecutionDetails & GetLastRunExecutionDetails() const
DescribeFlowResult & WithLastRunExecutionDetails(LastRunExecutionDetailsT &&value)
const Aws::String & GetDescription() const
AWS_APPFLOW_API DescribeFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowResult & WithFlowName(FlowNameT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetFlowName() const
const MetadataCatalogConfig & GetMetadataCatalogConfig() const
DescribeFlowResult & WithKmsArn(KmsArnT &&value)
DescribeFlowResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTriggerConfig(TriggerConfigT &&value)
DescribeFlowResult & WithFlowStatus(FlowStatus value)
void SetMetadataCatalogConfig(MetadataCatalogConfigT &&value)
DescribeFlowResult & WithSchemaVersion(long long value)
DescribeFlowResult & AddTasks(TasksT &&value)
DescribeFlowResult & WithLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT &&value)
DescribeFlowResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
DescribeFlowResult & WithTasks(TasksT &&value)
DescribeFlowResult & WithTriggerConfig(TriggerConfigT &&value)
DescribeFlowResult & WithRequestId(RequestIdT &&value)
const SourceFlowConfig & GetSourceFlowConfig() const
DescribeFlowResult & WithLastUpdatedBy(LastUpdatedByT &&value)
const Aws::String & GetLastUpdatedBy() const
const Aws::Utils::DateTime & GetCreatedAt() const
DescribeFlowResult & WithSourceFlowConfig(SourceFlowConfigT &&value)
DescribeFlowResult & AddLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue