AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowDefinition.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/ConnectorType.h>
11#include <aws/appflow/model/TriggerType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/appflow/model/ExecutionDetails.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Appflow
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_APPFLOW_API FlowDefinition();
42 AWS_APPFLOW_API FlowDefinition(Aws::Utils::Json::JsonView jsonValue);
44 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
52 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
53 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
54 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
55 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
56 inline FlowDefinition& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
57 inline FlowDefinition& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
58 inline FlowDefinition& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
70 inline FlowDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline FlowDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline FlowDefinition& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
80 inline const Aws::String& GetFlowName() const{ return m_flowName; }
81 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
82 inline void SetFlowName(const Aws::String& value) { m_flowNameHasBeenSet = true; m_flowName = value; }
83 inline void SetFlowName(Aws::String&& value) { m_flowNameHasBeenSet = true; m_flowName = std::move(value); }
84 inline void SetFlowName(const char* value) { m_flowNameHasBeenSet = true; m_flowName.assign(value); }
85 inline FlowDefinition& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;}
86 inline FlowDefinition& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;}
87 inline FlowDefinition& WithFlowName(const char* value) { SetFlowName(value); return *this;}
89
91
94 inline const FlowStatus& GetFlowStatus() const{ return m_flowStatus; }
95 inline bool FlowStatusHasBeenSet() const { return m_flowStatusHasBeenSet; }
96 inline void SetFlowStatus(const FlowStatus& value) { m_flowStatusHasBeenSet = true; m_flowStatus = value; }
97 inline void SetFlowStatus(FlowStatus&& value) { m_flowStatusHasBeenSet = true; m_flowStatus = std::move(value); }
98 inline FlowDefinition& WithFlowStatus(const FlowStatus& value) { SetFlowStatus(value); return *this;}
99 inline FlowDefinition& WithFlowStatus(FlowStatus&& value) { SetFlowStatus(std::move(value)); return *this;}
101
103
107 inline const ConnectorType& GetSourceConnectorType() const{ return m_sourceConnectorType; }
108 inline bool SourceConnectorTypeHasBeenSet() const { return m_sourceConnectorTypeHasBeenSet; }
109 inline void SetSourceConnectorType(const ConnectorType& value) { m_sourceConnectorTypeHasBeenSet = true; m_sourceConnectorType = value; }
110 inline void SetSourceConnectorType(ConnectorType&& value) { m_sourceConnectorTypeHasBeenSet = true; m_sourceConnectorType = std::move(value); }
111 inline FlowDefinition& WithSourceConnectorType(const ConnectorType& value) { SetSourceConnectorType(value); return *this;}
112 inline FlowDefinition& WithSourceConnectorType(ConnectorType&& value) { SetSourceConnectorType(std::move(value)); return *this;}
114
116
119 inline const Aws::String& GetSourceConnectorLabel() const{ return m_sourceConnectorLabel; }
120 inline bool SourceConnectorLabelHasBeenSet() const { return m_sourceConnectorLabelHasBeenSet; }
121 inline void SetSourceConnectorLabel(const Aws::String& value) { m_sourceConnectorLabelHasBeenSet = true; m_sourceConnectorLabel = value; }
122 inline void SetSourceConnectorLabel(Aws::String&& value) { m_sourceConnectorLabelHasBeenSet = true; m_sourceConnectorLabel = std::move(value); }
123 inline void SetSourceConnectorLabel(const char* value) { m_sourceConnectorLabelHasBeenSet = true; m_sourceConnectorLabel.assign(value); }
124 inline FlowDefinition& WithSourceConnectorLabel(const Aws::String& value) { SetSourceConnectorLabel(value); return *this;}
125 inline FlowDefinition& WithSourceConnectorLabel(Aws::String&& value) { SetSourceConnectorLabel(std::move(value)); return *this;}
126 inline FlowDefinition& WithSourceConnectorLabel(const char* value) { SetSourceConnectorLabel(value); return *this;}
128
130
134 inline const ConnectorType& GetDestinationConnectorType() const{ return m_destinationConnectorType; }
135 inline bool DestinationConnectorTypeHasBeenSet() const { return m_destinationConnectorTypeHasBeenSet; }
136 inline void SetDestinationConnectorType(const ConnectorType& value) { m_destinationConnectorTypeHasBeenSet = true; m_destinationConnectorType = value; }
137 inline void SetDestinationConnectorType(ConnectorType&& value) { m_destinationConnectorTypeHasBeenSet = true; m_destinationConnectorType = std::move(value); }
141
143
146 inline const Aws::String& GetDestinationConnectorLabel() const{ return m_destinationConnectorLabel; }
147 inline bool DestinationConnectorLabelHasBeenSet() const { return m_destinationConnectorLabelHasBeenSet; }
148 inline void SetDestinationConnectorLabel(const Aws::String& value) { m_destinationConnectorLabelHasBeenSet = true; m_destinationConnectorLabel = value; }
149 inline void SetDestinationConnectorLabel(Aws::String&& value) { m_destinationConnectorLabelHasBeenSet = true; m_destinationConnectorLabel = std::move(value); }
150 inline void SetDestinationConnectorLabel(const char* value) { m_destinationConnectorLabelHasBeenSet = true; m_destinationConnectorLabel.assign(value); }
153 inline FlowDefinition& WithDestinationConnectorLabel(const char* value) { SetDestinationConnectorLabel(value); return *this;}
155
157
161 inline const TriggerType& GetTriggerType() const{ return m_triggerType; }
162 inline bool TriggerTypeHasBeenSet() const { return m_triggerTypeHasBeenSet; }
163 inline void SetTriggerType(const TriggerType& value) { m_triggerTypeHasBeenSet = true; m_triggerType = value; }
164 inline void SetTriggerType(TriggerType&& value) { m_triggerTypeHasBeenSet = true; m_triggerType = std::move(value); }
165 inline FlowDefinition& WithTriggerType(const TriggerType& value) { SetTriggerType(value); return *this;}
166 inline FlowDefinition& WithTriggerType(TriggerType&& value) { SetTriggerType(std::move(value)); return *this;}
168
170
173 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
174 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
175 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
176 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
177 inline FlowDefinition& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
178 inline FlowDefinition& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
180
182
185 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
186 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
187 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
188 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
189 inline FlowDefinition& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
190 inline FlowDefinition& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
192
194
197 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
198 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
199 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
200 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
201 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
202 inline FlowDefinition& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
203 inline FlowDefinition& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
204 inline FlowDefinition& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
206
208
211 inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; }
212 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
213 inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; }
214 inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); }
215 inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); }
216 inline FlowDefinition& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;}
217 inline FlowDefinition& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;}
218 inline FlowDefinition& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;}
220
222
225 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
226 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
227 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
228 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
229 inline FlowDefinition& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
230 inline FlowDefinition& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
231 inline FlowDefinition& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
232 inline FlowDefinition& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
233 inline FlowDefinition& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
234 inline FlowDefinition& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
235 inline FlowDefinition& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
236 inline FlowDefinition& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
237 inline FlowDefinition& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
239
241
244 inline const ExecutionDetails& GetLastRunExecutionDetails() const{ return m_lastRunExecutionDetails; }
245 inline bool LastRunExecutionDetailsHasBeenSet() const { return m_lastRunExecutionDetailsHasBeenSet; }
246 inline void SetLastRunExecutionDetails(const ExecutionDetails& value) { m_lastRunExecutionDetailsHasBeenSet = true; m_lastRunExecutionDetails = value; }
247 inline void SetLastRunExecutionDetails(ExecutionDetails&& value) { m_lastRunExecutionDetailsHasBeenSet = true; m_lastRunExecutionDetails = std::move(value); }
251 private:
252
253 Aws::String m_flowArn;
254 bool m_flowArnHasBeenSet = false;
255
256 Aws::String m_description;
257 bool m_descriptionHasBeenSet = false;
258
259 Aws::String m_flowName;
260 bool m_flowNameHasBeenSet = false;
261
262 FlowStatus m_flowStatus;
263 bool m_flowStatusHasBeenSet = false;
264
265 ConnectorType m_sourceConnectorType;
266 bool m_sourceConnectorTypeHasBeenSet = false;
267
268 Aws::String m_sourceConnectorLabel;
269 bool m_sourceConnectorLabelHasBeenSet = false;
270
271 ConnectorType m_destinationConnectorType;
272 bool m_destinationConnectorTypeHasBeenSet = false;
273
274 Aws::String m_destinationConnectorLabel;
275 bool m_destinationConnectorLabelHasBeenSet = false;
276
277 TriggerType m_triggerType;
278 bool m_triggerTypeHasBeenSet = false;
279
280 Aws::Utils::DateTime m_createdAt;
281 bool m_createdAtHasBeenSet = false;
282
283 Aws::Utils::DateTime m_lastUpdatedAt;
284 bool m_lastUpdatedAtHasBeenSet = false;
285
286 Aws::String m_createdBy;
287 bool m_createdByHasBeenSet = false;
288
289 Aws::String m_lastUpdatedBy;
290 bool m_lastUpdatedByHasBeenSet = false;
291
293 bool m_tagsHasBeenSet = false;
294
295 ExecutionDetails m_lastRunExecutionDetails;
296 bool m_lastRunExecutionDetailsHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace Appflow
301} // namespace Aws
void SetSourceConnectorLabel(const Aws::String &value)
FlowDefinition & WithTriggerType(const TriggerType &value)
FlowDefinition & WithDescription(const char *value)
void SetDestinationConnectorLabel(const char *value)
void SetDestinationConnectorType(const ConnectorType &value)
FlowDefinition & WithLastUpdatedBy(Aws::String &&value)
FlowDefinition & WithSourceConnectorType(ConnectorType &&value)
void SetDescription(const Aws::String &value)
FlowDefinition & WithSourceConnectorType(const ConnectorType &value)
AWS_APPFLOW_API FlowDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedBy(const char *value)
void SetFlowArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
FlowDefinition & WithCreatedAt(Aws::Utils::DateTime &&value)
FlowDefinition & AddTags(const char *key, Aws::String &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
FlowDefinition & AddTags(const char *key, const char *value)
void SetSourceConnectorLabel(Aws::String &&value)
void SetTriggerType(TriggerType &&value)
void SetLastRunExecutionDetails(const ExecutionDetails &value)
void SetDestinationConnectorLabel(Aws::String &&value)
FlowDefinition & WithDescription(Aws::String &&value)
void SetFlowArn(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetFlowArn() const
FlowDefinition & AddTags(Aws::String &&key, const Aws::String &value)
FlowDefinition & WithLastUpdatedBy(const Aws::String &value)
FlowDefinition & WithCreatedBy(const char *value)
void SetFlowName(const char *value)
const Aws::String & GetLastUpdatedBy() const
FlowDefinition & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
FlowDefinition & WithFlowArn(const char *value)
FlowDefinition & WithFlowStatus(const FlowStatus &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const FlowStatus & GetFlowStatus() const
FlowDefinition & WithDescription(const Aws::String &value)
FlowDefinition & WithFlowArn(Aws::String &&value)
FlowDefinition & WithLastRunExecutionDetails(ExecutionDetails &&value)
const Aws::String & GetCreatedBy() const
FlowDefinition & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSourceConnectorType(ConnectorType &&value)
FlowDefinition & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
FlowDefinition & WithSourceConnectorLabel(const char *value)
const ConnectorType & GetDestinationConnectorType() const
void SetFlowName(Aws::String &&value)
void SetLastRunExecutionDetails(ExecutionDetails &&value)
FlowDefinition & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastUpdatedBy(Aws::String &&value)
FlowDefinition & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
void SetCreatedBy(Aws::String &&value)
FlowDefinition & WithFlowStatus(FlowStatus &&value)
FlowDefinition & WithDestinationConnectorType(const ConnectorType &value)
FlowDefinition & WithCreatedBy(const Aws::String &value)
FlowDefinition & WithDestinationConnectorLabel(Aws::String &&value)
FlowDefinition & WithCreatedBy(Aws::String &&value)
FlowDefinition & WithLastRunExecutionDetails(const ExecutionDetails &value)
FlowDefinition & WithDestinationConnectorType(ConnectorType &&value)
const ExecutionDetails & GetLastRunExecutionDetails() const
void SetFlowArn(const char *value)
const TriggerType & GetTriggerType() const
void SetLastUpdatedBy(const char *value)
FlowDefinition & AddTags(const Aws::String &key, Aws::String &&value)
FlowDefinition & WithLastUpdatedBy(const char *value)
void SetDescription(Aws::String &&value)
FlowDefinition & WithFlowArn(const Aws::String &value)
FlowDefinition & WithSourceConnectorLabel(const Aws::String &value)
FlowDefinition & WithFlowName(const Aws::String &value)
void SetSourceConnectorLabel(const char *value)
void SetSourceConnectorType(const ConnectorType &value)
void SetDescription(const char *value)
void SetCreatedBy(const Aws::String &value)
const Aws::String & GetDestinationConnectorLabel() const
FlowDefinition & WithSourceConnectorLabel(Aws::String &&value)
FlowDefinition & WithDestinationConnectorLabel(const Aws::String &value)
FlowDefinition & AddTags(const Aws::String &key, const Aws::String &value)
void SetFlowStatus(const FlowStatus &value)
FlowDefinition & WithFlowName(const char *value)
FlowDefinition & WithFlowName(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDestinationConnectorLabel(const Aws::String &value)
FlowDefinition & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetFlowName() const
const Aws::String & GetSourceConnectorLabel() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
FlowDefinition & WithTriggerType(TriggerType &&value)
FlowDefinition & WithDestinationConnectorLabel(const char *value)
const ConnectorType & GetSourceConnectorType() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
FlowDefinition & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetFlowName(const Aws::String &value)
void SetDestinationConnectorType(ConnectorType &&value)
AWS_APPFLOW_API FlowDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetTriggerType(const TriggerType &value)
void SetLastUpdatedBy(const Aws::String &value)
void SetFlowStatus(FlowStatus &&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
Aws::Utils::Json::JsonValue JsonValue