7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/SslSecurityProtocolValue.h>
10#include <aws/dms/model/RedisAuthTypeValue.h>
23namespace DatabaseMigrationService
51 inline void SetServerName(
const char* value) { m_serverNameHasBeenSet =
true; m_serverName.assign(value); }
61 inline int GetPort()
const{
return m_port; }
63 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
113 inline void SetAuthUserName(
const char* value) { m_authUserNameHasBeenSet =
true; m_authUserName.assign(value); }
129 inline void SetAuthPassword(
const char* value) { m_authPasswordHasBeenSet =
true; m_authPassword.assign(value); }
144 inline void SetSslCaCertificateArn(
const char* value) { m_sslCaCertificateArnHasBeenSet =
true; m_sslCaCertificateArn.assign(value); }
152 bool m_serverNameHasBeenSet =
false;
155 bool m_portHasBeenSet =
false;
158 bool m_sslSecurityProtocolHasBeenSet =
false;
161 bool m_authTypeHasBeenSet =
false;
164 bool m_authUserNameHasBeenSet =
false;
167 bool m_authPasswordHasBeenSet =
false;
170 bool m_sslCaCertificateArnHasBeenSet =
false;
const Aws::String & GetAuthUserName() const
bool ServerNameHasBeenSet() const
RedisSettings & WithSslSecurityProtocol(const SslSecurityProtocolValue &value)
const Aws::String & GetSslCaCertificateArn() const
RedisSettings & WithSslSecurityProtocol(SslSecurityProtocolValue &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const RedisAuthTypeValue & GetAuthType() const
void SetAuthUserName(const char *value)
void SetAuthUserName(Aws::String &&value)
bool PortHasBeenSet() const
bool SslSecurityProtocolHasBeenSet() const
void SetSslCaCertificateArn(const Aws::String &value)
RedisSettings & WithAuthPassword(Aws::String &&value)
bool AuthPasswordHasBeenSet() const
bool AuthTypeHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API RedisSettings(Aws::Utils::Json::JsonView jsonValue)
bool AuthUserNameHasBeenSet() const
void SetAuthPassword(Aws::String &&value)
RedisSettings & WithAuthUserName(const Aws::String &value)
RedisSettings & WithAuthType(RedisAuthTypeValue &&value)
RedisSettings & WithServerName(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API RedisSettings()
RedisSettings & WithSslCaCertificateArn(Aws::String &&value)
void SetServerName(Aws::String &&value)
RedisSettings & WithAuthPassword(const Aws::String &value)
const Aws::String & GetAuthPassword() const
void SetAuthType(const RedisAuthTypeValue &value)
RedisSettings & WithPort(int value)
void SetServerName(const char *value)
void SetSslCaCertificateArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API RedisSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServerName(const Aws::String &value)
void SetAuthType(RedisAuthTypeValue &&value)
void SetAuthUserName(const Aws::String &value)
RedisSettings & WithAuthPassword(const char *value)
const Aws::String & GetServerName() const
RedisSettings & WithSslCaCertificateArn(const char *value)
void SetAuthPassword(const char *value)
bool SslCaCertificateArnHasBeenSet() const
void SetSslCaCertificateArn(const char *value)
void SetSslSecurityProtocol(const SslSecurityProtocolValue &value)
RedisSettings & WithAuthUserName(Aws::String &&value)
RedisSettings & WithServerName(const Aws::String &value)
void SetSslSecurityProtocol(SslSecurityProtocolValue &&value)
RedisSettings & WithServerName(const char *value)
RedisSettings & WithAuthUserName(const char *value)
RedisSettings & WithSslCaCertificateArn(const Aws::String &value)
RedisSettings & WithAuthType(const RedisAuthTypeValue &value)
void SetAuthPassword(const Aws::String &value)
const SslSecurityProtocolValue & GetSslSecurityProtocol() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue