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>
119 bool m_descriptionHasBeenSet =
false;
122 bool m_userNameHasBeenSet =
false;
125 bool m_authSchemeHasBeenSet =
false;
128 bool m_secretArnHasBeenSet =
false;
131 bool m_iAMAuthHasBeenSet =
false;
134 bool m_clientPasswordAuthTypeHasBeenSet =
false;
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
UserAuthConfigInfo & WithIAMAuth(IAMAuthMode value)
void SetClientPasswordAuthType(ClientPasswordAuthType value)
IAMAuthMode GetIAMAuth() const
AWS_RDS_API UserAuthConfigInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UserAuthConfigInfo & WithAuthScheme(AuthScheme value)
const Aws::String & GetSecretArn() const
AWS_RDS_API UserAuthConfigInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAuthScheme(AuthScheme value)
UserAuthConfigInfo & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
AuthScheme GetAuthScheme() const
UserAuthConfigInfo & WithUserName(UserNameT &&value)
UserAuthConfigInfo & WithClientPasswordAuthType(ClientPasswordAuthType value)
void SetSecretArn(SecretArnT &&value)
const Aws::String & GetUserName() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDescription(DescriptionT &&value)
void SetIAMAuth(IAMAuthMode value)
void SetUserName(UserNameT &&value)
bool IAMAuthHasBeenSet() const
AWS_RDS_API UserAuthConfigInfo()=default
bool AuthSchemeHasBeenSet() const
const Aws::String & GetDescription() const
bool SecretArnHasBeenSet() const
bool ClientPasswordAuthTypeHasBeenSet() const
bool UserNameHasBeenSet() const
UserAuthConfigInfo & WithSecretArn(SecretArnT &&value)
ClientPasswordAuthType GetClientPasswordAuthType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream