AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OracleDataProviderSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/DmsSslModeValue.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API OracleDataProviderSettings();
37 AWS_DATABASEMIGRATIONSERVICE_API OracleDataProviderSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API OracleDataProviderSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetServerName() const{ return m_serverName; }
47 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
48 inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; }
49 inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); }
50 inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); }
51 inline OracleDataProviderSettings& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
52 inline OracleDataProviderSettings& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
53 inline OracleDataProviderSettings& WithServerName(const char* value) { SetServerName(value); return *this;}
55
57
60 inline int GetPort() const{ return m_port; }
61 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
62 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
63 inline OracleDataProviderSettings& WithPort(int value) { SetPort(value); return *this;}
65
67
70 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
71 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
72 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
73 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
74 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
75 inline OracleDataProviderSettings& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
76 inline OracleDataProviderSettings& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
77 inline OracleDataProviderSettings& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
79
81
85 inline const DmsSslModeValue& GetSslMode() const{ return m_sslMode; }
86 inline bool SslModeHasBeenSet() const { return m_sslModeHasBeenSet; }
87 inline void SetSslMode(const DmsSslModeValue& value) { m_sslModeHasBeenSet = true; m_sslMode = value; }
88 inline void SetSslMode(DmsSslModeValue&& value) { m_sslModeHasBeenSet = true; m_sslMode = std::move(value); }
89 inline OracleDataProviderSettings& WithSslMode(const DmsSslModeValue& value) { SetSslMode(value); return *this;}
90 inline OracleDataProviderSettings& WithSslMode(DmsSslModeValue&& value) { SetSslMode(std::move(value)); return *this;}
92
94
98 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
99 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
100 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
101 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
102 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
103 inline OracleDataProviderSettings& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
104 inline OracleDataProviderSettings& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
105 inline OracleDataProviderSettings& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
107
109
118 inline const Aws::String& GetAsmServer() const{ return m_asmServer; }
119 inline bool AsmServerHasBeenSet() const { return m_asmServerHasBeenSet; }
120 inline void SetAsmServer(const Aws::String& value) { m_asmServerHasBeenSet = true; m_asmServer = value; }
121 inline void SetAsmServer(Aws::String&& value) { m_asmServerHasBeenSet = true; m_asmServer = std::move(value); }
122 inline void SetAsmServer(const char* value) { m_asmServerHasBeenSet = true; m_asmServer.assign(value); }
123 inline OracleDataProviderSettings& WithAsmServer(const Aws::String& value) { SetAsmServer(value); return *this;}
124 inline OracleDataProviderSettings& WithAsmServer(Aws::String&& value) { SetAsmServer(std::move(value)); return *this;}
125 inline OracleDataProviderSettings& WithAsmServer(const char* value) { SetAsmServer(value); return *this;}
127
129
134 inline const Aws::String& GetSecretsManagerOracleAsmSecretId() const{ return m_secretsManagerOracleAsmSecretId; }
135 inline bool SecretsManagerOracleAsmSecretIdHasBeenSet() const { return m_secretsManagerOracleAsmSecretIdHasBeenSet; }
136 inline void SetSecretsManagerOracleAsmSecretId(const Aws::String& value) { m_secretsManagerOracleAsmSecretIdHasBeenSet = true; m_secretsManagerOracleAsmSecretId = value; }
137 inline void SetSecretsManagerOracleAsmSecretId(Aws::String&& value) { m_secretsManagerOracleAsmSecretIdHasBeenSet = true; m_secretsManagerOracleAsmSecretId = std::move(value); }
138 inline void SetSecretsManagerOracleAsmSecretId(const char* value) { m_secretsManagerOracleAsmSecretIdHasBeenSet = true; m_secretsManagerOracleAsmSecretId.assign(value); }
143
145
149 inline const Aws::String& GetSecretsManagerOracleAsmAccessRoleArn() const{ return m_secretsManagerOracleAsmAccessRoleArn; }
150 inline bool SecretsManagerOracleAsmAccessRoleArnHasBeenSet() const { return m_secretsManagerOracleAsmAccessRoleArnHasBeenSet; }
151 inline void SetSecretsManagerOracleAsmAccessRoleArn(const Aws::String& value) { m_secretsManagerOracleAsmAccessRoleArnHasBeenSet = true; m_secretsManagerOracleAsmAccessRoleArn = value; }
152 inline void SetSecretsManagerOracleAsmAccessRoleArn(Aws::String&& value) { m_secretsManagerOracleAsmAccessRoleArnHasBeenSet = true; m_secretsManagerOracleAsmAccessRoleArn = std::move(value); }
153 inline void SetSecretsManagerOracleAsmAccessRoleArn(const char* value) { m_secretsManagerOracleAsmAccessRoleArnHasBeenSet = true; m_secretsManagerOracleAsmAccessRoleArn.assign(value); }
158
160
165 inline const Aws::String& GetSecretsManagerSecurityDbEncryptionSecretId() const{ return m_secretsManagerSecurityDbEncryptionSecretId; }
166 inline bool SecretsManagerSecurityDbEncryptionSecretIdHasBeenSet() const { return m_secretsManagerSecurityDbEncryptionSecretIdHasBeenSet; }
167 inline void SetSecretsManagerSecurityDbEncryptionSecretId(const Aws::String& value) { m_secretsManagerSecurityDbEncryptionSecretIdHasBeenSet = true; m_secretsManagerSecurityDbEncryptionSecretId = value; }
168 inline void SetSecretsManagerSecurityDbEncryptionSecretId(Aws::String&& value) { m_secretsManagerSecurityDbEncryptionSecretIdHasBeenSet = true; m_secretsManagerSecurityDbEncryptionSecretId = std::move(value); }
169 inline void SetSecretsManagerSecurityDbEncryptionSecretId(const char* value) { m_secretsManagerSecurityDbEncryptionSecretIdHasBeenSet = true; m_secretsManagerSecurityDbEncryptionSecretId.assign(value); }
174
176
180 inline const Aws::String& GetSecretsManagerSecurityDbEncryptionAccessRoleArn() const{ return m_secretsManagerSecurityDbEncryptionAccessRoleArn; }
181 inline bool SecretsManagerSecurityDbEncryptionAccessRoleArnHasBeenSet() const { return m_secretsManagerSecurityDbEncryptionAccessRoleArnHasBeenSet; }
182 inline void SetSecretsManagerSecurityDbEncryptionAccessRoleArn(const Aws::String& value) { m_secretsManagerSecurityDbEncryptionAccessRoleArnHasBeenSet = true; m_secretsManagerSecurityDbEncryptionAccessRoleArn = value; }
183 inline void SetSecretsManagerSecurityDbEncryptionAccessRoleArn(Aws::String&& value) { m_secretsManagerSecurityDbEncryptionAccessRoleArnHasBeenSet = true; m_secretsManagerSecurityDbEncryptionAccessRoleArn = std::move(value); }
184 inline void SetSecretsManagerSecurityDbEncryptionAccessRoleArn(const char* value) { m_secretsManagerSecurityDbEncryptionAccessRoleArnHasBeenSet = true; m_secretsManagerSecurityDbEncryptionAccessRoleArn.assign(value); }
189 private:
190
191 Aws::String m_serverName;
192 bool m_serverNameHasBeenSet = false;
193
194 int m_port;
195 bool m_portHasBeenSet = false;
196
197 Aws::String m_databaseName;
198 bool m_databaseNameHasBeenSet = false;
199
200 DmsSslModeValue m_sslMode;
201 bool m_sslModeHasBeenSet = false;
202
203 Aws::String m_certificateArn;
204 bool m_certificateArnHasBeenSet = false;
205
206 Aws::String m_asmServer;
207 bool m_asmServerHasBeenSet = false;
208
209 Aws::String m_secretsManagerOracleAsmSecretId;
210 bool m_secretsManagerOracleAsmSecretIdHasBeenSet = false;
211
212 Aws::String m_secretsManagerOracleAsmAccessRoleArn;
213 bool m_secretsManagerOracleAsmAccessRoleArnHasBeenSet = false;
214
215 Aws::String m_secretsManagerSecurityDbEncryptionSecretId;
216 bool m_secretsManagerSecurityDbEncryptionSecretIdHasBeenSet = false;
217
218 Aws::String m_secretsManagerSecurityDbEncryptionAccessRoleArn;
219 bool m_secretsManagerSecurityDbEncryptionAccessRoleArnHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace DatabaseMigrationService
224} // namespace Aws
OracleDataProviderSettings & WithDatabaseName(Aws::String &&value)
OracleDataProviderSettings & WithSecretsManagerSecurityDbEncryptionAccessRoleArn(const char *value)
OracleDataProviderSettings & WithSecretsManagerSecurityDbEncryptionSecretId(const char *value)
OracleDataProviderSettings & WithCertificateArn(const Aws::String &value)
OracleDataProviderSettings & WithDatabaseName(const Aws::String &value)
OracleDataProviderSettings & WithSecretsManagerSecurityDbEncryptionAccessRoleArn(const Aws::String &value)
OracleDataProviderSettings & WithSecretsManagerSecurityDbEncryptionAccessRoleArn(Aws::String &&value)
OracleDataProviderSettings & WithAsmServer(const Aws::String &value)
OracleDataProviderSettings & WithSecretsManagerOracleAsmSecretId(const Aws::String &value)
OracleDataProviderSettings & WithServerName(Aws::String &&value)
OracleDataProviderSettings & WithSecretsManagerOracleAsmAccessRoleArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OracleDataProviderSettings & WithSslMode(DmsSslModeValue &&value)
OracleDataProviderSettings & WithServerName(const Aws::String &value)
OracleDataProviderSettings & WithSecretsManagerOracleAsmAccessRoleArn(const char *value)
OracleDataProviderSettings & WithSecretsManagerOracleAsmSecretId(const char *value)
OracleDataProviderSettings & WithSecretsManagerOracleAsmAccessRoleArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API OracleDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
OracleDataProviderSettings & WithAsmServer(Aws::String &&value)
OracleDataProviderSettings & WithCertificateArn(Aws::String &&value)
OracleDataProviderSettings & WithSecretsManagerSecurityDbEncryptionSecretId(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API OracleDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
OracleDataProviderSettings & WithSecretsManagerOracleAsmSecretId(Aws::String &&value)
OracleDataProviderSettings & WithSslMode(const DmsSslModeValue &value)
OracleDataProviderSettings & WithSecretsManagerSecurityDbEncryptionSecretId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue