AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DataIntegrationFlow.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/supplychain/SupplyChain_EXPORTS.h>
11#include <aws/supplychain/model/DataIntegrationFlowSource.h>
12#include <aws/supplychain/model/DataIntegrationFlowTarget.h>
13#include <aws/supplychain/model/DataIntegrationFlowTransformation.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SupplyChain {
25namespace Model {
26
33 public:
34 AWS_SUPPLYCHAIN_API DataIntegrationFlow() = default;
35 AWS_SUPPLYCHAIN_API DataIntegrationFlow(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 template <typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) {
47 m_instanceIdHasBeenSet = true;
48 m_instanceId = std::forward<InstanceIdT>(value);
49 }
50 template <typename InstanceIdT = Aws::String>
51 DataIntegrationFlow& WithInstanceId(InstanceIdT&& value) {
52 SetInstanceId(std::forward<InstanceIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
69 DataIntegrationFlow& WithName(NameT&& value) {
70 SetName(std::forward<NameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Vector<DataIntegrationFlowSource>& GetSources() const { return m_sources; }
80 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
81 template <typename SourcesT = Aws::Vector<DataIntegrationFlowSource>>
82 void SetSources(SourcesT&& value) {
83 m_sourcesHasBeenSet = true;
84 m_sources = std::forward<SourcesT>(value);
85 }
86 template <typename SourcesT = Aws::Vector<DataIntegrationFlowSource>>
87 DataIntegrationFlow& WithSources(SourcesT&& value) {
88 SetSources(std::forward<SourcesT>(value));
89 return *this;
90 }
91 template <typename SourcesT = DataIntegrationFlowSource>
92 DataIntegrationFlow& AddSources(SourcesT&& value) {
93 m_sourcesHasBeenSet = true;
94 m_sources.emplace_back(std::forward<SourcesT>(value));
95 return *this;
96 }
98
100
103 inline const DataIntegrationFlowTransformation& GetTransformation() const { return m_transformation; }
104 inline bool TransformationHasBeenSet() const { return m_transformationHasBeenSet; }
105 template <typename TransformationT = DataIntegrationFlowTransformation>
106 void SetTransformation(TransformationT&& value) {
107 m_transformationHasBeenSet = true;
108 m_transformation = std::forward<TransformationT>(value);
109 }
110 template <typename TransformationT = DataIntegrationFlowTransformation>
111 DataIntegrationFlow& WithTransformation(TransformationT&& value) {
112 SetTransformation(std::forward<TransformationT>(value));
113 return *this;
114 }
116
118
121 inline const DataIntegrationFlowTarget& GetTarget() const { return m_target; }
122 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
123 template <typename TargetT = DataIntegrationFlowTarget>
124 void SetTarget(TargetT&& value) {
125 m_targetHasBeenSet = true;
126 m_target = std::forward<TargetT>(value);
127 }
128 template <typename TargetT = DataIntegrationFlowTarget>
129 DataIntegrationFlow& WithTarget(TargetT&& value) {
130 SetTarget(std::forward<TargetT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
140 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
141 template <typename CreatedTimeT = Aws::Utils::DateTime>
142 void SetCreatedTime(CreatedTimeT&& value) {
143 m_createdTimeHasBeenSet = true;
144 m_createdTime = std::forward<CreatedTimeT>(value);
145 }
146 template <typename CreatedTimeT = Aws::Utils::DateTime>
147 DataIntegrationFlow& WithCreatedTime(CreatedTimeT&& value) {
148 SetCreatedTime(std::forward<CreatedTimeT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
158 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
159 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
160 void SetLastModifiedTime(LastModifiedTimeT&& value) {
161 m_lastModifiedTimeHasBeenSet = true;
162 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
163 }
164 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
165 DataIntegrationFlow& WithLastModifiedTime(LastModifiedTimeT&& value) {
166 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
167 return *this;
168 }
170 private:
171 Aws::String m_instanceId;
172
173 Aws::String m_name;
174
176
177 DataIntegrationFlowTransformation m_transformation;
178
180
181 Aws::Utils::DateTime m_createdTime{};
182
183 Aws::Utils::DateTime m_lastModifiedTime{};
184 bool m_instanceIdHasBeenSet = false;
185 bool m_nameHasBeenSet = false;
186 bool m_sourcesHasBeenSet = false;
187 bool m_transformationHasBeenSet = false;
188 bool m_targetHasBeenSet = false;
189 bool m_createdTimeHasBeenSet = false;
190 bool m_lastModifiedTimeHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace SupplyChain
195} // namespace Aws
const Aws::Vector< DataIntegrationFlowSource > & GetSources() const
DataIntegrationFlow & WithTransformation(TransformationT &&value)
const DataIntegrationFlowTarget & GetTarget() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlow()=default
DataIntegrationFlow & WithName(NameT &&value)
DataIntegrationFlow & WithCreatedTime(CreatedTimeT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlow(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SUPPLYCHAIN_API DataIntegrationFlow & operator=(Aws::Utils::Json::JsonView jsonValue)
DataIntegrationFlow & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
DataIntegrationFlow & WithInstanceId(InstanceIdT &&value)
DataIntegrationFlow & WithTarget(TargetT &&value)
DataIntegrationFlow & WithSources(SourcesT &&value)
DataIntegrationFlow & AddSources(SourcesT &&value)
const DataIntegrationFlowTransformation & GetTransformation() const
const Aws::Utils::DateTime & GetCreatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue