AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConnectorDetail.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/ConnectorType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/appflow/model/ConnectorProvisioningType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/appflow/model/SupportedDataTransferType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Appflow
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_APPFLOW_API ConnectorDetail() = default;
40 AWS_APPFLOW_API ConnectorDetail(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetConnectorDescription() const { return m_connectorDescription; }
50 inline bool ConnectorDescriptionHasBeenSet() const { return m_connectorDescriptionHasBeenSet; }
51 template<typename ConnectorDescriptionT = Aws::String>
52 void SetConnectorDescription(ConnectorDescriptionT&& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = std::forward<ConnectorDescriptionT>(value); }
53 template<typename ConnectorDescriptionT = Aws::String>
54 ConnectorDetail& WithConnectorDescription(ConnectorDescriptionT&& value) { SetConnectorDescription(std::forward<ConnectorDescriptionT>(value)); return *this;}
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) { m_connectorNameHasBeenSet = true; m_connectorName = std::forward<ConnectorNameT>(value); }
65 template<typename ConnectorNameT = Aws::String>
66 ConnectorDetail& WithConnectorName(ConnectorNameT&& value) { SetConnectorName(std::forward<ConnectorNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetConnectorOwner() const { return m_connectorOwner; }
74 inline bool ConnectorOwnerHasBeenSet() const { return m_connectorOwnerHasBeenSet; }
75 template<typename ConnectorOwnerT = Aws::String>
76 void SetConnectorOwner(ConnectorOwnerT&& value) { m_connectorOwnerHasBeenSet = true; m_connectorOwner = std::forward<ConnectorOwnerT>(value); }
77 template<typename ConnectorOwnerT = Aws::String>
78 ConnectorDetail& WithConnectorOwner(ConnectorOwnerT&& value) { SetConnectorOwner(std::forward<ConnectorOwnerT>(value)); return *this;}
80
82
85 inline const Aws::String& GetConnectorVersion() const { return m_connectorVersion; }
86 inline bool ConnectorVersionHasBeenSet() const { return m_connectorVersionHasBeenSet; }
87 template<typename ConnectorVersionT = Aws::String>
88 void SetConnectorVersion(ConnectorVersionT&& value) { m_connectorVersionHasBeenSet = true; m_connectorVersion = std::forward<ConnectorVersionT>(value); }
89 template<typename ConnectorVersionT = Aws::String>
90 ConnectorDetail& WithConnectorVersion(ConnectorVersionT&& value) { SetConnectorVersion(std::forward<ConnectorVersionT>(value)); return *this;}
92
94
97 inline const Aws::String& GetApplicationType() const { return m_applicationType; }
98 inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; }
99 template<typename ApplicationTypeT = Aws::String>
100 void SetApplicationType(ApplicationTypeT&& value) { m_applicationTypeHasBeenSet = true; m_applicationType = std::forward<ApplicationTypeT>(value); }
101 template<typename ApplicationTypeT = Aws::String>
102 ConnectorDetail& WithApplicationType(ApplicationTypeT&& value) { SetApplicationType(std::forward<ApplicationTypeT>(value)); return *this;}
104
106
109 inline ConnectorType GetConnectorType() const { return m_connectorType; }
110 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
111 inline void SetConnectorType(ConnectorType value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
112 inline ConnectorDetail& WithConnectorType(ConnectorType value) { SetConnectorType(value); return *this;}
114
116
119 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
120 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
121 template<typename ConnectorLabelT = Aws::String>
122 void SetConnectorLabel(ConnectorLabelT&& value) { m_connectorLabelHasBeenSet = true; m_connectorLabel = std::forward<ConnectorLabelT>(value); }
123 template<typename ConnectorLabelT = Aws::String>
124 ConnectorDetail& WithConnectorLabel(ConnectorLabelT&& value) { SetConnectorLabel(std::forward<ConnectorLabelT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetRegisteredAt() const { return m_registeredAt; }
132 inline bool RegisteredAtHasBeenSet() const { return m_registeredAtHasBeenSet; }
133 template<typename RegisteredAtT = Aws::Utils::DateTime>
134 void SetRegisteredAt(RegisteredAtT&& value) { m_registeredAtHasBeenSet = true; m_registeredAt = std::forward<RegisteredAtT>(value); }
135 template<typename RegisteredAtT = Aws::Utils::DateTime>
136 ConnectorDetail& WithRegisteredAt(RegisteredAtT&& value) { SetRegisteredAt(std::forward<RegisteredAtT>(value)); return *this;}
138
140
143 inline const Aws::String& GetRegisteredBy() const { return m_registeredBy; }
144 inline bool RegisteredByHasBeenSet() const { return m_registeredByHasBeenSet; }
145 template<typename RegisteredByT = Aws::String>
146 void SetRegisteredBy(RegisteredByT&& value) { m_registeredByHasBeenSet = true; m_registeredBy = std::forward<RegisteredByT>(value); }
147 template<typename RegisteredByT = Aws::String>
148 ConnectorDetail& WithRegisteredBy(RegisteredByT&& value) { SetRegisteredBy(std::forward<RegisteredByT>(value)); return *this;}
150
152
155 inline ConnectorProvisioningType GetConnectorProvisioningType() const { return m_connectorProvisioningType; }
156 inline bool ConnectorProvisioningTypeHasBeenSet() const { return m_connectorProvisioningTypeHasBeenSet; }
157 inline void SetConnectorProvisioningType(ConnectorProvisioningType value) { m_connectorProvisioningTypeHasBeenSet = true; m_connectorProvisioningType = value; }
160
162
165 inline const Aws::Vector<Aws::String>& GetConnectorModes() const { return m_connectorModes; }
166 inline bool ConnectorModesHasBeenSet() const { return m_connectorModesHasBeenSet; }
167 template<typename ConnectorModesT = Aws::Vector<Aws::String>>
168 void SetConnectorModes(ConnectorModesT&& value) { m_connectorModesHasBeenSet = true; m_connectorModes = std::forward<ConnectorModesT>(value); }
169 template<typename ConnectorModesT = Aws::Vector<Aws::String>>
170 ConnectorDetail& WithConnectorModes(ConnectorModesT&& value) { SetConnectorModes(std::forward<ConnectorModesT>(value)); return *this;}
171 template<typename ConnectorModesT = Aws::String>
172 ConnectorDetail& AddConnectorModes(ConnectorModesT&& value) { m_connectorModesHasBeenSet = true; m_connectorModes.emplace_back(std::forward<ConnectorModesT>(value)); return *this; }
174
176
181 inline const Aws::Vector<SupportedDataTransferType>& GetSupportedDataTransferTypes() const { return m_supportedDataTransferTypes; }
182 inline bool SupportedDataTransferTypesHasBeenSet() const { return m_supportedDataTransferTypesHasBeenSet; }
183 template<typename SupportedDataTransferTypesT = Aws::Vector<SupportedDataTransferType>>
184 void SetSupportedDataTransferTypes(SupportedDataTransferTypesT&& value) { m_supportedDataTransferTypesHasBeenSet = true; m_supportedDataTransferTypes = std::forward<SupportedDataTransferTypesT>(value); }
185 template<typename SupportedDataTransferTypesT = Aws::Vector<SupportedDataTransferType>>
186 ConnectorDetail& WithSupportedDataTransferTypes(SupportedDataTransferTypesT&& value) { SetSupportedDataTransferTypes(std::forward<SupportedDataTransferTypesT>(value)); return *this;}
187 inline ConnectorDetail& AddSupportedDataTransferTypes(SupportedDataTransferType value) { m_supportedDataTransferTypesHasBeenSet = true; m_supportedDataTransferTypes.push_back(value); return *this; }
189 private:
190
191 Aws::String m_connectorDescription;
192 bool m_connectorDescriptionHasBeenSet = false;
193
194 Aws::String m_connectorName;
195 bool m_connectorNameHasBeenSet = false;
196
197 Aws::String m_connectorOwner;
198 bool m_connectorOwnerHasBeenSet = false;
199
200 Aws::String m_connectorVersion;
201 bool m_connectorVersionHasBeenSet = false;
202
203 Aws::String m_applicationType;
204 bool m_applicationTypeHasBeenSet = false;
205
206 ConnectorType m_connectorType{ConnectorType::NOT_SET};
207 bool m_connectorTypeHasBeenSet = false;
208
209 Aws::String m_connectorLabel;
210 bool m_connectorLabelHasBeenSet = false;
211
212 Aws::Utils::DateTime m_registeredAt{};
213 bool m_registeredAtHasBeenSet = false;
214
215 Aws::String m_registeredBy;
216 bool m_registeredByHasBeenSet = false;
217
219 bool m_connectorProvisioningTypeHasBeenSet = false;
220
221 Aws::Vector<Aws::String> m_connectorModes;
222 bool m_connectorModesHasBeenSet = false;
223
224 Aws::Vector<SupportedDataTransferType> m_supportedDataTransferTypes;
225 bool m_supportedDataTransferTypesHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace Appflow
230} // 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