AWS SDK for C++  1.9.104
AWS SDK for C++
CustomAvailabilityZone.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace RDS
23 {
24 namespace Model
25 {
26 
37  {
38  public:
42 
43  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44  void OutputToStream(Aws::OStream& oStream, const char* location) const;
45 
46 
51  inline const Aws::String& GetCustomAvailabilityZoneId() const{ return m_customAvailabilityZoneId; }
52 
57  inline bool CustomAvailabilityZoneIdHasBeenSet() const { return m_customAvailabilityZoneIdHasBeenSet; }
58 
63  inline void SetCustomAvailabilityZoneId(const Aws::String& value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId = value; }
64 
69  inline void SetCustomAvailabilityZoneId(Aws::String&& value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId = std::move(value); }
70 
75  inline void SetCustomAvailabilityZoneId(const char* value) { m_customAvailabilityZoneIdHasBeenSet = true; m_customAvailabilityZoneId.assign(value); }
76 
81  inline CustomAvailabilityZone& WithCustomAvailabilityZoneId(const Aws::String& value) { SetCustomAvailabilityZoneId(value); return *this;}
82 
87  inline CustomAvailabilityZone& WithCustomAvailabilityZoneId(Aws::String&& value) { SetCustomAvailabilityZoneId(std::move(value)); return *this;}
88 
93  inline CustomAvailabilityZone& WithCustomAvailabilityZoneId(const char* value) { SetCustomAvailabilityZoneId(value); return *this;}
94 
95 
99  inline const Aws::String& GetCustomAvailabilityZoneName() const{ return m_customAvailabilityZoneName; }
100 
104  inline bool CustomAvailabilityZoneNameHasBeenSet() const { return m_customAvailabilityZoneNameHasBeenSet; }
105 
109  inline void SetCustomAvailabilityZoneName(const Aws::String& value) { m_customAvailabilityZoneNameHasBeenSet = true; m_customAvailabilityZoneName = value; }
110 
114  inline void SetCustomAvailabilityZoneName(Aws::String&& value) { m_customAvailabilityZoneNameHasBeenSet = true; m_customAvailabilityZoneName = std::move(value); }
115 
119  inline void SetCustomAvailabilityZoneName(const char* value) { m_customAvailabilityZoneNameHasBeenSet = true; m_customAvailabilityZoneName.assign(value); }
120 
124  inline CustomAvailabilityZone& WithCustomAvailabilityZoneName(const Aws::String& value) { SetCustomAvailabilityZoneName(value); return *this;}
125 
129  inline CustomAvailabilityZone& WithCustomAvailabilityZoneName(Aws::String&& value) { SetCustomAvailabilityZoneName(std::move(value)); return *this;}
130 
134  inline CustomAvailabilityZone& WithCustomAvailabilityZoneName(const char* value) { SetCustomAvailabilityZoneName(value); return *this;}
135 
136 
140  inline const Aws::String& GetCustomAvailabilityZoneStatus() const{ return m_customAvailabilityZoneStatus; }
141 
145  inline bool CustomAvailabilityZoneStatusHasBeenSet() const { return m_customAvailabilityZoneStatusHasBeenSet; }
146 
150  inline void SetCustomAvailabilityZoneStatus(const Aws::String& value) { m_customAvailabilityZoneStatusHasBeenSet = true; m_customAvailabilityZoneStatus = value; }
151 
155  inline void SetCustomAvailabilityZoneStatus(Aws::String&& value) { m_customAvailabilityZoneStatusHasBeenSet = true; m_customAvailabilityZoneStatus = std::move(value); }
156 
160  inline void SetCustomAvailabilityZoneStatus(const char* value) { m_customAvailabilityZoneStatusHasBeenSet = true; m_customAvailabilityZoneStatus.assign(value); }
161 
165  inline CustomAvailabilityZone& WithCustomAvailabilityZoneStatus(const Aws::String& value) { SetCustomAvailabilityZoneStatus(value); return *this;}
166 
170  inline CustomAvailabilityZone& WithCustomAvailabilityZoneStatus(Aws::String&& value) { SetCustomAvailabilityZoneStatus(std::move(value)); return *this;}
171 
175  inline CustomAvailabilityZone& WithCustomAvailabilityZoneStatus(const char* value) { SetCustomAvailabilityZoneStatus(value); return *this;}
176 
177 
182  inline const VpnDetails& GetVpnDetails() const{ return m_vpnDetails; }
183 
188  inline bool VpnDetailsHasBeenSet() const { return m_vpnDetailsHasBeenSet; }
189 
194  inline void SetVpnDetails(const VpnDetails& value) { m_vpnDetailsHasBeenSet = true; m_vpnDetails = value; }
195 
200  inline void SetVpnDetails(VpnDetails&& value) { m_vpnDetailsHasBeenSet = true; m_vpnDetails = std::move(value); }
201 
206  inline CustomAvailabilityZone& WithVpnDetails(const VpnDetails& value) { SetVpnDetails(value); return *this;}
207 
212  inline CustomAvailabilityZone& WithVpnDetails(VpnDetails&& value) { SetVpnDetails(std::move(value)); return *this;}
213 
214  private:
215 
216  Aws::String m_customAvailabilityZoneId;
217  bool m_customAvailabilityZoneIdHasBeenSet;
218 
219  Aws::String m_customAvailabilityZoneName;
220  bool m_customAvailabilityZoneNameHasBeenSet;
221 
222  Aws::String m_customAvailabilityZoneStatus;
223  bool m_customAvailabilityZoneStatusHasBeenSet;
224 
225  VpnDetails m_vpnDetails;
226  bool m_vpnDetailsHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace RDS
231 } // namespace Aws
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(Aws::String &&value)
Definition: CustomAvailabilityZone.h:69
Aws::RDS::Model::CustomAvailabilityZone::GetCustomAvailabilityZoneName
const Aws::String & GetCustomAvailabilityZoneName() const
Definition: CustomAvailabilityZone.h:99
Aws::RDS::Model::CustomAvailabilityZone
Definition: CustomAvailabilityZone.h:37
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneStatus
void SetCustomAvailabilityZoneStatus(Aws::String &&value)
Definition: CustomAvailabilityZone.h:155
Aws::RDS::Model::CustomAvailabilityZone::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CustomAvailabilityZone::WithVpnDetails
CustomAvailabilityZone & WithVpnDetails(VpnDetails &&value)
Definition: CustomAvailabilityZone.h:212
Aws::RDS::Model::CustomAvailabilityZone::CustomAvailabilityZone
CustomAvailabilityZone(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::VpnDetails
Definition: VpnDetails.h:36
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneName
CustomAvailabilityZone & WithCustomAvailabilityZoneName(Aws::String &&value)
Definition: CustomAvailabilityZone.h:129
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneStatus
CustomAvailabilityZone & WithCustomAvailabilityZoneStatus(const Aws::String &value)
Definition: CustomAvailabilityZone.h:165
AWSStreamFwd.h
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneStatus
CustomAvailabilityZone & WithCustomAvailabilityZoneStatus(Aws::String &&value)
Definition: CustomAvailabilityZone.h:170
VpnDetails.h
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(const char *value)
Definition: CustomAvailabilityZone.h:75
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneName
void SetCustomAvailabilityZoneName(Aws::String &&value)
Definition: CustomAvailabilityZone.h:114
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneName
void SetCustomAvailabilityZoneName(const Aws::String &value)
Definition: CustomAvailabilityZone.h:109
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneId
CustomAvailabilityZone & WithCustomAvailabilityZoneId(const char *value)
Definition: CustomAvailabilityZone.h:93
Aws::RDS::Model::CustomAvailabilityZone::SetVpnDetails
void SetVpnDetails(VpnDetails &&value)
Definition: CustomAvailabilityZone.h:200
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneId
void SetCustomAvailabilityZoneId(const Aws::String &value)
Definition: CustomAvailabilityZone.h:63
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneStatus
void SetCustomAvailabilityZoneStatus(const char *value)
Definition: CustomAvailabilityZone.h:160
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneName
CustomAvailabilityZone & WithCustomAvailabilityZoneName(const Aws::String &value)
Definition: CustomAvailabilityZone.h:124
AWSString.h
Aws::RDS::Model::CustomAvailabilityZone::SetVpnDetails
void SetVpnDetails(const VpnDetails &value)
Definition: CustomAvailabilityZone.h:194
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneId
CustomAvailabilityZone & WithCustomAvailabilityZoneId(const Aws::String &value)
Definition: CustomAvailabilityZone.h:81
Aws::RDS::Model::CustomAvailabilityZone::CustomAvailabilityZone
CustomAvailabilityZone()
Aws::RDS::Model::CustomAvailabilityZone::WithVpnDetails
CustomAvailabilityZone & WithVpnDetails(const VpnDetails &value)
Definition: CustomAvailabilityZone.h:206
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneStatus
void SetCustomAvailabilityZoneStatus(const Aws::String &value)
Definition: CustomAvailabilityZone.h:150
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CustomAvailabilityZone::GetCustomAvailabilityZoneId
const Aws::String & GetCustomAvailabilityZoneId() const
Definition: CustomAvailabilityZone.h:51
Aws::RDS::Model::CustomAvailabilityZone::CustomAvailabilityZoneStatusHasBeenSet
bool CustomAvailabilityZoneStatusHasBeenSet() const
Definition: CustomAvailabilityZone.h:145
Aws::RDS::Model::CustomAvailabilityZone::operator=
CustomAvailabilityZone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::CustomAvailabilityZone::CustomAvailabilityZoneNameHasBeenSet
bool CustomAvailabilityZoneNameHasBeenSet() const
Definition: CustomAvailabilityZone.h:104
Aws::RDS::Model::CustomAvailabilityZone::SetCustomAvailabilityZoneName
void SetCustomAvailabilityZoneName(const char *value)
Definition: CustomAvailabilityZone.h:119
Aws::RDS::Model::CustomAvailabilityZone::GetVpnDetails
const VpnDetails & GetVpnDetails() const
Definition: CustomAvailabilityZone.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneStatus
CustomAvailabilityZone & WithCustomAvailabilityZoneStatus(const char *value)
Definition: CustomAvailabilityZone.h:175
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneId
CustomAvailabilityZone & WithCustomAvailabilityZoneId(Aws::String &&value)
Definition: CustomAvailabilityZone.h:87
Aws::RDS::Model::CustomAvailabilityZone::CustomAvailabilityZoneIdHasBeenSet
bool CustomAvailabilityZoneIdHasBeenSet() const
Definition: CustomAvailabilityZone.h:57
Aws::RDS::Model::CustomAvailabilityZone::WithCustomAvailabilityZoneName
CustomAvailabilityZone & WithCustomAvailabilityZoneName(const char *value)
Definition: CustomAvailabilityZone.h:134
Aws::RDS::Model::CustomAvailabilityZone::GetCustomAvailabilityZoneStatus
const Aws::String & GetCustomAvailabilityZoneStatus() const
Definition: CustomAvailabilityZone.h:140
Aws::RDS::Model::CustomAvailabilityZone::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::CustomAvailabilityZone::VpnDetailsHasBeenSet
bool VpnDetailsHasBeenSet() const
Definition: CustomAvailabilityZone.h:188