AWS SDK for C++  1.9.108
AWS SDK for C++
AvailabilityZone.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 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
52  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 
57  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 
62  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 
67  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 
72  inline AvailabilityZone& WithName(const Aws::String& value) { SetName(value); return *this;}
73 
77  inline AvailabilityZone& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 
82  inline AvailabilityZone& WithName(const char* value) { SetName(value); return *this;}
83 
84  private:
85 
86  Aws::String m_name;
87  bool m_nameHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace RDS
92 } // namespace Aws
Aws::RDS::Model::AvailabilityZone::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::AvailabilityZone::GetName
const Aws::String & GetName() const
Definition: AvailabilityZone.h:47
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::AvailabilityZone
Definition: AvailabilityZone.h:34
Aws::RDS::Model::AvailabilityZone::AvailabilityZone
AvailabilityZone()
Aws::RDS::Model::AvailabilityZone::SetName
void SetName(const Aws::String &value)
Definition: AvailabilityZone.h:57
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::AvailabilityZone::operator=
AvailabilityZone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::AvailabilityZone::WithName
AvailabilityZone & WithName(const Aws::String &value)
Definition: AvailabilityZone.h:72
Aws::RDS::Model::AvailabilityZone::AvailabilityZone
AvailabilityZone(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::AvailabilityZone::SetName
void SetName(Aws::String &&value)
Definition: AvailabilityZone.h:62
Aws::RDS::Model::AvailabilityZone::WithName
AvailabilityZone & WithName(const char *value)
Definition: AvailabilityZone.h:82
AWSString.h
Aws::RDS::Model::AvailabilityZone::SetName
void SetName(const char *value)
Definition: AvailabilityZone.h:67
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::AvailabilityZone::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AvailabilityZone.h:52
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::AvailabilityZone::WithName
AvailabilityZone & WithName(Aws::String &&value)
Definition: AvailabilityZone.h:77
Aws::RDS::Model::AvailabilityZone::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const