AWS SDK for C++  1.9.104
AWS SDK for C++
IPRange.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 
47  inline const Aws::String& GetStatus() const{ return m_status; }
48 
53  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
54 
59  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
60 
65  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 
71  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
72 
77  inline IPRange& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
78 
83  inline IPRange& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
84 
89  inline IPRange& WithStatus(const char* value) { SetStatus(value); return *this;}
90 
91 
95  inline const Aws::String& GetCIDRIP() const{ return m_cIDRIP; }
96 
100  inline bool CIDRIPHasBeenSet() const { return m_cIDRIPHasBeenSet; }
101 
105  inline void SetCIDRIP(const Aws::String& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; }
106 
110  inline void SetCIDRIP(Aws::String&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = std::move(value); }
111 
115  inline void SetCIDRIP(const char* value) { m_cIDRIPHasBeenSet = true; m_cIDRIP.assign(value); }
116 
120  inline IPRange& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;}
121 
125  inline IPRange& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;}
126 
130  inline IPRange& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;}
131 
132  private:
133 
134  Aws::String m_status;
135  bool m_statusHasBeenSet;
136 
137  Aws::String m_cIDRIP;
138  bool m_cIDRIPHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace RDS
143 } // namespace Aws
Aws::RDS::Model::IPRange::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::IPRange::IPRange
IPRange(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::IPRange::GetCIDRIP
const Aws::String & GetCIDRIP() const
Definition: IPRange.h:95
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::IPRange::WithCIDRIP
IPRange & WithCIDRIP(const char *value)
Definition: IPRange.h:130
Aws::RDS::Model::IPRange::SetCIDRIP
void SetCIDRIP(Aws::String &&value)
Definition: IPRange.h:110
Aws::RDS::Model::IPRange::SetStatus
void SetStatus(Aws::String &&value)
Definition: IPRange.h:65
Aws::RDS::Model::IPRange::SetCIDRIP
void SetCIDRIP(const Aws::String &value)
Definition: IPRange.h:105
Aws::RDS::Model::IPRange::SetStatus
void SetStatus(const Aws::String &value)
Definition: IPRange.h:59
AWSStreamFwd.h
Aws::RDS::Model::IPRange::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: IPRange.h:53
Aws::RDS::Model::IPRange
Definition: IPRange.h:33
Aws::RDS::Model::IPRange::WithStatus
IPRange & WithStatus(Aws::String &&value)
Definition: IPRange.h:83
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::IPRange::IPRange
IPRange()
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWSString.h
Aws::RDS::Model::IPRange::SetCIDRIP
void SetCIDRIP(const char *value)
Definition: IPRange.h:115
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::IPRange::WithStatus
IPRange & WithStatus(const Aws::String &value)
Definition: IPRange.h:77
Aws::RDS::Model::IPRange::WithCIDRIP
IPRange & WithCIDRIP(const Aws::String &value)
Definition: IPRange.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::IPRange::operator=
IPRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::IPRange::SetStatus
void SetStatus(const char *value)
Definition: IPRange.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::IPRange::WithCIDRIP
IPRange & WithCIDRIP(Aws::String &&value)
Definition: IPRange.h:125
Aws::RDS::Model::IPRange::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::IPRange::WithStatus
IPRange & WithStatus(const char *value)
Definition: IPRange.h:89
Aws::RDS::Model::IPRange::GetStatus
const Aws::String & GetStatus() const
Definition: IPRange.h:47
Aws::RDS::Model::IPRange::CIDRIPHasBeenSet
bool CIDRIPHasBeenSet() const
Definition: IPRange.h:100