AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IPRange.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
32 class IPRange
33 {
34 public:
35 AWS_RDS_API IPRange();
36 AWS_RDS_API IPRange(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_RDS_API IPRange& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const Aws::String& GetStatus() const{ return m_status; }
49 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
50 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
51 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
52 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
53 inline IPRange& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
54 inline IPRange& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
55 inline IPRange& WithStatus(const char* value) { SetStatus(value); return *this;}
57
59
62 inline const Aws::String& GetCIDRIP() const{ return m_cIDRIP; }
63 inline bool CIDRIPHasBeenSet() const { return m_cIDRIPHasBeenSet; }
64 inline void SetCIDRIP(const Aws::String& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; }
65 inline void SetCIDRIP(Aws::String&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = std::move(value); }
66 inline void SetCIDRIP(const char* value) { m_cIDRIPHasBeenSet = true; m_cIDRIP.assign(value); }
67 inline IPRange& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;}
68 inline IPRange& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;}
69 inline IPRange& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;}
71 private:
72
73 Aws::String m_status;
74 bool m_statusHasBeenSet = false;
75
76 Aws::String m_cIDRIP;
77 bool m_cIDRIPHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace RDS
82} // namespace Aws
void SetStatus(const Aws::String &value)
Definition IPRange.h:50
AWS_RDS_API IPRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCIDRIP(const Aws::String &value)
Definition IPRange.h:64
void SetCIDRIP(Aws::String &&value)
Definition IPRange.h:65
const Aws::String & GetStatus() const
Definition IPRange.h:48
AWS_RDS_API IPRange(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(Aws::String &&value)
Definition IPRange.h:51
bool CIDRIPHasBeenSet() const
Definition IPRange.h:63
IPRange & WithCIDRIP(const char *value)
Definition IPRange.h:69
IPRange & WithStatus(const Aws::String &value)
Definition IPRange.h:53
IPRange & WithStatus(const char *value)
Definition IPRange.h:55
bool StatusHasBeenSet() const
Definition IPRange.h:49
IPRange & WithStatus(Aws::String &&value)
Definition IPRange.h:54
IPRange & WithCIDRIP(const Aws::String &value)
Definition IPRange.h:67
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetStatus(const char *value)
Definition IPRange.h:52
const Aws::String & GetCIDRIP() const
Definition IPRange.h:62
IPRange & WithCIDRIP(Aws::String &&value)
Definition IPRange.h:68
void SetCIDRIP(const char *value)
Definition IPRange.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream