AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
44
45
47
50 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
51 inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
52 inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
53 inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
54 inline DescribeFlowResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
55 inline DescribeFlowResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
56 inline DescribeFlowResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
58
60
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline void SetDescription(const Aws::String& value) { m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_description.assign(value); }
67 inline DescribeFlowResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline DescribeFlowResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline DescribeFlowResult& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
77 inline const Aws::String& GetFlowName() const{ return m_flowName; }
78 inline void SetFlowName(const Aws::String& value) { m_flowName = value; }
79 inline void SetFlowName(Aws::String&& value) { m_flowName = std::move(value); }
80 inline void SetFlowName(const char* value) { m_flowName.assign(value); }
81 inline DescribeFlowResult& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;}
82 inline DescribeFlowResult& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;}
83 inline DescribeFlowResult& WithFlowName(const char* value) { SetFlowName(value); return *this;}
85
87
93 inline const Aws::String& GetKmsArn() const{ return m_kmsArn; }
94 inline void SetKmsArn(const Aws::String& value) { m_kmsArn = value; }
95 inline void SetKmsArn(Aws::String&& value) { m_kmsArn = std::move(value); }
96 inline void SetKmsArn(const char* value) { m_kmsArn.assign(value); }
97 inline DescribeFlowResult& WithKmsArn(const Aws::String& value) { SetKmsArn(value); return *this;}
98 inline DescribeFlowResult& WithKmsArn(Aws::String&& value) { SetKmsArn(std::move(value)); return *this;}
99 inline DescribeFlowResult& WithKmsArn(const char* value) { SetKmsArn(value); return *this;}
101
103
106 inline const FlowStatus& GetFlowStatus() const{ return m_flowStatus; }
107 inline void SetFlowStatus(const FlowStatus& value) { m_flowStatus = value; }
108 inline void SetFlowStatus(FlowStatus&& value) { m_flowStatus = std::move(value); }
109 inline DescribeFlowResult& WithFlowStatus(const FlowStatus& value) { SetFlowStatus(value); return *this;}
110 inline DescribeFlowResult& WithFlowStatus(FlowStatus&& value) { SetFlowStatus(std::move(value)); return *this;}
112
114
118 inline const Aws::String& GetFlowStatusMessage() const{ return m_flowStatusMessage; }
119 inline void SetFlowStatusMessage(const Aws::String& value) { m_flowStatusMessage = value; }
120 inline void SetFlowStatusMessage(Aws::String&& value) { m_flowStatusMessage = std::move(value); }
121 inline void SetFlowStatusMessage(const char* value) { m_flowStatusMessage.assign(value); }
122 inline DescribeFlowResult& WithFlowStatusMessage(const Aws::String& value) { SetFlowStatusMessage(value); return *this;}
123 inline DescribeFlowResult& WithFlowStatusMessage(Aws::String&& value) { SetFlowStatusMessage(std::move(value)); return *this;}
124 inline DescribeFlowResult& WithFlowStatusMessage(const char* value) { SetFlowStatusMessage(value); return *this;}
126
128
132 inline const SourceFlowConfig& GetSourceFlowConfig() const{ return m_sourceFlowConfig; }
133 inline void SetSourceFlowConfig(const SourceFlowConfig& value) { m_sourceFlowConfig = value; }
134 inline void SetSourceFlowConfig(SourceFlowConfig&& value) { m_sourceFlowConfig = std::move(value); }
136 inline DescribeFlowResult& WithSourceFlowConfig(SourceFlowConfig&& value) { SetSourceFlowConfig(std::move(value)); return *this;}
138
140
144 inline const Aws::Vector<DestinationFlowConfig>& GetDestinationFlowConfigList() const{ return m_destinationFlowConfigList; }
145 inline void SetDestinationFlowConfigList(const Aws::Vector<DestinationFlowConfig>& value) { m_destinationFlowConfigList = value; }
146 inline void SetDestinationFlowConfigList(Aws::Vector<DestinationFlowConfig>&& value) { m_destinationFlowConfigList = std::move(value); }
149 inline DescribeFlowResult& AddDestinationFlowConfigList(const DestinationFlowConfig& value) { m_destinationFlowConfigList.push_back(value); return *this; }
150 inline DescribeFlowResult& AddDestinationFlowConfigList(DestinationFlowConfig&& value) { m_destinationFlowConfigList.push_back(std::move(value)); return *this; }
152
154
157 inline const ExecutionDetails& GetLastRunExecutionDetails() const{ return m_lastRunExecutionDetails; }
158 inline void SetLastRunExecutionDetails(const ExecutionDetails& value) { m_lastRunExecutionDetails = value; }
159 inline void SetLastRunExecutionDetails(ExecutionDetails&& value) { m_lastRunExecutionDetails = std::move(value); }
163
165
168 inline const TriggerConfig& GetTriggerConfig() const{ return m_triggerConfig; }
169 inline void SetTriggerConfig(const TriggerConfig& value) { m_triggerConfig = value; }
170 inline void SetTriggerConfig(TriggerConfig&& value) { m_triggerConfig = std::move(value); }
171 inline DescribeFlowResult& WithTriggerConfig(const TriggerConfig& value) { SetTriggerConfig(value); return *this;}
172 inline DescribeFlowResult& WithTriggerConfig(TriggerConfig&& value) { SetTriggerConfig(std::move(value)); return *this;}
174
176
180 inline const Aws::Vector<Task>& GetTasks() const{ return m_tasks; }
181 inline void SetTasks(const Aws::Vector<Task>& value) { m_tasks = value; }
182 inline void SetTasks(Aws::Vector<Task>&& value) { m_tasks = std::move(value); }
183 inline DescribeFlowResult& WithTasks(const Aws::Vector<Task>& value) { SetTasks(value); return *this;}
184 inline DescribeFlowResult& WithTasks(Aws::Vector<Task>&& value) { SetTasks(std::move(value)); return *this;}
185 inline DescribeFlowResult& AddTasks(const Task& value) { m_tasks.push_back(value); return *this; }
186 inline DescribeFlowResult& AddTasks(Task&& value) { m_tasks.push_back(std::move(value)); return *this; }
188
190
193 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
194 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
195 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
196 inline DescribeFlowResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
197 inline DescribeFlowResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
199
201
204 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
205 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
206 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
207 inline DescribeFlowResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
208 inline DescribeFlowResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
210
212
215 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
216 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
217 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
218 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
219 inline DescribeFlowResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
220 inline DescribeFlowResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
221 inline DescribeFlowResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
223
225
229 inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; }
230 inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedBy = value; }
231 inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedBy = std::move(value); }
232 inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedBy.assign(value); }
233 inline DescribeFlowResult& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;}
234 inline DescribeFlowResult& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;}
235 inline DescribeFlowResult& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;}
237
239
242 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
243 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
244 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
245 inline DescribeFlowResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
246 inline DescribeFlowResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
247 inline DescribeFlowResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
248 inline DescribeFlowResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
249 inline DescribeFlowResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
250 inline DescribeFlowResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
251 inline DescribeFlowResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
252 inline DescribeFlowResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
253 inline DescribeFlowResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
255
257
262 inline const MetadataCatalogConfig& GetMetadataCatalogConfig() const{ return m_metadataCatalogConfig; }
263 inline void SetMetadataCatalogConfig(const MetadataCatalogConfig& value) { m_metadataCatalogConfig = value; }
264 inline void SetMetadataCatalogConfig(MetadataCatalogConfig&& value) { m_metadataCatalogConfig = std::move(value); }
268
270
274 inline const Aws::Vector<MetadataCatalogDetail>& GetLastRunMetadataCatalogDetails() const{ return m_lastRunMetadataCatalogDetails; }
275 inline void SetLastRunMetadataCatalogDetails(const Aws::Vector<MetadataCatalogDetail>& value) { m_lastRunMetadataCatalogDetails = value; }
276 inline void SetLastRunMetadataCatalogDetails(Aws::Vector<MetadataCatalogDetail>&& value) { m_lastRunMetadataCatalogDetails = std::move(value); }
279 inline DescribeFlowResult& AddLastRunMetadataCatalogDetails(const MetadataCatalogDetail& value) { m_lastRunMetadataCatalogDetails.push_back(value); return *this; }
280 inline DescribeFlowResult& AddLastRunMetadataCatalogDetails(MetadataCatalogDetail&& value) { m_lastRunMetadataCatalogDetails.push_back(std::move(value)); return *this; }
282
284
291 inline long long GetSchemaVersion() const{ return m_schemaVersion; }
292 inline void SetSchemaVersion(long long value) { m_schemaVersion = value; }
293 inline DescribeFlowResult& WithSchemaVersion(long long value) { SetSchemaVersion(value); return *this;}
295
297
298 inline const Aws::String& GetRequestId() const{ return m_requestId; }
299 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
300 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
301 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
302 inline DescribeFlowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
303 inline DescribeFlowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
304 inline DescribeFlowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
306 private:
307
308 Aws::String m_flowArn;
309
310 Aws::String m_description;
311
312 Aws::String m_flowName;
313
314 Aws::String m_kmsArn;
315
316 FlowStatus m_flowStatus;
317
318 Aws::String m_flowStatusMessage;
319
320 SourceFlowConfig m_sourceFlowConfig;
321
322 Aws::Vector<DestinationFlowConfig> m_destinationFlowConfigList;
323
324 ExecutionDetails m_lastRunExecutionDetails;
325
326 TriggerConfig m_triggerConfig;
327
328 Aws::Vector<Task> m_tasks;
329
330 Aws::Utils::DateTime m_createdAt;
331
332 Aws::Utils::DateTime m_lastUpdatedAt;
333
334 Aws::String m_createdBy;
335
336 Aws::String m_lastUpdatedBy;
337
339
340 MetadataCatalogConfig m_metadataCatalogConfig;
341
342 Aws::Vector<MetadataCatalogDetail> m_lastRunMetadataCatalogDetails;
343
344 long long m_schemaVersion;
345
346 Aws::String m_requestId;
347 };
348
349} // namespace Model
350} // namespace Appflow
351} // namespace Aws
DescribeFlowResult & WithDestinationFlowConfigList(const Aws::Vector< DestinationFlowConfig > &value)
void SetSourceFlowConfig(SourceFlowConfig &&value)
const Aws::Vector< Task > & GetTasks() const
DescribeFlowResult & WithDestinationFlowConfigList(Aws::Vector< DestinationFlowConfig > &&value)
DescribeFlowResult & AddTags(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
DescribeFlowResult & WithLastRunMetadataCatalogDetails(const Aws::Vector< MetadataCatalogDetail > &value)
DescribeFlowResult & WithTasks(Aws::Vector< Task > &&value)
void SetCreatedBy(const Aws::String &value)
DescribeFlowResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
DescribeFlowResult & AddDestinationFlowConfigList(DestinationFlowConfig &&value)
void SetMetadataCatalogConfig(const MetadataCatalogConfig &value)
void SetDescription(const Aws::String &value)
const Aws::Vector< DestinationFlowConfig > & GetDestinationFlowConfigList() const
DescribeFlowResult & WithCreatedBy(Aws::String &&value)
DescribeFlowResult & WithFlowArn(Aws::String &&value)
DescribeFlowResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
DescribeFlowResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetFlowStatusMessage() const
DescribeFlowResult & WithKmsArn(const char *value)
DescribeFlowResult & WithFlowStatusMessage(const Aws::String &value)
void SetDestinationFlowConfigList(const Aws::Vector< DestinationFlowConfig > &value)
void SetLastRunMetadataCatalogDetails(Aws::Vector< MetadataCatalogDetail > &&value)
DescribeFlowResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
DescribeFlowResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeFlowResult & WithFlowName(const char *value)
DescribeFlowResult & AddTasks(const Task &value)
DescribeFlowResult & WithMetadataCatalogConfig(const MetadataCatalogConfig &value)
DescribeFlowResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetFlowStatusMessage(Aws::String &&value)
DescribeFlowResult & WithMetadataCatalogConfig(MetadataCatalogConfig &&value)
DescribeFlowResult & WithFlowStatusMessage(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastUpdatedBy(const Aws::String &value)
void SetLastRunExecutionDetails(const ExecutionDetails &value)
DescribeFlowResult & WithLastUpdatedBy(const char *value)
DescribeFlowResult & WithFlowName(const Aws::String &value)
void SetLastRunExecutionDetails(ExecutionDetails &&value)
DescribeFlowResult & WithFlowName(Aws::String &&value)
DescribeFlowResult & WithFlowStatus(const FlowStatus &value)
void SetTasks(const Aws::Vector< Task > &value)
DescribeFlowResult & WithSourceFlowConfig(SourceFlowConfig &&value)
DescribeFlowResult & WithDescription(const char *value)
void SetDestinationFlowConfigList(Aws::Vector< DestinationFlowConfig > &&value)
DescribeFlowResult & WithCreatedBy(const Aws::String &value)
const Aws::Vector< MetadataCatalogDetail > & GetLastRunMetadataCatalogDetails() const
DescribeFlowResult & WithSourceFlowConfig(const SourceFlowConfig &value)
DescribeFlowResult & WithKmsArn(const Aws::String &value)
const TriggerConfig & GetTriggerConfig() const
DescribeFlowResult & AddTags(Aws::String &&key, const char *value)
void SetFlowStatus(const FlowStatus &value)
void SetKmsArn(const Aws::String &value)
AWS_APPFLOW_API DescribeFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowResult & WithFlowStatus(FlowStatus &&value)
DescribeFlowResult & AddLastRunMetadataCatalogDetails(const MetadataCatalogDetail &value)
void SetFlowArn(const Aws::String &value)
DescribeFlowResult & WithTriggerConfig(const TriggerConfig &value)
DescribeFlowResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeFlowResult & AddTasks(Task &&value)
void SetTasks(Aws::Vector< Task > &&value)
void SetSourceFlowConfig(const SourceFlowConfig &value)
DescribeFlowResult & WithRequestId(const Aws::String &value)
const ExecutionDetails & GetLastRunExecutionDetails() const
DescribeFlowResult & WithDescription(Aws::String &&value)
const Aws::String & GetDescription() const
AWS_APPFLOW_API DescribeFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetFlowName() const
void SetLastRunMetadataCatalogDetails(const Aws::Vector< MetadataCatalogDetail > &value)
DescribeFlowResult & WithRequestId(Aws::String &&value)
const MetadataCatalogConfig & GetMetadataCatalogConfig() const
DescribeFlowResult & WithFlowArn(const char *value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
DescribeFlowResult & WithKmsArn(Aws::String &&value)
DescribeFlowResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeFlowResult & WithSchemaVersion(long long value)
DescribeFlowResult & WithLastUpdatedBy(const Aws::String &value)
DescribeFlowResult & WithLastRunMetadataCatalogDetails(Aws::Vector< MetadataCatalogDetail > &&value)
void SetMetadataCatalogConfig(MetadataCatalogConfig &&value)
DescribeFlowResult & AddDestinationFlowConfigList(const DestinationFlowConfig &value)
DescribeFlowResult & WithCreatedBy(const char *value)
DescribeFlowResult & WithLastRunExecutionDetails(ExecutionDetails &&value)
DescribeFlowResult & WithTriggerConfig(TriggerConfig &&value)
DescribeFlowResult & WithFlowStatusMessage(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetFlowName(const Aws::String &value)
const SourceFlowConfig & GetSourceFlowConfig() const
DescribeFlowResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetLastUpdatedBy() const
DescribeFlowResult & WithTasks(const Aws::Vector< Task > &value)
DescribeFlowResult & WithLastUpdatedBy(Aws::String &&value)
DescribeFlowResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DescribeFlowResult & WithLastRunExecutionDetails(const ExecutionDetails &value)
DescribeFlowResult & AddLastRunMetadataCatalogDetails(MetadataCatalogDetail &&value)
DescribeFlowResult & WithFlowArn(const Aws::String &value)
void SetTriggerConfig(TriggerConfig &&value)
DescribeFlowResult & AddTags(const char *key, const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetTriggerConfig(const TriggerConfig &value)
DescribeFlowResult & WithDescription(const Aws::String &value)
void SetFlowStatusMessage(const Aws::String &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