AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeFlowResult.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/FlowStatus.h>
10#include <aws/appflow/model/SourceFlowConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/appflow/model/ExecutionDetails.h>
13#include <aws/appflow/model/TriggerConfig.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/appflow/model/MetadataCatalogConfig.h>
17#include <aws/appflow/model/DestinationFlowConfig.h>
18#include <aws/appflow/model/Task.h>
19#include <aws/appflow/model/MetadataCatalogDetail.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace Appflow
35{
36namespace Model
37{
39 {
40 public:
41 AWS_APPFLOW_API DescribeFlowResult() = default;
44
45
47
50 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
51 template<typename FlowArnT = Aws::String>
52 void SetFlowArn(FlowArnT&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::forward<FlowArnT>(value); }
53 template<typename FlowArnT = Aws::String>
54 DescribeFlowResult& WithFlowArn(FlowArnT&& value) { SetFlowArn(std::forward<FlowArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 template<typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
64 template<typename DescriptionT = Aws::String>
65 DescribeFlowResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
67
69
73 inline const Aws::String& GetFlowName() const { return m_flowName; }
74 template<typename FlowNameT = Aws::String>
75 void SetFlowName(FlowNameT&& value) { m_flowNameHasBeenSet = true; m_flowName = std::forward<FlowNameT>(value); }
76 template<typename FlowNameT = Aws::String>
77 DescribeFlowResult& WithFlowName(FlowNameT&& value) { SetFlowName(std::forward<FlowNameT>(value)); return *this;}
79
81
87 inline const Aws::String& GetKmsArn() const { return m_kmsArn; }
88 template<typename KmsArnT = Aws::String>
89 void SetKmsArn(KmsArnT&& value) { m_kmsArnHasBeenSet = true; m_kmsArn = std::forward<KmsArnT>(value); }
90 template<typename KmsArnT = Aws::String>
91 DescribeFlowResult& WithKmsArn(KmsArnT&& value) { SetKmsArn(std::forward<KmsArnT>(value)); return *this;}
93
95
98 inline FlowStatus GetFlowStatus() const { return m_flowStatus; }
99 inline void SetFlowStatus(FlowStatus value) { m_flowStatusHasBeenSet = true; m_flowStatus = value; }
100 inline DescribeFlowResult& WithFlowStatus(FlowStatus value) { SetFlowStatus(value); return *this;}
102
104
108 inline const Aws::String& GetFlowStatusMessage() const { return m_flowStatusMessage; }
109 template<typename FlowStatusMessageT = Aws::String>
110 void SetFlowStatusMessage(FlowStatusMessageT&& value) { m_flowStatusMessageHasBeenSet = true; m_flowStatusMessage = std::forward<FlowStatusMessageT>(value); }
111 template<typename FlowStatusMessageT = Aws::String>
112 DescribeFlowResult& WithFlowStatusMessage(FlowStatusMessageT&& value) { SetFlowStatusMessage(std::forward<FlowStatusMessageT>(value)); return *this;}
114
116
120 inline const SourceFlowConfig& GetSourceFlowConfig() const { return m_sourceFlowConfig; }
121 template<typename SourceFlowConfigT = SourceFlowConfig>
122 void SetSourceFlowConfig(SourceFlowConfigT&& value) { m_sourceFlowConfigHasBeenSet = true; m_sourceFlowConfig = std::forward<SourceFlowConfigT>(value); }
123 template<typename SourceFlowConfigT = SourceFlowConfig>
124 DescribeFlowResult& WithSourceFlowConfig(SourceFlowConfigT&& value) { SetSourceFlowConfig(std::forward<SourceFlowConfigT>(value)); return *this;}
126
128
132 inline const Aws::Vector<DestinationFlowConfig>& GetDestinationFlowConfigList() const { return m_destinationFlowConfigList; }
133 template<typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
134 void SetDestinationFlowConfigList(DestinationFlowConfigListT&& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList = std::forward<DestinationFlowConfigListT>(value); }
135 template<typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
136 DescribeFlowResult& WithDestinationFlowConfigList(DestinationFlowConfigListT&& value) { SetDestinationFlowConfigList(std::forward<DestinationFlowConfigListT>(value)); return *this;}
137 template<typename DestinationFlowConfigListT = DestinationFlowConfig>
138 DescribeFlowResult& AddDestinationFlowConfigList(DestinationFlowConfigListT&& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList.emplace_back(std::forward<DestinationFlowConfigListT>(value)); return *this; }
140
142
145 inline const ExecutionDetails& GetLastRunExecutionDetails() const { return m_lastRunExecutionDetails; }
146 template<typename LastRunExecutionDetailsT = ExecutionDetails>
147 void SetLastRunExecutionDetails(LastRunExecutionDetailsT&& value) { m_lastRunExecutionDetailsHasBeenSet = true; m_lastRunExecutionDetails = std::forward<LastRunExecutionDetailsT>(value); }
148 template<typename LastRunExecutionDetailsT = ExecutionDetails>
149 DescribeFlowResult& WithLastRunExecutionDetails(LastRunExecutionDetailsT&& value) { SetLastRunExecutionDetails(std::forward<LastRunExecutionDetailsT>(value)); return *this;}
151
153
156 inline const TriggerConfig& GetTriggerConfig() const { return m_triggerConfig; }
157 template<typename TriggerConfigT = TriggerConfig>
158 void SetTriggerConfig(TriggerConfigT&& value) { m_triggerConfigHasBeenSet = true; m_triggerConfig = std::forward<TriggerConfigT>(value); }
159 template<typename TriggerConfigT = TriggerConfig>
160 DescribeFlowResult& WithTriggerConfig(TriggerConfigT&& value) { SetTriggerConfig(std::forward<TriggerConfigT>(value)); return *this;}
162
164
168 inline const Aws::Vector<Task>& GetTasks() const { return m_tasks; }
169 template<typename TasksT = Aws::Vector<Task>>
170 void SetTasks(TasksT&& value) { m_tasksHasBeenSet = true; m_tasks = std::forward<TasksT>(value); }
171 template<typename TasksT = Aws::Vector<Task>>
172 DescribeFlowResult& WithTasks(TasksT&& value) { SetTasks(std::forward<TasksT>(value)); return *this;}
173 template<typename TasksT = Task>
174 DescribeFlowResult& AddTasks(TasksT&& value) { m_tasksHasBeenSet = true; m_tasks.emplace_back(std::forward<TasksT>(value)); return *this; }
176
178
181 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
182 template<typename CreatedAtT = Aws::Utils::DateTime>
183 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
184 template<typename CreatedAtT = Aws::Utils::DateTime>
185 DescribeFlowResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
187
189
192 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
193 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
194 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
195 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
196 DescribeFlowResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
198
200
203 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
204 template<typename CreatedByT = Aws::String>
205 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
206 template<typename CreatedByT = Aws::String>
207 DescribeFlowResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
209
211
215 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
216 template<typename LastUpdatedByT = Aws::String>
217 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
218 template<typename LastUpdatedByT = Aws::String>
219 DescribeFlowResult& WithLastUpdatedBy(LastUpdatedByT&& value) { SetLastUpdatedBy(std::forward<LastUpdatedByT>(value)); return *this;}
221
223
226 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
227 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
228 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
229 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
230 DescribeFlowResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
231 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
232 DescribeFlowResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
233 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
234 }
236
238
243 inline const MetadataCatalogConfig& GetMetadataCatalogConfig() const { return m_metadataCatalogConfig; }
244 template<typename MetadataCatalogConfigT = MetadataCatalogConfig>
245 void SetMetadataCatalogConfig(MetadataCatalogConfigT&& value) { m_metadataCatalogConfigHasBeenSet = true; m_metadataCatalogConfig = std::forward<MetadataCatalogConfigT>(value); }
246 template<typename MetadataCatalogConfigT = MetadataCatalogConfig>
247 DescribeFlowResult& WithMetadataCatalogConfig(MetadataCatalogConfigT&& value) { SetMetadataCatalogConfig(std::forward<MetadataCatalogConfigT>(value)); return *this;}
249
251
255 inline const Aws::Vector<MetadataCatalogDetail>& GetLastRunMetadataCatalogDetails() const { return m_lastRunMetadataCatalogDetails; }
256 template<typename LastRunMetadataCatalogDetailsT = Aws::Vector<MetadataCatalogDetail>>
257 void SetLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT&& value) { m_lastRunMetadataCatalogDetailsHasBeenSet = true; m_lastRunMetadataCatalogDetails = std::forward<LastRunMetadataCatalogDetailsT>(value); }
258 template<typename LastRunMetadataCatalogDetailsT = Aws::Vector<MetadataCatalogDetail>>
259 DescribeFlowResult& WithLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT&& value) { SetLastRunMetadataCatalogDetails(std::forward<LastRunMetadataCatalogDetailsT>(value)); return *this;}
260 template<typename LastRunMetadataCatalogDetailsT = MetadataCatalogDetail>
261 DescribeFlowResult& AddLastRunMetadataCatalogDetails(LastRunMetadataCatalogDetailsT&& value) { m_lastRunMetadataCatalogDetailsHasBeenSet = true; m_lastRunMetadataCatalogDetails.emplace_back(std::forward<LastRunMetadataCatalogDetailsT>(value)); return *this; }
263
265
272 inline long long GetSchemaVersion() const { return m_schemaVersion; }
273 inline void SetSchemaVersion(long long value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
274 inline DescribeFlowResult& WithSchemaVersion(long long value) { SetSchemaVersion(value); return *this;}
276
278
279 inline const Aws::String& GetRequestId() const { return m_requestId; }
280 template<typename RequestIdT = Aws::String>
281 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
282 template<typename RequestIdT = Aws::String>
283 DescribeFlowResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
285 private:
286
287 Aws::String m_flowArn;
288 bool m_flowArnHasBeenSet = false;
289
290 Aws::String m_description;
291 bool m_descriptionHasBeenSet = false;
292
293 Aws::String m_flowName;
294 bool m_flowNameHasBeenSet = false;
295
296 Aws::String m_kmsArn;
297 bool m_kmsArnHasBeenSet = false;
298
299 FlowStatus m_flowStatus{FlowStatus::NOT_SET};
300 bool m_flowStatusHasBeenSet = false;
301
302 Aws::String m_flowStatusMessage;
303 bool m_flowStatusMessageHasBeenSet = false;
304
305 SourceFlowConfig m_sourceFlowConfig;
306 bool m_sourceFlowConfigHasBeenSet = false;
307
308 Aws::Vector<DestinationFlowConfig> m_destinationFlowConfigList;
309 bool m_destinationFlowConfigListHasBeenSet = false;
310
311 ExecutionDetails m_lastRunExecutionDetails;
312 bool m_lastRunExecutionDetailsHasBeenSet = false;
313
314 TriggerConfig m_triggerConfig;
315 bool m_triggerConfigHasBeenSet = false;
316
317 Aws::Vector<Task> m_tasks;
318 bool m_tasksHasBeenSet = false;
319
320 Aws::Utils::DateTime m_createdAt{};
321 bool m_createdAtHasBeenSet = false;
322
323 Aws::Utils::DateTime m_lastUpdatedAt{};
324 bool m_lastUpdatedAtHasBeenSet = false;
325
326 Aws::String m_createdBy;
327 bool m_createdByHasBeenSet = false;
328
329 Aws::String m_lastUpdatedBy;
330 bool m_lastUpdatedByHasBeenSet = false;
331
333 bool m_tagsHasBeenSet = false;
334
335 MetadataCatalogConfig m_metadataCatalogConfig;
336 bool m_metadataCatalogConfigHasBeenSet = false;
337
338 Aws::Vector<MetadataCatalogDetail> m_lastRunMetadataCatalogDetails;
339 bool m_lastRunMetadataCatalogDetailsHasBeenSet = false;
340
341 long long m_schemaVersion{0};
342 bool m_schemaVersionHasBeenSet = false;
343
344 Aws::String m_requestId;
345 bool m_requestIdHasBeenSet = false;
346 };
347
348} // namespace Model
349} // namespace Appflow
350} // 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