AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CertificateArnT = Aws::String>
50 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
51 template<typename CertificateArnT = Aws::String>
52 AwsDmsEndpointDetails& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
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) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
63 template<typename DatabaseNameT = Aws::String>
64 AwsDmsEndpointDetails& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
72 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
73 template<typename EndpointArnT = Aws::String>
74 void SetEndpointArn(EndpointArnT&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::forward<EndpointArnT>(value); }
75 template<typename EndpointArnT = Aws::String>
76 AwsDmsEndpointDetails& WithEndpointArn(EndpointArnT&& value) { SetEndpointArn(std::forward<EndpointArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetEndpointIdentifier() const { return m_endpointIdentifier; }
84 inline bool EndpointIdentifierHasBeenSet() const { return m_endpointIdentifierHasBeenSet; }
85 template<typename EndpointIdentifierT = Aws::String>
86 void SetEndpointIdentifier(EndpointIdentifierT&& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = std::forward<EndpointIdentifierT>(value); }
87 template<typename EndpointIdentifierT = Aws::String>
88 AwsDmsEndpointDetails& WithEndpointIdentifier(EndpointIdentifierT&& value) { SetEndpointIdentifier(std::forward<EndpointIdentifierT>(value)); return *this;}
90
92
95 inline const Aws::String& GetEndpointType() const { return m_endpointType; }
96 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
97 template<typename EndpointTypeT = Aws::String>
98 void SetEndpointType(EndpointTypeT&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::forward<EndpointTypeT>(value); }
99 template<typename EndpointTypeT = Aws::String>
100 AwsDmsEndpointDetails& WithEndpointType(EndpointTypeT&& value) { SetEndpointType(std::forward<EndpointTypeT>(value)); return *this;}
102
104
108 inline const Aws::String& GetEngineName() const { return m_engineName; }
109 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
110 template<typename EngineNameT = Aws::String>
111 void SetEngineName(EngineNameT&& value) { m_engineNameHasBeenSet = true; m_engineName = std::forward<EngineNameT>(value); }
112 template<typename EngineNameT = Aws::String>
113 AwsDmsEndpointDetails& WithEngineName(EngineNameT&& value) { SetEngineName(std::forward<EngineNameT>(value)); return *this;}
115
117
120 inline const Aws::String& GetExternalId() const { return m_externalId; }
121 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
122 template<typename ExternalIdT = Aws::String>
123 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
124 template<typename ExternalIdT = Aws::String>
125 AwsDmsEndpointDetails& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
127
129
132 inline const Aws::String& GetExtraConnectionAttributes() const { return m_extraConnectionAttributes; }
133 inline bool ExtraConnectionAttributesHasBeenSet() const { return m_extraConnectionAttributesHasBeenSet; }
134 template<typename ExtraConnectionAttributesT = Aws::String>
135 void SetExtraConnectionAttributes(ExtraConnectionAttributesT&& value) { m_extraConnectionAttributesHasBeenSet = true; m_extraConnectionAttributes = std::forward<ExtraConnectionAttributesT>(value); }
136 template<typename ExtraConnectionAttributesT = Aws::String>
137 AwsDmsEndpointDetails& WithExtraConnectionAttributes(ExtraConnectionAttributesT&& value) { SetExtraConnectionAttributes(std::forward<ExtraConnectionAttributesT>(value)); return *this;}
139
141
149 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
150 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
151 template<typename KmsKeyIdT = Aws::String>
152 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
153 template<typename KmsKeyIdT = Aws::String>
154 AwsDmsEndpointDetails& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
156
158
161 inline int GetPort() const { return m_port; }
162 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
163 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
164 inline AwsDmsEndpointDetails& WithPort(int value) { SetPort(value); return *this;}
166
168
171 inline const Aws::String& GetServerName() const { return m_serverName; }
172 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
173 template<typename ServerNameT = Aws::String>
174 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet = true; m_serverName = std::forward<ServerNameT>(value); }
175 template<typename ServerNameT = Aws::String>
176 AwsDmsEndpointDetails& WithServerName(ServerNameT&& value) { SetServerName(std::forward<ServerNameT>(value)); return *this;}
178
180
183 inline const Aws::String& GetSslMode() const { return m_sslMode; }
184 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
185 template<typename SslModeT = Aws::String>
186 void SetSslMode(SslModeT&& value) { m_sslModeHasBeenSet = true; m_sslMode = std::forward<SslModeT>(value); }
187 template<typename SslModeT = Aws::String>
188 AwsDmsEndpointDetails& WithSslMode(SslModeT&& value) { SetSslMode(std::forward<SslModeT>(value)); return *this;}
190
192
195 inline const Aws::String& GetUsername() const { return m_username; }
196 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
197 template<typename UsernameT = Aws::String>
198 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
199 template<typename UsernameT = Aws::String>
200 AwsDmsEndpointDetails& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
202 private:
203
204 Aws::String m_certificateArn;
205 bool m_certificateArnHasBeenSet = false;
206
207 Aws::String m_databaseName;
208 bool m_databaseNameHasBeenSet = false;
209
210 Aws::String m_endpointArn;
211 bool m_endpointArnHasBeenSet = false;
212
213 Aws::String m_endpointIdentifier;
214 bool m_endpointIdentifierHasBeenSet = false;
215
216 Aws::String m_endpointType;
217 bool m_endpointTypeHasBeenSet = false;
218
219 Aws::String m_engineName;
220 bool m_engineNameHasBeenSet = false;
221
222 Aws::String m_externalId;
223 bool m_externalIdHasBeenSet = false;
224
225 Aws::String m_extraConnectionAttributes;
226 bool m_extraConnectionAttributesHasBeenSet = false;
227
228 Aws::String m_kmsKeyId;
229 bool m_kmsKeyIdHasBeenSet = false;
230
231 int m_port{0};
232 bool m_portHasBeenSet = false;
233
234 Aws::String m_serverName;
235 bool m_serverNameHasBeenSet = false;
236
237 Aws::String m_sslMode;
238 bool m_sslModeHasBeenSet = false;
239
240 Aws::String m_username;
241 bool m_usernameHasBeenSet = false;
242 };
243
244} // namespace Model
245} // namespace SecurityHub
246} // 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