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>
53 template<
typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
55 template<
typename DescriptionT = Aws::String>
65 template<
typename UserNameT = Aws::String>
66 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
67 template<
typename UserNameT = Aws::String>
90 template<
typename SecretArnT = Aws::String>
91 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet =
true; m_secretArn = std::forward<SecretArnT>(value); }
92 template<
typename SecretArnT = Aws::String>
125 bool m_descriptionHasBeenSet =
false;
128 bool m_userNameHasBeenSet =
false;
131 bool m_authSchemeHasBeenSet =
false;
134 bool m_secretArnHasBeenSet =
false;
137 bool m_iAMAuthHasBeenSet =
false;
140 bool m_clientPasswordAuthTypeHasBeenSet =
false;
void SetUserName(UserNameT &&value)
IAMAuthMode GetIAMAuth() const
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
bool ClientPasswordAuthTypeHasBeenSet() const
const Aws::String & GetSecretArn() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UserAuthConfig & WithIAMAuth(IAMAuthMode value)
AWS_RDS_API UserAuthConfig()=default
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AuthSchemeHasBeenSet() const
AWS_RDS_API UserAuthConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClientPasswordAuthType GetClientPasswordAuthType() const
void SetIAMAuth(IAMAuthMode value)
UserAuthConfig & WithUserName(UserNameT &&value)
UserAuthConfig & WithDescription(DescriptionT &&value)
const Aws::String & GetUserName() const
bool IAMAuthHasBeenSet() const
bool UserNameHasBeenSet() const
void SetSecretArn(SecretArnT &&value)
bool DescriptionHasBeenSet() const
AuthScheme GetAuthScheme() const
AWS_RDS_API UserAuthConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAuthScheme(AuthScheme value)
bool SecretArnHasBeenSet() const
UserAuthConfig & WithClientPasswordAuthType(ClientPasswordAuthType value)
UserAuthConfig & WithSecretArn(SecretArnT &&value)
UserAuthConfig & WithAuthScheme(AuthScheme value)
void SetClientPasswordAuthType(ClientPasswordAuthType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream