/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information that defines a Redis target endpoint.See
* Also:
AWS
* API Reference
Fully qualified domain name of the endpoint.
*/ inline const Aws::String& GetServerName() const{ return m_serverName; } /** *Fully qualified domain name of the endpoint.
*/ inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; } /** *Fully qualified domain name of the endpoint.
*/ inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; } /** *Fully qualified domain name of the endpoint.
*/ inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); } /** *Fully qualified domain name of the endpoint.
*/ inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); } /** *Fully qualified domain name of the endpoint.
*/ inline RedisSettings& WithServerName(const Aws::String& value) { SetServerName(value); return *this;} /** *Fully qualified domain name of the endpoint.
*/ inline RedisSettings& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;} /** *Fully qualified domain name of the endpoint.
*/ inline RedisSettings& WithServerName(const char* value) { SetServerName(value); return *this;} /** *Transmission Control Protocol (TCP) port for the endpoint.
*/ inline int GetPort() const{ return m_port; } /** *Transmission Control Protocol (TCP) port for the endpoint.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *Transmission Control Protocol (TCP) port for the endpoint.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *Transmission Control Protocol (TCP) port for the endpoint.
*/ inline RedisSettings& WithPort(int value) { SetPort(value); return *this;} /** *The connection to a Redis target endpoint using Transport Layer Security
* (TLS). Valid values include plaintext
and
* ssl-encryption
. The default is ssl-encryption
. The
* ssl-encryption
option makes an encrypted connection. Optionally,
* you can identify an Amazon Resource Name (ARN) for an SSL certificate authority
* (CA) using the SslCaCertificateArn
setting. If an ARN isn't given
* for a CA, DMS uses the Amazon root CA.
The plaintext
option
* doesn't provide Transport Layer Security (TLS) encryption for traffic between
* endpoint and database.
The connection to a Redis target endpoint using Transport Layer Security
* (TLS). Valid values include plaintext
and
* ssl-encryption
. The default is ssl-encryption
. The
* ssl-encryption
option makes an encrypted connection. Optionally,
* you can identify an Amazon Resource Name (ARN) for an SSL certificate authority
* (CA) using the SslCaCertificateArn
setting. If an ARN isn't given
* for a CA, DMS uses the Amazon root CA.
The plaintext
option
* doesn't provide Transport Layer Security (TLS) encryption for traffic between
* endpoint and database.
The connection to a Redis target endpoint using Transport Layer Security
* (TLS). Valid values include plaintext
and
* ssl-encryption
. The default is ssl-encryption
. The
* ssl-encryption
option makes an encrypted connection. Optionally,
* you can identify an Amazon Resource Name (ARN) for an SSL certificate authority
* (CA) using the SslCaCertificateArn
setting. If an ARN isn't given
* for a CA, DMS uses the Amazon root CA.
The plaintext
option
* doesn't provide Transport Layer Security (TLS) encryption for traffic between
* endpoint and database.
The connection to a Redis target endpoint using Transport Layer Security
* (TLS). Valid values include plaintext
and
* ssl-encryption
. The default is ssl-encryption
. The
* ssl-encryption
option makes an encrypted connection. Optionally,
* you can identify an Amazon Resource Name (ARN) for an SSL certificate authority
* (CA) using the SslCaCertificateArn
setting. If an ARN isn't given
* for a CA, DMS uses the Amazon root CA.
The plaintext
option
* doesn't provide Transport Layer Security (TLS) encryption for traffic between
* endpoint and database.
The connection to a Redis target endpoint using Transport Layer Security
* (TLS). Valid values include plaintext
and
* ssl-encryption
. The default is ssl-encryption
. The
* ssl-encryption
option makes an encrypted connection. Optionally,
* you can identify an Amazon Resource Name (ARN) for an SSL certificate authority
* (CA) using the SslCaCertificateArn
setting. If an ARN isn't given
* for a CA, DMS uses the Amazon root CA.
The plaintext
option
* doesn't provide Transport Layer Security (TLS) encryption for traffic between
* endpoint and database.
The connection to a Redis target endpoint using Transport Layer Security
* (TLS). Valid values include plaintext
and
* ssl-encryption
. The default is ssl-encryption
. The
* ssl-encryption
option makes an encrypted connection. Optionally,
* you can identify an Amazon Resource Name (ARN) for an SSL certificate authority
* (CA) using the SslCaCertificateArn
setting. If an ARN isn't given
* for a CA, DMS uses the Amazon root CA.
The plaintext
option
* doesn't provide Transport Layer Security (TLS) encryption for traffic between
* endpoint and database.
The type of authentication to perform when connecting to a Redis target.
* Options include none
, auth-token
, and
* auth-role
. The auth-token
option requires an
* AuthPassword
value to be provided. The auth-role
* option requires AuthUserName
and AuthPassword
values
* to be provided.
The type of authentication to perform when connecting to a Redis target.
* Options include none
, auth-token
, and
* auth-role
. The auth-token
option requires an
* AuthPassword
value to be provided. The auth-role
* option requires AuthUserName
and AuthPassword
values
* to be provided.
The type of authentication to perform when connecting to a Redis target.
* Options include none
, auth-token
, and
* auth-role
. The auth-token
option requires an
* AuthPassword
value to be provided. The auth-role
* option requires AuthUserName
and AuthPassword
values
* to be provided.
The type of authentication to perform when connecting to a Redis target.
* Options include none
, auth-token
, and
* auth-role
. The auth-token
option requires an
* AuthPassword
value to be provided. The auth-role
* option requires AuthUserName
and AuthPassword
values
* to be provided.
The type of authentication to perform when connecting to a Redis target.
* Options include none
, auth-token
, and
* auth-role
. The auth-token
option requires an
* AuthPassword
value to be provided. The auth-role
* option requires AuthUserName
and AuthPassword
values
* to be provided.
The type of authentication to perform when connecting to a Redis target.
* Options include none
, auth-token
, and
* auth-role
. The auth-token
option requires an
* AuthPassword
value to be provided. The auth-role
* option requires AuthUserName
and AuthPassword
values
* to be provided.
The user name provided with the auth-role
option of the
* AuthType
setting for a Redis target endpoint.
The user name provided with the auth-role
option of the
* AuthType
setting for a Redis target endpoint.
The user name provided with the auth-role
option of the
* AuthType
setting for a Redis target endpoint.
The user name provided with the auth-role
option of the
* AuthType
setting for a Redis target endpoint.
The user name provided with the auth-role
option of the
* AuthType
setting for a Redis target endpoint.
The user name provided with the auth-role
option of the
* AuthType
setting for a Redis target endpoint.
The user name provided with the auth-role
option of the
* AuthType
setting for a Redis target endpoint.
The user name provided with the auth-role
option of the
* AuthType
setting for a Redis target endpoint.
The password provided with the auth-role
and
* auth-token
options of the AuthType
setting for a Redis
* target endpoint.
The password provided with the auth-role
and
* auth-token
options of the AuthType
setting for a Redis
* target endpoint.
The password provided with the auth-role
and
* auth-token
options of the AuthType
setting for a Redis
* target endpoint.
The password provided with the auth-role
and
* auth-token
options of the AuthType
setting for a Redis
* target endpoint.
The password provided with the auth-role
and
* auth-token
options of the AuthType
setting for a Redis
* target endpoint.
The password provided with the auth-role
and
* auth-token
options of the AuthType
setting for a Redis
* target endpoint.
The password provided with the auth-role
and
* auth-token
options of the AuthType
setting for a Redis
* target endpoint.
The password provided with the auth-role
and
* auth-token
options of the AuthType
setting for a Redis
* target endpoint.
The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS * uses to connect to your Redis target endpoint.
*/ inline const Aws::String& GetSslCaCertificateArn() const{ return m_sslCaCertificateArn; } /** *The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS * uses to connect to your Redis target endpoint.
*/ inline bool SslCaCertificateArnHasBeenSet() const { return m_sslCaCertificateArnHasBeenSet; } /** *The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS * uses to connect to your Redis target endpoint.
*/ inline void SetSslCaCertificateArn(const Aws::String& value) { m_sslCaCertificateArnHasBeenSet = true; m_sslCaCertificateArn = value; } /** *The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS * uses to connect to your Redis target endpoint.
*/ inline void SetSslCaCertificateArn(Aws::String&& value) { m_sslCaCertificateArnHasBeenSet = true; m_sslCaCertificateArn = std::move(value); } /** *The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS * uses to connect to your Redis target endpoint.
*/ inline void SetSslCaCertificateArn(const char* value) { m_sslCaCertificateArnHasBeenSet = true; m_sslCaCertificateArn.assign(value); } /** *The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS * uses to connect to your Redis target endpoint.
*/ inline RedisSettings& WithSslCaCertificateArn(const Aws::String& value) { SetSslCaCertificateArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS * uses to connect to your Redis target endpoint.
*/ inline RedisSettings& WithSslCaCertificateArn(Aws::String&& value) { SetSslCaCertificateArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS * uses to connect to your Redis target endpoint.
*/ inline RedisSettings& WithSslCaCertificateArn(const char* value) { SetSslCaCertificateArn(value); return *this;} private: Aws::String m_serverName; bool m_serverNameHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; SslSecurityProtocolValue m_sslSecurityProtocol; bool m_sslSecurityProtocolHasBeenSet = false; RedisAuthTypeValue m_authType; bool m_authTypeHasBeenSet = false; Aws::String m_authUserName; bool m_authUserNameHasBeenSet = false; Aws::String m_authPassword; bool m_authPasswordHasBeenSet = false; Aws::String m_sslCaCertificateArn; bool m_sslCaCertificateArnHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws