AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ConnectorDetail.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ConnectorProvisioningType.h>
9#include <aws/appflow/model/ConnectorType.h>
10#include <aws/appflow/model/SupportedDataTransferType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Appflow {
25namespace Model {
26
33 public:
34 AWS_APPFLOW_API ConnectorDetail() = default;
35 AWS_APPFLOW_API ConnectorDetail(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetConnectorDescription() const { return m_connectorDescription; }
44 inline bool ConnectorDescriptionHasBeenSet() const { return m_connectorDescriptionHasBeenSet; }
45 template <typename ConnectorDescriptionT = Aws::String>
46 void SetConnectorDescription(ConnectorDescriptionT&& value) {
47 m_connectorDescriptionHasBeenSet = true;
48 m_connectorDescription = std::forward<ConnectorDescriptionT>(value);
49 }
50 template <typename ConnectorDescriptionT = Aws::String>
51 ConnectorDetail& WithConnectorDescription(ConnectorDescriptionT&& value) {
52 SetConnectorDescription(std::forward<ConnectorDescriptionT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetConnectorName() const { return m_connectorName; }
62 inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; }
63 template <typename ConnectorNameT = Aws::String>
64 void SetConnectorName(ConnectorNameT&& value) {
65 m_connectorNameHasBeenSet = true;
66 m_connectorName = std::forward<ConnectorNameT>(value);
67 }
68 template <typename ConnectorNameT = Aws::String>
69 ConnectorDetail& WithConnectorName(ConnectorNameT&& value) {
70 SetConnectorName(std::forward<ConnectorNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetConnectorOwner() const { return m_connectorOwner; }
80 inline bool ConnectorOwnerHasBeenSet() const { return m_connectorOwnerHasBeenSet; }
81 template <typename ConnectorOwnerT = Aws::String>
82 void SetConnectorOwner(ConnectorOwnerT&& value) {
83 m_connectorOwnerHasBeenSet = true;
84 m_connectorOwner = std::forward<ConnectorOwnerT>(value);
85 }
86 template <typename ConnectorOwnerT = Aws::String>
87 ConnectorDetail& WithConnectorOwner(ConnectorOwnerT&& value) {
88 SetConnectorOwner(std::forward<ConnectorOwnerT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetConnectorVersion() const { return m_connectorVersion; }
98 inline bool ConnectorVersionHasBeenSet() const { return m_connectorVersionHasBeenSet; }
99 template <typename ConnectorVersionT = Aws::String>
100 void SetConnectorVersion(ConnectorVersionT&& value) {
101 m_connectorVersionHasBeenSet = true;
102 m_connectorVersion = std::forward<ConnectorVersionT>(value);
103 }
104 template <typename ConnectorVersionT = Aws::String>
105 ConnectorDetail& WithConnectorVersion(ConnectorVersionT&& value) {
106 SetConnectorVersion(std::forward<ConnectorVersionT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetApplicationType() const { return m_applicationType; }
116 inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; }
117 template <typename ApplicationTypeT = Aws::String>
118 void SetApplicationType(ApplicationTypeT&& value) {
119 m_applicationTypeHasBeenSet = true;
120 m_applicationType = std::forward<ApplicationTypeT>(value);
121 }
122 template <typename ApplicationTypeT = Aws::String>
123 ConnectorDetail& WithApplicationType(ApplicationTypeT&& value) {
124 SetApplicationType(std::forward<ApplicationTypeT>(value));
125 return *this;
126 }
128
130
133 inline ConnectorType GetConnectorType() const { return m_connectorType; }
134 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
135 inline void SetConnectorType(ConnectorType value) {
136 m_connectorTypeHasBeenSet = true;
137 m_connectorType = value;
138 }
140 SetConnectorType(value);
141 return *this;
142 }
144
146
149 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
150 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
151 template <typename ConnectorLabelT = Aws::String>
152 void SetConnectorLabel(ConnectorLabelT&& value) {
153 m_connectorLabelHasBeenSet = true;
154 m_connectorLabel = std::forward<ConnectorLabelT>(value);
155 }
156 template <typename ConnectorLabelT = Aws::String>
157 ConnectorDetail& WithConnectorLabel(ConnectorLabelT&& value) {
158 SetConnectorLabel(std::forward<ConnectorLabelT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Utils::DateTime& GetRegisteredAt() const { return m_registeredAt; }
168 inline bool RegisteredAtHasBeenSet() const { return m_registeredAtHasBeenSet; }
169 template <typename RegisteredAtT = Aws::Utils::DateTime>
170 void SetRegisteredAt(RegisteredAtT&& value) {
171 m_registeredAtHasBeenSet = true;
172 m_registeredAt = std::forward<RegisteredAtT>(value);
173 }
174 template <typename RegisteredAtT = Aws::Utils::DateTime>
175 ConnectorDetail& WithRegisteredAt(RegisteredAtT&& value) {
176 SetRegisteredAt(std::forward<RegisteredAtT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetRegisteredBy() const { return m_registeredBy; }
186 inline bool RegisteredByHasBeenSet() const { return m_registeredByHasBeenSet; }
187 template <typename RegisteredByT = Aws::String>
188 void SetRegisteredBy(RegisteredByT&& value) {
189 m_registeredByHasBeenSet = true;
190 m_registeredBy = std::forward<RegisteredByT>(value);
191 }
192 template <typename RegisteredByT = Aws::String>
193 ConnectorDetail& WithRegisteredBy(RegisteredByT&& value) {
194 SetRegisteredBy(std::forward<RegisteredByT>(value));
195 return *this;
196 }
198
200
203 inline ConnectorProvisioningType GetConnectorProvisioningType() const { return m_connectorProvisioningType; }
204 inline bool ConnectorProvisioningTypeHasBeenSet() const { return m_connectorProvisioningTypeHasBeenSet; }
206 m_connectorProvisioningTypeHasBeenSet = true;
207 m_connectorProvisioningType = value;
208 }
211 return *this;
212 }
214
216
219 inline const Aws::Vector<Aws::String>& GetConnectorModes() const { return m_connectorModes; }
220 inline bool ConnectorModesHasBeenSet() const { return m_connectorModesHasBeenSet; }
221 template <typename ConnectorModesT = Aws::Vector<Aws::String>>
222 void SetConnectorModes(ConnectorModesT&& value) {
223 m_connectorModesHasBeenSet = true;
224 m_connectorModes = std::forward<ConnectorModesT>(value);
225 }
226 template <typename ConnectorModesT = Aws::Vector<Aws::String>>
227 ConnectorDetail& WithConnectorModes(ConnectorModesT&& value) {
228 SetConnectorModes(std::forward<ConnectorModesT>(value));
229 return *this;
230 }
231 template <typename ConnectorModesT = Aws::String>
232 ConnectorDetail& AddConnectorModes(ConnectorModesT&& value) {
233 m_connectorModesHasBeenSet = true;
234 m_connectorModes.emplace_back(std::forward<ConnectorModesT>(value));
235 return *this;
236 }
238
240
245 inline const Aws::Vector<SupportedDataTransferType>& GetSupportedDataTransferTypes() const { return m_supportedDataTransferTypes; }
246 inline bool SupportedDataTransferTypesHasBeenSet() const { return m_supportedDataTransferTypesHasBeenSet; }
247 template <typename SupportedDataTransferTypesT = Aws::Vector<SupportedDataTransferType>>
248 void SetSupportedDataTransferTypes(SupportedDataTransferTypesT&& value) {
249 m_supportedDataTransferTypesHasBeenSet = true;
250 m_supportedDataTransferTypes = std::forward<SupportedDataTransferTypesT>(value);
251 }
252 template <typename SupportedDataTransferTypesT = Aws::Vector<SupportedDataTransferType>>
253 ConnectorDetail& WithSupportedDataTransferTypes(SupportedDataTransferTypesT&& value) {
254 SetSupportedDataTransferTypes(std::forward<SupportedDataTransferTypesT>(value));
255 return *this;
256 }
258 m_supportedDataTransferTypesHasBeenSet = true;
259 m_supportedDataTransferTypes.push_back(value);
260 return *this;
261 }
263 private:
264 Aws::String m_connectorDescription;
265
266 Aws::String m_connectorName;
267
268 Aws::String m_connectorOwner;
269
270 Aws::String m_connectorVersion;
271
272 Aws::String m_applicationType;
273
274 ConnectorType m_connectorType{ConnectorType::NOT_SET};
275
276 Aws::String m_connectorLabel;
277
278 Aws::Utils::DateTime m_registeredAt{};
279
280 Aws::String m_registeredBy;
281
283
284 Aws::Vector<Aws::String> m_connectorModes;
285
286 Aws::Vector<SupportedDataTransferType> m_supportedDataTransferTypes;
287 bool m_connectorDescriptionHasBeenSet = false;
288 bool m_connectorNameHasBeenSet = false;
289 bool m_connectorOwnerHasBeenSet = false;
290 bool m_connectorVersionHasBeenSet = false;
291 bool m_applicationTypeHasBeenSet = false;
292 bool m_connectorTypeHasBeenSet = false;
293 bool m_connectorLabelHasBeenSet = false;
294 bool m_registeredAtHasBeenSet = false;
295 bool m_registeredByHasBeenSet = false;
296 bool m_connectorProvisioningTypeHasBeenSet = false;
297 bool m_connectorModesHasBeenSet = false;
298 bool m_supportedDataTransferTypesHasBeenSet = false;
299};
300
301} // namespace Model
302} // namespace Appflow
303} // namespace Aws
void SetConnectorModes(ConnectorModesT &&value)
ConnectorDetail & WithRegisteredAt(RegisteredAtT &&value)
ConnectorDetail & WithConnectorLabel(ConnectorLabelT &&value)
const Aws::String & GetConnectorVersion() const
ConnectorDetail & WithConnectorOwner(ConnectorOwnerT &&value)
void SetApplicationType(ApplicationTypeT &&value)
void SetConnectorType(ConnectorType value)
ConnectorDetail & WithConnectorModes(ConnectorModesT &&value)
const Aws::String & GetConnectorName() const
AWS_APPFLOW_API ConnectorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetConnectorModes() const
ConnectorDetail & WithApplicationType(ApplicationTypeT &&value)
const Aws::Utils::DateTime & GetRegisteredAt() const
void SetConnectorDescription(ConnectorDescriptionT &&value)
ConnectorDetail & WithSupportedDataTransferTypes(SupportedDataTransferTypesT &&value)
ConnectorDetail & WithConnectorDescription(ConnectorDescriptionT &&value)
void SetConnectorProvisioningType(ConnectorProvisioningType value)
const Aws::Vector< SupportedDataTransferType > & GetSupportedDataTransferTypes() const
ConnectorDetail & AddSupportedDataTransferTypes(SupportedDataTransferType value)
void SetConnectorVersion(ConnectorVersionT &&value)
AWS_APPFLOW_API ConnectorDetail()=default
ConnectorDetail & AddConnectorModes(ConnectorModesT &&value)
ConnectorDetail & WithConnectorProvisioningType(ConnectorProvisioningType value)
AWS_APPFLOW_API ConnectorDetail(Aws::Utils::Json::JsonView jsonValue)
void SetRegisteredBy(RegisteredByT &&value)
ConnectorDetail & WithConnectorVersion(ConnectorVersionT &&value)
void SetConnectorOwner(ConnectorOwnerT &&value)
const Aws::String & GetConnectorDescription() const
ConnectorDetail & WithConnectorType(ConnectorType value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRegisteredBy() const
void SetSupportedDataTransferTypes(SupportedDataTransferTypesT &&value)
ConnectorDetail & WithConnectorName(ConnectorNameT &&value)
void SetRegisteredAt(RegisteredAtT &&value)
void SetConnectorName(ConnectorNameT &&value)
const Aws::String & GetApplicationType() const
ConnectorDetail & WithRegisteredBy(RegisteredByT &&value)
ConnectorProvisioningType GetConnectorProvisioningType() const
void SetConnectorLabel(ConnectorLabelT &&value)
const Aws::String & GetConnectorOwner() const
const Aws::String & GetConnectorLabel() 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