7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9#include <aws/dms/model/RedisAuthTypeValue.h>
10#include <aws/dms/model/SslSecurityProtocolValue.h>
21namespace DatabaseMigrationService {
43 template <
typename ServerNameT = Aws::String>
45 m_serverNameHasBeenSet =
true;
46 m_serverName = std::forward<ServerNameT>(value);
48 template <
typename ServerNameT = Aws::String>
59 inline int GetPort()
const {
return m_port; }
62 m_portHasBeenSet =
true;
86 m_sslSecurityProtocolHasBeenSet =
true;
87 m_sslSecurityProtocol = value;
107 m_authTypeHasBeenSet =
true;
123 template <
typename AuthUserNameT = Aws::String>
125 m_authUserNameHasBeenSet =
true;
126 m_authUserName = std::forward<AuthUserNameT>(value);
128 template <
typename AuthUserNameT = Aws::String>
143 template <
typename AuthPasswordT = Aws::String>
145 m_authPasswordHasBeenSet =
true;
146 m_authPassword = std::forward<AuthPasswordT>(value);
148 template <
typename AuthPasswordT = Aws::String>
162 template <
typename SslCaCertificateArnT = Aws::String>
164 m_sslCaCertificateArnHasBeenSet =
true;
165 m_sslCaCertificateArn = std::forward<SslCaCertificateArnT>(value);
167 template <
typename SslCaCertificateArnT = Aws::String>
187 bool m_serverNameHasBeenSet =
false;
188 bool m_portHasBeenSet =
false;
189 bool m_sslSecurityProtocolHasBeenSet =
false;
190 bool m_authTypeHasBeenSet =
false;
191 bool m_authUserNameHasBeenSet =
false;
192 bool m_authPasswordHasBeenSet =
false;
193 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