AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsDmsEndpointDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SECURITYHUB_API AwsDmsEndpointDetails();
37 AWS_SECURITYHUB_API AwsDmsEndpointDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
48 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
49 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
50 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
51 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
52 inline AwsDmsEndpointDetails& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
53 inline AwsDmsEndpointDetails& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
54 inline AwsDmsEndpointDetails& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
56
58
61 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
62 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
63 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
64 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
65 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
66 inline AwsDmsEndpointDetails& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
67 inline AwsDmsEndpointDetails& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
68 inline AwsDmsEndpointDetails& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
70
72
75 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
76 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
77 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
78 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
79 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
80 inline AwsDmsEndpointDetails& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
81 inline AwsDmsEndpointDetails& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
82 inline AwsDmsEndpointDetails& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
84
86
89 inline const Aws::String& GetEndpointIdentifier() const{ return m_endpointIdentifier; }
90 inline bool EndpointIdentifierHasBeenSet() const { return m_endpointIdentifierHasBeenSet; }
91 inline void SetEndpointIdentifier(const Aws::String& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = value; }
92 inline void SetEndpointIdentifier(Aws::String&& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = std::move(value); }
93 inline void SetEndpointIdentifier(const char* value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier.assign(value); }
95 inline AwsDmsEndpointDetails& WithEndpointIdentifier(Aws::String&& value) { SetEndpointIdentifier(std::move(value)); return *this;}
96 inline AwsDmsEndpointDetails& WithEndpointIdentifier(const char* value) { SetEndpointIdentifier(value); return *this;}
98
100
103 inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
104 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
105 inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
106 inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
107 inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
108 inline AwsDmsEndpointDetails& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
109 inline AwsDmsEndpointDetails& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
110 inline AwsDmsEndpointDetails& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
112
114
118 inline const Aws::String& GetEngineName() const{ return m_engineName; }
119 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
120 inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
121 inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
122 inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
123 inline AwsDmsEndpointDetails& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
124 inline AwsDmsEndpointDetails& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
125 inline AwsDmsEndpointDetails& WithEngineName(const char* value) { SetEngineName(value); return *this;}
127
129
132 inline const Aws::String& GetExternalId() const{ return m_externalId; }
133 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
134 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
135 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
136 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
137 inline AwsDmsEndpointDetails& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
138 inline AwsDmsEndpointDetails& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
139 inline AwsDmsEndpointDetails& WithExternalId(const char* value) { SetExternalId(value); return *this;}
141
143
146 inline const Aws::String& GetExtraConnectionAttributes() const{ return m_extraConnectionAttributes; }
147 inline bool ExtraConnectionAttributesHasBeenSet() const { return m_extraConnectionAttributesHasBeenSet; }
148 inline void SetExtraConnectionAttributes(const Aws::String& value) { m_extraConnectionAttributesHasBeenSet = true; m_extraConnectionAttributes = value; }
149 inline void SetExtraConnectionAttributes(Aws::String&& value) { m_extraConnectionAttributesHasBeenSet = true; m_extraConnectionAttributes = std::move(value); }
150 inline void SetExtraConnectionAttributes(const char* value) { m_extraConnectionAttributesHasBeenSet = true; m_extraConnectionAttributes.assign(value); }
153 inline AwsDmsEndpointDetails& WithExtraConnectionAttributes(const char* value) { SetExtraConnectionAttributes(value); return *this;}
155
157
165 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
166 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
167 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
168 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
169 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
170 inline AwsDmsEndpointDetails& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
171 inline AwsDmsEndpointDetails& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
172 inline AwsDmsEndpointDetails& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
174
176
179 inline int GetPort() const{ return m_port; }
180 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
181 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
182 inline AwsDmsEndpointDetails& WithPort(int value) { SetPort(value); return *this;}
184
186
189 inline const Aws::String& GetServerName() const{ return m_serverName; }
190 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
191 inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; }
192 inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); }
193 inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); }
194 inline AwsDmsEndpointDetails& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
195 inline AwsDmsEndpointDetails& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
196 inline AwsDmsEndpointDetails& WithServerName(const char* value) { SetServerName(value); return *this;}
198
200
203 inline const Aws::String& GetSslMode() const{ return m_sslMode; }
204 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
205 inline void SetSslMode(const Aws::String& value) { m_sslModeHasBeenSet = true; m_sslMode = value; }
206 inline void SetSslMode(Aws::String&& value) { m_sslModeHasBeenSet = true; m_sslMode = std::move(value); }
207 inline void SetSslMode(const char* value) { m_sslModeHasBeenSet = true; m_sslMode.assign(value); }
208 inline AwsDmsEndpointDetails& WithSslMode(const Aws::String& value) { SetSslMode(value); return *this;}
209 inline AwsDmsEndpointDetails& WithSslMode(Aws::String&& value) { SetSslMode(std::move(value)); return *this;}
210 inline AwsDmsEndpointDetails& WithSslMode(const char* value) { SetSslMode(value); return *this;}
212
214
217 inline const Aws::String& GetUsername() const{ return m_username; }
218 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
219 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
220 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
221 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
222 inline AwsDmsEndpointDetails& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
223 inline AwsDmsEndpointDetails& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
224 inline AwsDmsEndpointDetails& WithUsername(const char* value) { SetUsername(value); return *this;}
226 private:
227
228 Aws::String m_certificateArn;
229 bool m_certificateArnHasBeenSet = false;
230
231 Aws::String m_databaseName;
232 bool m_databaseNameHasBeenSet = false;
233
234 Aws::String m_endpointArn;
235 bool m_endpointArnHasBeenSet = false;
236
237 Aws::String m_endpointIdentifier;
238 bool m_endpointIdentifierHasBeenSet = false;
239
240 Aws::String m_endpointType;
241 bool m_endpointTypeHasBeenSet = false;
242
243 Aws::String m_engineName;
244 bool m_engineNameHasBeenSet = false;
245
246 Aws::String m_externalId;
247 bool m_externalIdHasBeenSet = false;
248
249 Aws::String m_extraConnectionAttributes;
250 bool m_extraConnectionAttributesHasBeenSet = false;
251
252 Aws::String m_kmsKeyId;
253 bool m_kmsKeyIdHasBeenSet = false;
254
255 int m_port;
256 bool m_portHasBeenSet = false;
257
258 Aws::String m_serverName;
259 bool m_serverNameHasBeenSet = false;
260
261 Aws::String m_sslMode;
262 bool m_sslModeHasBeenSet = false;
263
264 Aws::String m_username;
265 bool m_usernameHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace SecurityHub
270} // namespace Aws
AwsDmsEndpointDetails & WithEndpointIdentifier(Aws::String &&value)
AwsDmsEndpointDetails & WithExtraConnectionAttributes(const Aws::String &value)
AwsDmsEndpointDetails & WithKmsKeyId(Aws::String &&value)
AWS_SECURITYHUB_API AwsDmsEndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsDmsEndpointDetails & WithDatabaseName(const Aws::String &value)
AwsDmsEndpointDetails & WithEndpointArn(const char *value)
AwsDmsEndpointDetails & WithUsername(const Aws::String &value)
AwsDmsEndpointDetails & WithExtraConnectionAttributes(const char *value)
AwsDmsEndpointDetails & WithEngineName(const Aws::String &value)
AwsDmsEndpointDetails & WithEndpointType(const Aws::String &value)
AwsDmsEndpointDetails & WithCertificateArn(const char *value)
AwsDmsEndpointDetails & WithEndpointIdentifier(const char *value)
AwsDmsEndpointDetails & WithCertificateArn(Aws::String &&value)
AWS_SECURITYHUB_API AwsDmsEndpointDetails(Aws::Utils::Json::JsonView jsonValue)
AwsDmsEndpointDetails & WithServerName(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsDmsEndpointDetails & WithServerName(Aws::String &&value)
AwsDmsEndpointDetails & WithSslMode(Aws::String &&value)
AwsDmsEndpointDetails & WithExtraConnectionAttributes(Aws::String &&value)
AwsDmsEndpointDetails & WithEngineName(Aws::String &&value)
AwsDmsEndpointDetails & WithSslMode(const Aws::String &value)
AwsDmsEndpointDetails & WithEndpointArn(Aws::String &&value)
AwsDmsEndpointDetails & WithEngineName(const char *value)
AwsDmsEndpointDetails & WithDatabaseName(const char *value)
AwsDmsEndpointDetails & WithExternalId(const char *value)
AwsDmsEndpointDetails & WithSslMode(const char *value)
AwsDmsEndpointDetails & WithExternalId(const Aws::String &value)
AwsDmsEndpointDetails & WithDatabaseName(Aws::String &&value)
AwsDmsEndpointDetails & WithUsername(Aws::String &&value)
AwsDmsEndpointDetails & WithCertificateArn(const Aws::String &value)
void SetExtraConnectionAttributes(const Aws::String &value)
AwsDmsEndpointDetails & WithUsername(const char *value)
AwsDmsEndpointDetails & WithServerName(const char *value)
AwsDmsEndpointDetails & WithEndpointType(Aws::String &&value)
AwsDmsEndpointDetails & WithEndpointArn(const Aws::String &value)
AwsDmsEndpointDetails & WithEndpointIdentifier(const Aws::String &value)
AwsDmsEndpointDetails & WithExternalId(Aws::String &&value)
AwsDmsEndpointDetails & WithKmsKeyId(const Aws::String &value)
AwsDmsEndpointDetails & WithKmsKeyId(const char *value)
AwsDmsEndpointDetails & WithEndpointType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue