AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsDmsEndpointDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
30 public:
31 AWS_SECURITYHUB_API AwsDmsEndpointDetails() = default;
32 AWS_SECURITYHUB_API AwsDmsEndpointDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
42 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
43 template <typename CertificateArnT = Aws::String>
44 void SetCertificateArn(CertificateArnT&& value) {
45 m_certificateArnHasBeenSet = true;
46 m_certificateArn = std::forward<CertificateArnT>(value);
47 }
48 template <typename CertificateArnT = Aws::String>
49 AwsDmsEndpointDetails& WithCertificateArn(CertificateArnT&& value) {
50 SetCertificateArn(std::forward<CertificateArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 template <typename DatabaseNameT = Aws::String>
62 void SetDatabaseName(DatabaseNameT&& value) {
63 m_databaseNameHasBeenSet = true;
64 m_databaseName = std::forward<DatabaseNameT>(value);
65 }
66 template <typename DatabaseNameT = Aws::String>
67 AwsDmsEndpointDetails& WithDatabaseName(DatabaseNameT&& value) {
68 SetDatabaseName(std::forward<DatabaseNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
78 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
79 template <typename EndpointArnT = Aws::String>
80 void SetEndpointArn(EndpointArnT&& value) {
81 m_endpointArnHasBeenSet = true;
82 m_endpointArn = std::forward<EndpointArnT>(value);
83 }
84 template <typename EndpointArnT = Aws::String>
85 AwsDmsEndpointDetails& WithEndpointArn(EndpointArnT&& value) {
86 SetEndpointArn(std::forward<EndpointArnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetEndpointIdentifier() const { return m_endpointIdentifier; }
96 inline bool EndpointIdentifierHasBeenSet() const { return m_endpointIdentifierHasBeenSet; }
97 template <typename EndpointIdentifierT = Aws::String>
98 void SetEndpointIdentifier(EndpointIdentifierT&& value) {
99 m_endpointIdentifierHasBeenSet = true;
100 m_endpointIdentifier = std::forward<EndpointIdentifierT>(value);
101 }
102 template <typename EndpointIdentifierT = Aws::String>
103 AwsDmsEndpointDetails& WithEndpointIdentifier(EndpointIdentifierT&& value) {
104 SetEndpointIdentifier(std::forward<EndpointIdentifierT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetEndpointType() const { return m_endpointType; }
114 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
115 template <typename EndpointTypeT = Aws::String>
116 void SetEndpointType(EndpointTypeT&& value) {
117 m_endpointTypeHasBeenSet = true;
118 m_endpointType = std::forward<EndpointTypeT>(value);
119 }
120 template <typename EndpointTypeT = Aws::String>
121 AwsDmsEndpointDetails& WithEndpointType(EndpointTypeT&& value) {
122 SetEndpointType(std::forward<EndpointTypeT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::String& GetEngineName() const { return m_engineName; }
133 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
134 template <typename EngineNameT = Aws::String>
135 void SetEngineName(EngineNameT&& value) {
136 m_engineNameHasBeenSet = true;
137 m_engineName = std::forward<EngineNameT>(value);
138 }
139 template <typename EngineNameT = Aws::String>
140 AwsDmsEndpointDetails& WithEngineName(EngineNameT&& value) {
141 SetEngineName(std::forward<EngineNameT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetExternalId() const { return m_externalId; }
151 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
152 template <typename ExternalIdT = Aws::String>
153 void SetExternalId(ExternalIdT&& value) {
154 m_externalIdHasBeenSet = true;
155 m_externalId = std::forward<ExternalIdT>(value);
156 }
157 template <typename ExternalIdT = Aws::String>
158 AwsDmsEndpointDetails& WithExternalId(ExternalIdT&& value) {
159 SetExternalId(std::forward<ExternalIdT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::String& GetExtraConnectionAttributes() const { return m_extraConnectionAttributes; }
169 inline bool ExtraConnectionAttributesHasBeenSet() const { return m_extraConnectionAttributesHasBeenSet; }
170 template <typename ExtraConnectionAttributesT = Aws::String>
171 void SetExtraConnectionAttributes(ExtraConnectionAttributesT&& value) {
172 m_extraConnectionAttributesHasBeenSet = true;
173 m_extraConnectionAttributes = std::forward<ExtraConnectionAttributesT>(value);
174 }
175 template <typename ExtraConnectionAttributesT = Aws::String>
176 AwsDmsEndpointDetails& WithExtraConnectionAttributes(ExtraConnectionAttributesT&& value) {
177 SetExtraConnectionAttributes(std::forward<ExtraConnectionAttributesT>(value));
178 return *this;
179 }
181
183
191 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
192 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
193 template <typename KmsKeyIdT = Aws::String>
194 void SetKmsKeyId(KmsKeyIdT&& value) {
195 m_kmsKeyIdHasBeenSet = true;
196 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
197 }
198 template <typename KmsKeyIdT = Aws::String>
200 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
201 return *this;
202 }
204
206
209 inline int GetPort() const { return m_port; }
210 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
211 inline void SetPort(int value) {
212 m_portHasBeenSet = true;
213 m_port = value;
214 }
215 inline AwsDmsEndpointDetails& WithPort(int value) {
216 SetPort(value);
217 return *this;
218 }
220
222
225 inline const Aws::String& GetServerName() const { return m_serverName; }
226 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
227 template <typename ServerNameT = Aws::String>
228 void SetServerName(ServerNameT&& value) {
229 m_serverNameHasBeenSet = true;
230 m_serverName = std::forward<ServerNameT>(value);
231 }
232 template <typename ServerNameT = Aws::String>
233 AwsDmsEndpointDetails& WithServerName(ServerNameT&& value) {
234 SetServerName(std::forward<ServerNameT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::String& GetSslMode() const { return m_sslMode; }
244 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
245 template <typename SslModeT = Aws::String>
246 void SetSslMode(SslModeT&& value) {
247 m_sslModeHasBeenSet = true;
248 m_sslMode = std::forward<SslModeT>(value);
249 }
250 template <typename SslModeT = Aws::String>
252 SetSslMode(std::forward<SslModeT>(value));
253 return *this;
254 }
256
258
261 inline const Aws::String& GetUsername() const { return m_username; }
262 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
263 template <typename UsernameT = Aws::String>
264 void SetUsername(UsernameT&& value) {
265 m_usernameHasBeenSet = true;
266 m_username = std::forward<UsernameT>(value);
267 }
268 template <typename UsernameT = Aws::String>
270 SetUsername(std::forward<UsernameT>(value));
271 return *this;
272 }
274 private:
275 Aws::String m_certificateArn;
276
277 Aws::String m_databaseName;
278
279 Aws::String m_endpointArn;
280
281 Aws::String m_endpointIdentifier;
282
283 Aws::String m_endpointType;
284
285 Aws::String m_engineName;
286
287 Aws::String m_externalId;
288
289 Aws::String m_extraConnectionAttributes;
290
291 Aws::String m_kmsKeyId;
292
293 int m_port{0};
294
295 Aws::String m_serverName;
296
297 Aws::String m_sslMode;
298
299 Aws::String m_username;
300 bool m_certificateArnHasBeenSet = false;
301 bool m_databaseNameHasBeenSet = false;
302 bool m_endpointArnHasBeenSet = false;
303 bool m_endpointIdentifierHasBeenSet = false;
304 bool m_endpointTypeHasBeenSet = false;
305 bool m_engineNameHasBeenSet = false;
306 bool m_externalIdHasBeenSet = false;
307 bool m_extraConnectionAttributesHasBeenSet = false;
308 bool m_kmsKeyIdHasBeenSet = false;
309 bool m_portHasBeenSet = false;
310 bool m_serverNameHasBeenSet = false;
311 bool m_sslModeHasBeenSet = false;
312 bool m_usernameHasBeenSet = false;
313};
314
315} // namespace Model
316} // namespace SecurityHub
317} // namespace Aws
AwsDmsEndpointDetails & WithUsername(UsernameT &&value)
AwsDmsEndpointDetails & WithEndpointIdentifier(EndpointIdentifierT &&value)
AWS_SECURITYHUB_API AwsDmsEndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsDmsEndpointDetails & WithExternalId(ExternalIdT &&value)
AwsDmsEndpointDetails & WithSslMode(SslModeT &&value)
AWS_SECURITYHUB_API AwsDmsEndpointDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpointIdentifier(EndpointIdentifierT &&value)
AWS_SECURITYHUB_API AwsDmsEndpointDetails()=default
AwsDmsEndpointDetails & WithServerName(ServerNameT &&value)
void SetExtraConnectionAttributes(ExtraConnectionAttributesT &&value)
AwsDmsEndpointDetails & WithCertificateArn(CertificateArnT &&value)
AwsDmsEndpointDetails & WithEndpointType(EndpointTypeT &&value)
AwsDmsEndpointDetails & WithExtraConnectionAttributes(ExtraConnectionAttributesT &&value)
AwsDmsEndpointDetails & WithKmsKeyId(KmsKeyIdT &&value)
AwsDmsEndpointDetails & WithDatabaseName(DatabaseNameT &&value)
AwsDmsEndpointDetails & WithEngineName(EngineNameT &&value)
AwsDmsEndpointDetails & WithEndpointArn(EndpointArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue