AWS SDK for C++  1.9.104
AWS SDK for C++
DomainMembership.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetDomain() const{ return m_domain; }
47 
51  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
52 
56  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
57 
61  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
62 
66  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
67 
71  inline DomainMembership& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
72 
76  inline DomainMembership& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
77 
81  inline DomainMembership& WithDomain(const char* value) { SetDomain(value); return *this;}
82 
83 
88  inline const Aws::String& GetStatus() const{ return m_status; }
89 
94  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 
100  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
101 
106  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 
112  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
113 
118  inline DomainMembership& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
119 
124  inline DomainMembership& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
125 
130  inline DomainMembership& WithStatus(const char* value) { SetStatus(value); return *this;}
131 
132 
136  inline const Aws::String& GetFQDN() const{ return m_fQDN; }
137 
141  inline bool FQDNHasBeenSet() const { return m_fQDNHasBeenSet; }
142 
146  inline void SetFQDN(const Aws::String& value) { m_fQDNHasBeenSet = true; m_fQDN = value; }
147 
151  inline void SetFQDN(Aws::String&& value) { m_fQDNHasBeenSet = true; m_fQDN = std::move(value); }
152 
156  inline void SetFQDN(const char* value) { m_fQDNHasBeenSet = true; m_fQDN.assign(value); }
157 
161  inline DomainMembership& WithFQDN(const Aws::String& value) { SetFQDN(value); return *this;}
162 
166  inline DomainMembership& WithFQDN(Aws::String&& value) { SetFQDN(std::move(value)); return *this;}
167 
171  inline DomainMembership& WithFQDN(const char* value) { SetFQDN(value); return *this;}
172 
173 
178  inline const Aws::String& GetIAMRoleName() const{ return m_iAMRoleName; }
179 
184  inline bool IAMRoleNameHasBeenSet() const { return m_iAMRoleNameHasBeenSet; }
185 
190  inline void SetIAMRoleName(const Aws::String& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = value; }
191 
196  inline void SetIAMRoleName(Aws::String&& value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName = std::move(value); }
197 
202  inline void SetIAMRoleName(const char* value) { m_iAMRoleNameHasBeenSet = true; m_iAMRoleName.assign(value); }
203 
208  inline DomainMembership& WithIAMRoleName(const Aws::String& value) { SetIAMRoleName(value); return *this;}
209 
214  inline DomainMembership& WithIAMRoleName(Aws::String&& value) { SetIAMRoleName(std::move(value)); return *this;}
215 
220  inline DomainMembership& WithIAMRoleName(const char* value) { SetIAMRoleName(value); return *this;}
221 
222  private:
223 
224  Aws::String m_domain;
225  bool m_domainHasBeenSet;
226 
227  Aws::String m_status;
228  bool m_statusHasBeenSet;
229 
230  Aws::String m_fQDN;
231  bool m_fQDNHasBeenSet;
232 
233  Aws::String m_iAMRoleName;
234  bool m_iAMRoleNameHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace RDS
239 } // namespace Aws
Aws::RDS::Model::DomainMembership::DomainMembership
DomainMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DomainMembership::SetStatus
void SetStatus(const Aws::String &value)
Definition: DomainMembership.h:100
Aws::RDS::Model::DomainMembership::GetIAMRoleName
const Aws::String & GetIAMRoleName() const
Definition: DomainMembership.h:178
Aws::RDS::Model::DomainMembership::WithIAMRoleName
DomainMembership & WithIAMRoleName(Aws::String &&value)
Definition: DomainMembership.h:214
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DomainMembership::WithStatus
DomainMembership & WithStatus(const char *value)
Definition: DomainMembership.h:130
Aws::RDS::Model::DomainMembership::WithIAMRoleName
DomainMembership & WithIAMRoleName(const char *value)
Definition: DomainMembership.h:220
AWSStreamFwd.h
Aws::RDS::Model::DomainMembership::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::DomainMembership::FQDNHasBeenSet
bool FQDNHasBeenSet() const
Definition: DomainMembership.h:141
Aws::RDS::Model::DomainMembership::WithFQDN
DomainMembership & WithFQDN(const Aws::String &value)
Definition: DomainMembership.h:161
Aws::RDS::Model::DomainMembership::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DomainMembership.h:94
Aws::RDS::Model::DomainMembership::WithStatus
DomainMembership & WithStatus(const Aws::String &value)
Definition: DomainMembership.h:118
Aws::RDS::Model::DomainMembership::IAMRoleNameHasBeenSet
bool IAMRoleNameHasBeenSet() const
Definition: DomainMembership.h:184
Aws::RDS::Model::DomainMembership::WithFQDN
DomainMembership & WithFQDN(const char *value)
Definition: DomainMembership.h:171
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::DomainMembership::DomainMembership
DomainMembership()
Aws::RDS::Model::DomainMembership
Definition: DomainMembership.h:33
Aws::RDS::Model::DomainMembership::SetDomain
void SetDomain(const Aws::String &value)
Definition: DomainMembership.h:56
RDS_EXPORTS.h
Aws::RDS::Model::DomainMembership::SetDomain
void SetDomain(Aws::String &&value)
Definition: DomainMembership.h:61
Aws::RDS::Model::DomainMembership::WithIAMRoleName
DomainMembership & WithIAMRoleName(const Aws::String &value)
Definition: DomainMembership.h:208
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DomainMembership::SetFQDN
void SetFQDN(const Aws::String &value)
Definition: DomainMembership.h:146
Aws::RDS::Model::DomainMembership::SetFQDN
void SetFQDN(const char *value)
Definition: DomainMembership.h:156
Aws::RDS::Model::DomainMembership::SetIAMRoleName
void SetIAMRoleName(Aws::String &&value)
Definition: DomainMembership.h:196
Aws::RDS::Model::DomainMembership::WithDomain
DomainMembership & WithDomain(const char *value)
Definition: DomainMembership.h:81
Aws::RDS::Model::DomainMembership::SetFQDN
void SetFQDN(Aws::String &&value)
Definition: DomainMembership.h:151
Aws::RDS::Model::DomainMembership::operator=
DomainMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::RDS::Model::DomainMembership::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::DomainMembership::GetDomain
const Aws::String & GetDomain() const
Definition: DomainMembership.h:46
Aws::RDS::Model::DomainMembership::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: DomainMembership.h:51
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DomainMembership::SetIAMRoleName
void SetIAMRoleName(const Aws::String &value)
Definition: DomainMembership.h:190
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DomainMembership::GetStatus
const Aws::String & GetStatus() const
Definition: DomainMembership.h:88
Aws::RDS::Model::DomainMembership::SetIAMRoleName
void SetIAMRoleName(const char *value)
Definition: DomainMembership.h:202
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DomainMembership::SetDomain
void SetDomain(const char *value)
Definition: DomainMembership.h:66
Aws::RDS::Model::DomainMembership::GetFQDN
const Aws::String & GetFQDN() const
Definition: DomainMembership.h:136
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DomainMembership::WithDomain
DomainMembership & WithDomain(const Aws::String &value)
Definition: DomainMembership.h:71
Aws::RDS::Model::DomainMembership::SetStatus
void SetStatus(const char *value)
Definition: DomainMembership.h:112
Aws::RDS::Model::DomainMembership::WithDomain
DomainMembership & WithDomain(Aws::String &&value)
Definition: DomainMembership.h:76
Aws::RDS::Model::DomainMembership::WithStatus
DomainMembership & WithStatus(Aws::String &&value)
Definition: DomainMembership.h:124
Aws::RDS::Model::DomainMembership::SetStatus
void SetStatus(Aws::String &&value)
Definition: DomainMembership.h:106
Aws::RDS::Model::DomainMembership::WithFQDN
DomainMembership & WithFQDN(Aws::String &&value)
Definition: DomainMembership.h:166