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/core/utils/memory/stl/AWSVector.h>
50 template<
typename DomainT = Aws::String>
51 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
52 template<
typename DomainT = Aws::String>
64 template<
typename StatusT = Aws::String>
65 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
66 template<
typename StatusT = Aws::String>
76 template<
typename FQDNT = Aws::String>
77 void SetFQDN(FQDNT&& value) { m_fQDNHasBeenSet =
true; m_fQDN = std::forward<FQDNT>(value); }
78 template<
typename FQDNT = Aws::String>
89 template<
typename IAMRoleNameT = Aws::String>
90 void SetIAMRoleName(IAMRoleNameT&& value) { m_iAMRoleNameHasBeenSet =
true; m_iAMRoleName = std::forward<IAMRoleNameT>(value); }
91 template<
typename IAMRoleNameT = Aws::String>
101 template<
typename OUT = Aws::String>
102 void SetOU(OUT&& value) { m_oUHasBeenSet =
true; m_oU = std::forward<OUT>(value); }
103 template<
typename OUT = Aws::String>
114 template<
typename AuthSecretArnT = Aws::String>
115 void SetAuthSecretArn(AuthSecretArnT&& value) { m_authSecretArnHasBeenSet =
true; m_authSecretArn = std::forward<AuthSecretArnT>(value); }
116 template<
typename AuthSecretArnT = Aws::String>
127 template<
typename DnsIpsT = Aws::Vector<Aws::String>>
128 void SetDnsIps(DnsIpsT&& value) { m_dnsIpsHasBeenSet =
true; m_dnsIps = std::forward<DnsIpsT>(value); }
129 template<
typename DnsIpsT = Aws::Vector<Aws::String>>
131 template<
typename DnsIpsT = Aws::String>
132 DomainMembership&
AddDnsIps(DnsIpsT&& value) { m_dnsIpsHasBeenSet =
true; m_dnsIps.emplace_back(std::forward<DnsIpsT>(value));
return *
this; }
137 bool m_domainHasBeenSet =
false;
140 bool m_statusHasBeenSet =
false;
143 bool m_fQDNHasBeenSet =
false;
146 bool m_iAMRoleNameHasBeenSet =
false;
149 bool m_oUHasBeenSet =
false;
152 bool m_authSecretArnHasBeenSet =
false;
155 bool m_dnsIpsHasBeenSet =
false;
void SetFQDN(FQDNT &&value)
DomainMembership & WithIAMRoleName(IAMRoleNameT &&value)
bool FQDNHasBeenSet() const
const Aws::String & GetAuthSecretArn() const
DomainMembership & WithFQDN(FQDNT &&value)
bool OUHasBeenSet() const
const Aws::String & GetDomain() const
DomainMembership & WithAuthSecretArn(AuthSecretArnT &&value)
bool StatusHasBeenSet() const
bool AuthSecretArnHasBeenSet() const
void SetStatus(StatusT &&value)
const Aws::String & GetStatus() const
void SetDnsIps(DnsIpsT &&value)
DomainMembership & AddDnsIps(DnsIpsT &&value)
bool DnsIpsHasBeenSet() const
DomainMembership & WithStatus(StatusT &&value)
DomainMembership & WithOU(OUT &&value)
const Aws::Vector< Aws::String > & GetDnsIps() const
const Aws::String & GetFQDN() const
AWS_RDS_API DomainMembership()=default
AWS_RDS_API DomainMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIAMRoleName(IAMRoleNameT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAuthSecretArn(AuthSecretArnT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetIAMRoleName() const
const Aws::String & GetOU() const
bool IAMRoleNameHasBeenSet() const
DomainMembership & WithDomain(DomainT &&value)
AWS_RDS_API DomainMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDomain(DomainT &&value)
bool DomainHasBeenSet() const
DomainMembership & WithDnsIps(DnsIpsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream