AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ConnectorProfile.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ConnectionMode.h>
9#include <aws/appflow/model/ConnectorProfileProperties.h>
10#include <aws/appflow/model/ConnectorType.h>
11#include <aws/appflow/model/PrivateConnectionProvisioningState.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.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
38 public:
39 AWS_APPFLOW_API ConnectorProfile() = default;
40 AWS_APPFLOW_API ConnectorProfile(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::String& GetConnectorProfileArn() const { return m_connectorProfileArn; }
49 inline bool ConnectorProfileArnHasBeenSet() const { return m_connectorProfileArnHasBeenSet; }
50 template <typename ConnectorProfileArnT = Aws::String>
51 void SetConnectorProfileArn(ConnectorProfileArnT&& value) {
52 m_connectorProfileArnHasBeenSet = true;
53 m_connectorProfileArn = std::forward<ConnectorProfileArnT>(value);
54 }
55 template <typename ConnectorProfileArnT = Aws::String>
56 ConnectorProfile& WithConnectorProfileArn(ConnectorProfileArnT&& value) {
57 SetConnectorProfileArn(std::forward<ConnectorProfileArnT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::String& GetConnectorProfileName() const { return m_connectorProfileName; }
68 inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; }
69 template <typename ConnectorProfileNameT = Aws::String>
70 void SetConnectorProfileName(ConnectorProfileNameT&& value) {
71 m_connectorProfileNameHasBeenSet = true;
72 m_connectorProfileName = std::forward<ConnectorProfileNameT>(value);
73 }
74 template <typename ConnectorProfileNameT = Aws::String>
75 ConnectorProfile& WithConnectorProfileName(ConnectorProfileNameT&& value) {
76 SetConnectorProfileName(std::forward<ConnectorProfileNameT>(value));
77 return *this;
78 }
80
82
85 inline ConnectorType GetConnectorType() const { return m_connectorType; }
86 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
87 inline void SetConnectorType(ConnectorType value) {
88 m_connectorTypeHasBeenSet = true;
89 m_connectorType = value;
90 }
92 SetConnectorType(value);
93 return *this;
94 }
96
98
101 inline const Aws::String& GetConnectorLabel() const { return m_connectorLabel; }
102 inline bool ConnectorLabelHasBeenSet() const { return m_connectorLabelHasBeenSet; }
103 template <typename ConnectorLabelT = Aws::String>
104 void SetConnectorLabel(ConnectorLabelT&& value) {
105 m_connectorLabelHasBeenSet = true;
106 m_connectorLabel = std::forward<ConnectorLabelT>(value);
107 }
108 template <typename ConnectorLabelT = Aws::String>
109 ConnectorProfile& WithConnectorLabel(ConnectorLabelT&& value) {
110 SetConnectorLabel(std::forward<ConnectorLabelT>(value));
111 return *this;
112 }
114
116
119 inline ConnectionMode GetConnectionMode() const { return m_connectionMode; }
120 inline bool ConnectionModeHasBeenSet() const { return m_connectionModeHasBeenSet; }
122 m_connectionModeHasBeenSet = true;
123 m_connectionMode = value;
124 }
126 SetConnectionMode(value);
127 return *this;
128 }
130
132
135 inline const Aws::String& GetCredentialsArn() const { return m_credentialsArn; }
136 inline bool CredentialsArnHasBeenSet() const { return m_credentialsArnHasBeenSet; }
137 template <typename CredentialsArnT = Aws::String>
138 void SetCredentialsArn(CredentialsArnT&& value) {
139 m_credentialsArnHasBeenSet = true;
140 m_credentialsArn = std::forward<CredentialsArnT>(value);
141 }
142 template <typename CredentialsArnT = Aws::String>
143 ConnectorProfile& WithCredentialsArn(CredentialsArnT&& value) {
144 SetCredentialsArn(std::forward<CredentialsArnT>(value));
145 return *this;
146 }
148
150
153 inline const ConnectorProfileProperties& GetConnectorProfileProperties() const { return m_connectorProfileProperties; }
154 inline bool ConnectorProfilePropertiesHasBeenSet() const { return m_connectorProfilePropertiesHasBeenSet; }
155 template <typename ConnectorProfilePropertiesT = ConnectorProfileProperties>
156 void SetConnectorProfileProperties(ConnectorProfilePropertiesT&& value) {
157 m_connectorProfilePropertiesHasBeenSet = true;
158 m_connectorProfileProperties = std::forward<ConnectorProfilePropertiesT>(value);
159 }
160 template <typename ConnectorProfilePropertiesT = ConnectorProfileProperties>
161 ConnectorProfile& WithConnectorProfileProperties(ConnectorProfilePropertiesT&& value) {
162 SetConnectorProfileProperties(std::forward<ConnectorProfilePropertiesT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
172 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
173 template <typename CreatedAtT = Aws::Utils::DateTime>
174 void SetCreatedAt(CreatedAtT&& value) {
175 m_createdAtHasBeenSet = true;
176 m_createdAt = std::forward<CreatedAtT>(value);
177 }
178 template <typename CreatedAtT = Aws::Utils::DateTime>
179 ConnectorProfile& WithCreatedAt(CreatedAtT&& value) {
180 SetCreatedAt(std::forward<CreatedAtT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
190 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
191 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
192 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
193 m_lastUpdatedAtHasBeenSet = true;
194 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
195 }
196 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
197 ConnectorProfile& WithLastUpdatedAt(LastUpdatedAtT&& value) {
198 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
199 return *this;
200 }
202
204
208 return m_privateConnectionProvisioningState;
209 }
210 inline bool PrivateConnectionProvisioningStateHasBeenSet() const { return m_privateConnectionProvisioningStateHasBeenSet; }
211 template <typename PrivateConnectionProvisioningStateT = PrivateConnectionProvisioningState>
212 void SetPrivateConnectionProvisioningState(PrivateConnectionProvisioningStateT&& value) {
213 m_privateConnectionProvisioningStateHasBeenSet = true;
214 m_privateConnectionProvisioningState = std::forward<PrivateConnectionProvisioningStateT>(value);
215 }
216 template <typename PrivateConnectionProvisioningStateT = PrivateConnectionProvisioningState>
217 ConnectorProfile& WithPrivateConnectionProvisioningState(PrivateConnectionProvisioningStateT&& value) {
218 SetPrivateConnectionProvisioningState(std::forward<PrivateConnectionProvisioningStateT>(value));
219 return *this;
220 }
222 private:
223 Aws::String m_connectorProfileArn;
224
225 Aws::String m_connectorProfileName;
226
227 ConnectorType m_connectorType{ConnectorType::NOT_SET};
228
229 Aws::String m_connectorLabel;
230
231 ConnectionMode m_connectionMode{ConnectionMode::NOT_SET};
232
233 Aws::String m_credentialsArn;
234
235 ConnectorProfileProperties m_connectorProfileProperties;
236
237 Aws::Utils::DateTime m_createdAt{};
238
239 Aws::Utils::DateTime m_lastUpdatedAt{};
240
241 PrivateConnectionProvisioningState m_privateConnectionProvisioningState;
242 bool m_connectorProfileArnHasBeenSet = false;
243 bool m_connectorProfileNameHasBeenSet = false;
244 bool m_connectorTypeHasBeenSet = false;
245 bool m_connectorLabelHasBeenSet = false;
246 bool m_connectionModeHasBeenSet = false;
247 bool m_credentialsArnHasBeenSet = false;
248 bool m_connectorProfilePropertiesHasBeenSet = false;
249 bool m_createdAtHasBeenSet = false;
250 bool m_lastUpdatedAtHasBeenSet = false;
251 bool m_privateConnectionProvisioningStateHasBeenSet = false;
252};
253
254} // namespace Model
255} // namespace Appflow
256} // namespace Aws
const PrivateConnectionProvisioningState & GetPrivateConnectionProvisioningState() const
ConnectorProfile & WithPrivateConnectionProvisioningState(PrivateConnectionProvisioningStateT &&value)
void SetConnectorProfileProperties(ConnectorProfilePropertiesT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectorProfileArn(ConnectorProfileArnT &&value)
ConnectorProfile & WithCreatedAt(CreatedAtT &&value)
ConnectorProfile & WithCredentialsArn(CredentialsArnT &&value)
void SetPrivateConnectionProvisioningState(PrivateConnectionProvisioningStateT &&value)
ConnectorProfile & WithConnectorLabel(ConnectorLabelT &&value)
AWS_APPFLOW_API ConnectorProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorProfile & WithConnectorProfileProperties(ConnectorProfilePropertiesT &&value)
const ConnectorProfileProperties & GetConnectorProfileProperties() const
ConnectorProfile & WithConnectorProfileArn(ConnectorProfileArnT &&value)
void SetConnectorLabel(ConnectorLabelT &&value)
const Aws::String & GetConnectorLabel() const
const Aws::Utils::DateTime & GetCreatedAt() const
ConnectorProfile & WithConnectionMode(ConnectionMode value)
AWS_APPFLOW_API ConnectorProfile(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetConnectorProfileName() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ConnectorProfile & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetConnectorType(ConnectorType value)
ConnectorProfile & WithConnectorProfileName(ConnectorProfileNameT &&value)
void SetConnectionMode(ConnectionMode value)
void SetConnectorProfileName(ConnectorProfileNameT &&value)
const Aws::String & GetConnectorProfileArn() const
const Aws::String & GetCredentialsArn() const
AWS_APPFLOW_API ConnectorProfile()=default
ConnectorProfile & WithConnectorType(ConnectorType value)
void SetCredentialsArn(CredentialsArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue