AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename FlowArnT = Aws::String>
54 void SetFlowArn(FlowArnT&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::forward<FlowArnT>(value); }
55 template<typename FlowArnT = Aws::String>
56 FlowDefinition& WithFlowArn(FlowArnT&& value) { SetFlowArn(std::forward<FlowArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template<typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 FlowDefinition& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
76 inline const Aws::String& GetFlowName() const { return m_flowName; }
77 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
78 template<typename FlowNameT = Aws::String>
79 void SetFlowName(FlowNameT&& value) { m_flowNameHasBeenSet = true; m_flowName = std::forward<FlowNameT>(value); }
80 template<typename FlowNameT = Aws::String>
81 FlowDefinition& WithFlowName(FlowNameT&& value) { SetFlowName(std::forward<FlowNameT>(value)); return *this;}
83
85
88 inline FlowStatus GetFlowStatus() const { return m_flowStatus; }
89 inline bool FlowStatusHasBeenSet() const { return m_flowStatusHasBeenSet; }
90 inline void SetFlowStatus(FlowStatus value) { m_flowStatusHasBeenSet = true; m_flowStatus = value; }
91 inline FlowDefinition& WithFlowStatus(FlowStatus value) { SetFlowStatus(value); return *this;}
93
95
99 inline ConnectorType GetSourceConnectorType() const { return m_sourceConnectorType; }
100 inline bool SourceConnectorTypeHasBeenSet() const { return m_sourceConnectorTypeHasBeenSet; }
101 inline void SetSourceConnectorType(ConnectorType value) { m_sourceConnectorTypeHasBeenSet = true; m_sourceConnectorType = value; }
104
106
109 inline const Aws::String& GetSourceConnectorLabel() const { return m_sourceConnectorLabel; }
110 inline bool SourceConnectorLabelHasBeenSet() const { return m_sourceConnectorLabelHasBeenSet; }
111 template<typename SourceConnectorLabelT = Aws::String>
112 void SetSourceConnectorLabel(SourceConnectorLabelT&& value) { m_sourceConnectorLabelHasBeenSet = true; m_sourceConnectorLabel = std::forward<SourceConnectorLabelT>(value); }
113 template<typename SourceConnectorLabelT = Aws::String>
114 FlowDefinition& WithSourceConnectorLabel(SourceConnectorLabelT&& value) { SetSourceConnectorLabel(std::forward<SourceConnectorLabelT>(value)); return *this;}
116
118
122 inline ConnectorType GetDestinationConnectorType() const { return m_destinationConnectorType; }
123 inline bool DestinationConnectorTypeHasBeenSet() const { return m_destinationConnectorTypeHasBeenSet; }
124 inline void SetDestinationConnectorType(ConnectorType value) { m_destinationConnectorTypeHasBeenSet = true; m_destinationConnectorType = value; }
127
129
132 inline const Aws::String& GetDestinationConnectorLabel() const { return m_destinationConnectorLabel; }
133 inline bool DestinationConnectorLabelHasBeenSet() const { return m_destinationConnectorLabelHasBeenSet; }
134 template<typename DestinationConnectorLabelT = Aws::String>
135 void SetDestinationConnectorLabel(DestinationConnectorLabelT&& value) { m_destinationConnectorLabelHasBeenSet = true; m_destinationConnectorLabel = std::forward<DestinationConnectorLabelT>(value); }
136 template<typename DestinationConnectorLabelT = Aws::String>
137 FlowDefinition& WithDestinationConnectorLabel(DestinationConnectorLabelT&& value) { SetDestinationConnectorLabel(std::forward<DestinationConnectorLabelT>(value)); return *this;}
139
141
145 inline TriggerType GetTriggerType() const { return m_triggerType; }
146 inline bool TriggerTypeHasBeenSet() const { return m_triggerTypeHasBeenSet; }
147 inline void SetTriggerType(TriggerType value) { m_triggerTypeHasBeenSet = true; m_triggerType = value; }
148 inline FlowDefinition& WithTriggerType(TriggerType value) { SetTriggerType(value); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
156 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
157 template<typename CreatedAtT = Aws::Utils::DateTime>
158 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
159 template<typename CreatedAtT = Aws::Utils::DateTime>
160 FlowDefinition& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
162
164
167 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
168 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
169 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
170 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
171 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
172 FlowDefinition& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
174
176
179 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
180 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
181 template<typename CreatedByT = Aws::String>
182 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
183 template<typename CreatedByT = Aws::String>
184 FlowDefinition& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
186
188
191 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
192 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
193 template<typename LastUpdatedByT = Aws::String>
194 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
195 template<typename LastUpdatedByT = Aws::String>
196 FlowDefinition& WithLastUpdatedBy(LastUpdatedByT&& value) { SetLastUpdatedBy(std::forward<LastUpdatedByT>(value)); return *this;}
198
200
203 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
204 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
205 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
207 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 FlowDefinition& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
209 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
210 FlowDefinition& AddTags(TagsKeyT&& key, TagsValueT&& value) {
211 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
212 }
214
216
219 inline const ExecutionDetails& GetLastRunExecutionDetails() const { return m_lastRunExecutionDetails; }
220 inline bool LastRunExecutionDetailsHasBeenSet() const { return m_lastRunExecutionDetailsHasBeenSet; }
221 template<typename LastRunExecutionDetailsT = ExecutionDetails>
222 void SetLastRunExecutionDetails(LastRunExecutionDetailsT&& value) { m_lastRunExecutionDetailsHasBeenSet = true; m_lastRunExecutionDetails = std::forward<LastRunExecutionDetailsT>(value); }
223 template<typename LastRunExecutionDetailsT = ExecutionDetails>
224 FlowDefinition& WithLastRunExecutionDetails(LastRunExecutionDetailsT&& value) { SetLastRunExecutionDetails(std::forward<LastRunExecutionDetailsT>(value)); return *this;}
226 private:
227
228 Aws::String m_flowArn;
229 bool m_flowArnHasBeenSet = false;
230
231 Aws::String m_description;
232 bool m_descriptionHasBeenSet = false;
233
234 Aws::String m_flowName;
235 bool m_flowNameHasBeenSet = false;
236
237 FlowStatus m_flowStatus{FlowStatus::NOT_SET};
238 bool m_flowStatusHasBeenSet = false;
239
240 ConnectorType m_sourceConnectorType{ConnectorType::NOT_SET};
241 bool m_sourceConnectorTypeHasBeenSet = false;
242
243 Aws::String m_sourceConnectorLabel;
244 bool m_sourceConnectorLabelHasBeenSet = false;
245
246 ConnectorType m_destinationConnectorType{ConnectorType::NOT_SET};
247 bool m_destinationConnectorTypeHasBeenSet = false;
248
249 Aws::String m_destinationConnectorLabel;
250 bool m_destinationConnectorLabelHasBeenSet = false;
251
252 TriggerType m_triggerType{TriggerType::NOT_SET};
253 bool m_triggerTypeHasBeenSet = false;
254
255 Aws::Utils::DateTime m_createdAt{};
256 bool m_createdAtHasBeenSet = false;
257
258 Aws::Utils::DateTime m_lastUpdatedAt{};
259 bool m_lastUpdatedAtHasBeenSet = false;
260
261 Aws::String m_createdBy;
262 bool m_createdByHasBeenSet = false;
263
264 Aws::String m_lastUpdatedBy;
265 bool m_lastUpdatedByHasBeenSet = false;
266
268 bool m_tagsHasBeenSet = false;
269
270 ExecutionDetails m_lastRunExecutionDetails;
271 bool m_lastRunExecutionDetailsHasBeenSet = false;
272 };
273
274} // namespace Model
275} // namespace Appflow
276} // namespace Aws
AWS_APPFLOW_API FlowDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTriggerType(TriggerType value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFlowName(FlowNameT &&value)
FlowDefinition & WithCreatedBy(CreatedByT &&value)
AWS_APPFLOW_API FlowDefinition()=default
FlowDefinition & WithFlowStatus(FlowStatus value)
const Aws::String & GetFlowArn() const
const Aws::String & GetLastUpdatedBy() const
FlowDefinition & WithSourceConnectorLabel(SourceConnectorLabelT &&value)
FlowDefinition & WithTriggerType(TriggerType value)
const Aws::String & GetCreatedBy() const
ConnectorType GetSourceConnectorType() const
FlowDefinition & AddTags(TagsKeyT &&key, TagsValueT &&value)
FlowDefinition & WithTags(TagsT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
ConnectorType GetDestinationConnectorType() const
FlowDefinition & WithSourceConnectorType(ConnectorType value)
FlowDefinition & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
void SetDestinationConnectorLabel(DestinationConnectorLabelT &&value)
const ExecutionDetails & GetLastRunExecutionDetails() const
void SetCreatedBy(CreatedByT &&value)
void SetDestinationConnectorType(ConnectorType value)
void SetSourceConnectorType(ConnectorType value)
void SetLastRunExecutionDetails(LastRunExecutionDetailsT &&value)
FlowDefinition & WithLastUpdatedAt(LastUpdatedAtT &&value)
FlowDefinition & WithLastUpdatedBy(LastUpdatedByT &&value)
const Aws::String & GetDestinationConnectorLabel() const
FlowDefinition & WithDestinationConnectorType(ConnectorType value)
void SetFlowStatus(FlowStatus value)
FlowDefinition & WithDescription(DescriptionT &&value)
const Aws::String & GetFlowName() const
const Aws::String & GetSourceConnectorLabel() const
void SetFlowArn(FlowArnT &&value)
FlowDefinition & WithFlowName(FlowNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
FlowDefinition & WithFlowArn(FlowArnT &&value)
void SetSourceConnectorLabel(SourceConnectorLabelT &&value)
FlowDefinition & WithDestinationConnectorLabel(DestinationConnectorLabelT &&value)
FlowDefinition & WithLastRunExecutionDetails(LastRunExecutionDetailsT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(DescriptionT &&value)
AWS_APPFLOW_API FlowDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&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