AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainMembership.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace RDS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_RDS_API DomainMembership();
37 AWS_RDS_API DomainMembership(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetDomain() const{ return m_domain; }
49 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
50 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
51 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
52 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
53 inline DomainMembership& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
54 inline DomainMembership& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
55 inline DomainMembership& WithDomain(const char* value) { SetDomain(value); return *this;}
57
59
64 inline const Aws::String& GetStatus() const{ return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
67 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
69 inline DomainMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
70 inline DomainMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
71 inline DomainMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
73
75
78 inline const Aws::String& GetFQDN() const{ return m_fQDN; }
79 inline bool FQDNHasBeenSet() const { return m_fQDNHasBeenSet; }
80 inline void SetFQDN(const Aws::String& value) { m_fQDNHasBeenSet = true; m_fQDN = value; }
81 inline void SetFQDN(Aws::String&& value) { m_fQDNHasBeenSet = true; m_fQDN = std::move(value); }
82 inline void SetFQDN(const char* value) { m_fQDNHasBeenSet = true; m_fQDN.assign(value); }
83 inline DomainMembership& WithFQDN(const Aws::String& value) { SetFQDN(value); return *this;}
84 inline DomainMembership& WithFQDN(Aws::String&& value) { SetFQDN(std::move(value)); return *this;}
85 inline DomainMembership& WithFQDN(const char* value) { SetFQDN(value); return *this;}
87
89
93 inline const Aws::String& GetIAMRoleName() const{ return m_iAMRoleName; }
94 inline bool IAMRoleNameHasBeenSet() const { return m_iAMRoleNameHasBeenSet; }
95 inline void SetIAMRoleName(const Aws::String& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = value; }
96 inline void SetIAMRoleName(Aws::String&& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = std::move(value); }
97 inline void SetIAMRoleName(const char* value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName.assign(value); }
98 inline DomainMembership& WithIAMRoleName(const Aws::String& value) { SetIAMRoleName(value); return *this;}
99 inline DomainMembership& WithIAMRoleName(Aws::String&& value) { SetIAMRoleName(std::move(value)); return *this;}
100 inline DomainMembership& WithIAMRoleName(const char* value) { SetIAMRoleName(value); return *this;}
102
104
107 inline const Aws::String& GetOU() const{ return m_oU; }
108 inline bool OUHasBeenSet() const { return m_oUHasBeenSet; }
109 inline void SetOU(const Aws::String& value) { m_oUHasBeenSet = true; m_oU = value; }
110 inline void SetOU(Aws::String&& value) { m_oUHasBeenSet = true; m_oU = std::move(value); }
111 inline void SetOU(const char* value) { m_oUHasBeenSet = true; m_oU.assign(value); }
112 inline DomainMembership& WithOU(const Aws::String& value) { SetOU(value); return *this;}
113 inline DomainMembership& WithOU(Aws::String&& value) { SetOU(std::move(value)); return *this;}
114 inline DomainMembership& WithOU(const char* value) { SetOU(value); return *this;}
116
118
122 inline const Aws::String& GetAuthSecretArn() const{ return m_authSecretArn; }
123 inline bool AuthSecretArnHasBeenSet() const { return m_authSecretArnHasBeenSet; }
124 inline void SetAuthSecretArn(const Aws::String& value) { m_authSecretArnHasBeenSet = true; m_authSecretArn = value; }
125 inline void SetAuthSecretArn(Aws::String&& value) { m_authSecretArnHasBeenSet = true; m_authSecretArn = std::move(value); }
126 inline void SetAuthSecretArn(const char* value) { m_authSecretArnHasBeenSet = true; m_authSecretArn.assign(value); }
127 inline DomainMembership& WithAuthSecretArn(const Aws::String& value) { SetAuthSecretArn(value); return *this;}
128 inline DomainMembership& WithAuthSecretArn(Aws::String&& value) { SetAuthSecretArn(std::move(value)); return *this;}
129 inline DomainMembership& WithAuthSecretArn(const char* value) { SetAuthSecretArn(value); return *this;}
131
133
137 inline const Aws::Vector<Aws::String>& GetDnsIps() const{ return m_dnsIps; }
138 inline bool DnsIpsHasBeenSet() const { return m_dnsIpsHasBeenSet; }
139 inline void SetDnsIps(const Aws::Vector<Aws::String>& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = value; }
140 inline void SetDnsIps(Aws::Vector<Aws::String>&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = std::move(value); }
141 inline DomainMembership& WithDnsIps(const Aws::Vector<Aws::String>& value) { SetDnsIps(value); return *this;}
142 inline DomainMembership& WithDnsIps(Aws::Vector<Aws::String>&& value) { SetDnsIps(std::move(value)); return *this;}
143 inline DomainMembership& AddDnsIps(const Aws::String& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; }
144 inline DomainMembership& AddDnsIps(Aws::String&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(std::move(value)); return *this; }
145 inline DomainMembership& AddDnsIps(const char* value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; }
147 private:
148
149 Aws::String m_domain;
150 bool m_domainHasBeenSet = false;
151
152 Aws::String m_status;
153 bool m_statusHasBeenSet = false;
154
155 Aws::String m_fQDN;
156 bool m_fQDNHasBeenSet = false;
157
158 Aws::String m_iAMRoleName;
159 bool m_iAMRoleNameHasBeenSet = false;
160
161 Aws::String m_oU;
162 bool m_oUHasBeenSet = false;
163
164 Aws::String m_authSecretArn;
165 bool m_authSecretArnHasBeenSet = false;
166
168 bool m_dnsIpsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace RDS
173} // namespace Aws
const Aws::String & GetAuthSecretArn() const
void SetDnsIps(Aws::Vector< Aws::String > &&value)
DomainMembership & AddDnsIps(Aws::String &&value)
DomainMembership & WithFQDN(Aws::String &&value)
void SetFQDN(Aws::String &&value)
DomainMembership & WithIAMRoleName(Aws::String &&value)
void SetDnsIps(const Aws::Vector< Aws::String > &value)
DomainMembership & WithFQDN(const Aws::String &value)
void SetIAMRoleName(const char *value)
DomainMembership & AddDnsIps(const Aws::String &value)
DomainMembership & WithIAMRoleName(const Aws::String &value)
const Aws::String & GetDomain() const
DomainMembership & WithFQDN(const char *value)
DomainMembership & WithOU(const char *value)
DomainMembership & WithAuthSecretArn(Aws::String &&value)
void SetAuthSecretArn(const char *value)
void SetStatus(const char *value)
DomainMembership & WithDomain(const char *value)
DomainMembership & WithAuthSecretArn(const char *value)
void SetStatus(Aws::String &&value)
void SetFQDN(const Aws::String &value)
DomainMembership & WithDomain(const Aws::String &value)
void SetDomain(Aws::String &&value)
void SetOU(const Aws::String &value)
const Aws::String & GetStatus() const
void SetStatus(const Aws::String &value)
void SetAuthSecretArn(Aws::String &&value)
void SetIAMRoleName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDnsIps() const
void SetAuthSecretArn(const Aws::String &value)
const Aws::String & GetFQDN() const
DomainMembership & WithStatus(const Aws::String &value)
AWS_RDS_API DomainMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
DomainMembership & WithDomain(Aws::String &&value)
void SetOU(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DomainMembership & WithStatus(const char *value)
DomainMembership & WithOU(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DomainMembership & WithDnsIps(const Aws::Vector< Aws::String > &value)
const Aws::String & GetIAMRoleName() const
const Aws::String & GetOU() const
DomainMembership & WithAuthSecretArn(const Aws::String &value)
DomainMembership & WithIAMRoleName(const char *value)
void SetDomain(const char *value)
DomainMembership & WithStatus(Aws::String &&value)
DomainMembership & AddDnsIps(const char *value)
void SetIAMRoleName(Aws::String &&value)
void SetFQDN(const char *value)
void SetDomain(const Aws::String &value)
AWS_RDS_API DomainMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DomainMembership & WithDnsIps(Aws::Vector< Aws::String > &&value)
DomainMembership & WithOU(Aws::String &&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