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
49 template<
typename ServerNameT = Aws::String>
50 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet =
true; m_serverName = std::forward<ServerNameT>(value); }
51 template<
typename ServerNameT = Aws::String>
59 inline int GetPort()
const {
return m_port; }
61 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
105 template<
typename AuthUserNameT = Aws::String>
106 void SetAuthUserName(AuthUserNameT&& value) { m_authUserNameHasBeenSet =
true; m_authUserName = std::forward<AuthUserNameT>(value); }
107 template<
typename AuthUserNameT = Aws::String>
119 template<
typename AuthPasswordT = Aws::String>
120 void SetAuthPassword(AuthPasswordT&& value) { m_authPasswordHasBeenSet =
true; m_authPassword = std::forward<AuthPasswordT>(value); }
121 template<
typename AuthPasswordT = Aws::String>
132 template<
typename SslCaCertificateArnT = Aws::String>
133 void SetSslCaCertificateArn(SslCaCertificateArnT&& value) { m_sslCaCertificateArnHasBeenSet =
true; m_sslCaCertificateArn = std::forward<SslCaCertificateArnT>(value); }
134 template<
typename SslCaCertificateArnT = Aws::String>
140 bool m_serverNameHasBeenSet =
false;
143 bool m_portHasBeenSet =
false;
146 bool m_sslSecurityProtocolHasBeenSet =
false;
149 bool m_authTypeHasBeenSet =
false;
152 bool m_authUserNameHasBeenSet =
false;
155 bool m_authPasswordHasBeenSet =
false;
158 bool m_sslCaCertificateArnHasBeenSet =
false;
const Aws::String & GetAuthUserName() const
bool ServerNameHasBeenSet() const
const Aws::String & GetSslCaCertificateArn() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RedisSettings & WithSslCaCertificateArn(SslCaCertificateArnT &&value)
void SetSslSecurityProtocol(SslSecurityProtocolValue value)
bool PortHasBeenSet() const
bool SslSecurityProtocolHasBeenSet() const
bool AuthPasswordHasBeenSet() const
RedisSettings & WithAuthPassword(AuthPasswordT &&value)
bool AuthTypeHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API RedisSettings(Aws::Utils::Json::JsonView jsonValue)
bool AuthUserNameHasBeenSet() const
void SetAuthPassword(AuthPasswordT &&value)
void SetSslCaCertificateArn(SslCaCertificateArnT &&value)
RedisSettings & WithServerName(ServerNameT &&value)
void SetAuthType(RedisAuthTypeValue value)
const Aws::String & GetAuthPassword() const
RedisSettings & WithPort(int value)
AWS_DATABASEMIGRATIONSERVICE_API RedisSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
RedisSettings & WithAuthType(RedisAuthTypeValue value)
const Aws::String & GetServerName() const
bool SslCaCertificateArnHasBeenSet() const
RedisAuthTypeValue GetAuthType() const
void SetAuthUserName(AuthUserNameT &&value)
RedisSettings & WithAuthUserName(AuthUserNameT &&value)
RedisSettings & WithSslSecurityProtocol(SslSecurityProtocolValue value)
SslSecurityProtocolValue GetSslSecurityProtocol() const
AWS_DATABASEMIGRATIONSERVICE_API RedisSettings()=default
void SetServerName(ServerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue