7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rds/model/AuthScheme.h>
11#include <aws/rds/model/IAMAuthMode.h>
12#include <aws/rds/model/ClientPasswordAuthType.h>
55 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
69 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
98 inline void SetSecretArn(
const char* value) { m_secretArnHasBeenSet =
true; m_secretArn.assign(value); }
133 bool m_descriptionHasBeenSet =
false;
136 bool m_userNameHasBeenSet =
false;
139 bool m_authSchemeHasBeenSet =
false;
142 bool m_secretArnHasBeenSet =
false;
145 bool m_iAMAuthHasBeenSet =
false;
148 bool m_clientPasswordAuthTypeHasBeenSet =
false;
void SetSecretArn(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
UserAuthConfig & WithDescription(Aws::String &&value)
bool ClientPasswordAuthTypeHasBeenSet() const
void SetIAMAuth(IAMAuthMode &&value)
const Aws::String & GetSecretArn() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const ClientPasswordAuthType & GetClientPasswordAuthType() const
void SetDescription(const char *value)
UserAuthConfig & WithAuthScheme(const AuthScheme &value)
void SetUserName(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AuthSchemeHasBeenSet() const
void SetAuthScheme(AuthScheme &&value)
AWS_RDS_API UserAuthConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UserAuthConfig & WithClientPasswordAuthType(const ClientPasswordAuthType &value)
void SetUserName(const char *value)
UserAuthConfig & WithUserName(const Aws::String &value)
UserAuthConfig & WithAuthScheme(AuthScheme &&value)
const Aws::String & GetUserName() const
void SetIAMAuth(const IAMAuthMode &value)
void SetClientPasswordAuthType(const ClientPasswordAuthType &value)
UserAuthConfig & WithDescription(const Aws::String &value)
UserAuthConfig & WithSecretArn(const Aws::String &value)
void SetUserName(Aws::String &&value)
UserAuthConfig & WithDescription(const char *value)
UserAuthConfig & WithIAMAuth(const IAMAuthMode &value)
bool IAMAuthHasBeenSet() const
void SetDescription(const Aws::String &value)
UserAuthConfig & WithSecretArn(Aws::String &&value)
UserAuthConfig & WithSecretArn(const char *value)
bool UserNameHasBeenSet() const
void SetAuthScheme(const AuthScheme &value)
bool DescriptionHasBeenSet() const
void SetClientPasswordAuthType(ClientPasswordAuthType &&value)
AWS_RDS_API UserAuthConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SecretArnHasBeenSet() const
void SetSecretArn(const char *value)
const AuthScheme & GetAuthScheme() const
UserAuthConfig & WithIAMAuth(IAMAuthMode &&value)
AWS_RDS_API UserAuthConfig()
void SetSecretArn(const Aws::String &value)
UserAuthConfig & WithClientPasswordAuthType(ClientPasswordAuthType &&value)
UserAuthConfig & WithUserName(Aws::String &&value)
const IAMAuthMode & GetIAMAuth() const
UserAuthConfig & WithUserName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream