AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CoipCidr.h
1
6#pragma once
7#include <aws/ec2/EC2_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 EC2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EC2_API CoipCidr();
36 AWS_EC2_API CoipCidr(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_EC2_API CoipCidr& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetCidr() const{ return m_cidr; }
48 inline bool CidrHasBeenSet() const { return m_cidrHasBeenSet; }
49 inline void SetCidr(const Aws::String& value) { m_cidrHasBeenSet = true; m_cidr = value; }
50 inline void SetCidr(Aws::String&& value) { m_cidrHasBeenSet = true; m_cidr = std::move(value); }
51 inline void SetCidr(const char* value) { m_cidrHasBeenSet = true; m_cidr.assign(value); }
52 inline CoipCidr& WithCidr(const Aws::String& value) { SetCidr(value); return *this;}
53 inline CoipCidr& WithCidr(Aws::String&& value) { SetCidr(std::move(value)); return *this;}
54 inline CoipCidr& WithCidr(const char* value) { SetCidr(value); return *this;}
56
58
61 inline const Aws::String& GetCoipPoolId() const{ return m_coipPoolId; }
62 inline bool CoipPoolIdHasBeenSet() const { return m_coipPoolIdHasBeenSet; }
63 inline void SetCoipPoolId(const Aws::String& value) { m_coipPoolIdHasBeenSet = true; m_coipPoolId = value; }
64 inline void SetCoipPoolId(Aws::String&& value) { m_coipPoolIdHasBeenSet = true; m_coipPoolId = std::move(value); }
65 inline void SetCoipPoolId(const char* value) { m_coipPoolIdHasBeenSet = true; m_coipPoolId.assign(value); }
66 inline CoipCidr& WithCoipPoolId(const Aws::String& value) { SetCoipPoolId(value); return *this;}
67 inline CoipCidr& WithCoipPoolId(Aws::String&& value) { SetCoipPoolId(std::move(value)); return *this;}
68 inline CoipCidr& WithCoipPoolId(const char* value) { SetCoipPoolId(value); return *this;}
70
72
75 inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
76 inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
77 inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = value; }
78 inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::move(value); }
79 inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId.assign(value); }
81 inline CoipCidr& WithLocalGatewayRouteTableId(Aws::String&& value) { SetLocalGatewayRouteTableId(std::move(value)); return *this;}
82 inline CoipCidr& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;}
84 private:
85
86 Aws::String m_cidr;
87 bool m_cidrHasBeenSet = false;
88
89 Aws::String m_coipPoolId;
90 bool m_coipPoolIdHasBeenSet = false;
91
92 Aws::String m_localGatewayRouteTableId;
93 bool m_localGatewayRouteTableIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace EC2
98} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCoipPoolId(const Aws::String &value)
Definition CoipCidr.h:63
AWS_EC2_API CoipCidr & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CoipCidr & WithLocalGatewayRouteTableId(Aws::String &&value)
Definition CoipCidr.h:81
bool LocalGatewayRouteTableIdHasBeenSet() const
Definition CoipCidr.h:76
CoipCidr & WithLocalGatewayRouteTableId(const Aws::String &value)
Definition CoipCidr.h:80
CoipCidr & WithCidr(const Aws::String &value)
Definition CoipCidr.h:52
bool CidrHasBeenSet() const
Definition CoipCidr.h:48
void SetLocalGatewayRouteTableId(const char *value)
Definition CoipCidr.h:79
void SetCidr(const char *value)
Definition CoipCidr.h:51
CoipCidr & WithCidr(const char *value)
Definition CoipCidr.h:54
void SetCoipPoolId(Aws::String &&value)
Definition CoipCidr.h:64
const Aws::String & GetCoipPoolId() const
Definition CoipCidr.h:61
CoipCidr & WithCidr(Aws::String &&value)
Definition CoipCidr.h:53
const Aws::String & GetLocalGatewayRouteTableId() const
Definition CoipCidr.h:75
void SetCidr(Aws::String &&value)
Definition CoipCidr.h:50
CoipCidr & WithLocalGatewayRouteTableId(const char *value)
Definition CoipCidr.h:82
void SetCidr(const Aws::String &value)
Definition CoipCidr.h:49
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetLocalGatewayRouteTableId(Aws::String &&value)
Definition CoipCidr.h:78
AWS_EC2_API CoipCidr(const Aws::Utils::Xml::XmlNode &xmlNode)
CoipCidr & WithCoipPoolId(const char *value)
Definition CoipCidr.h:68
void SetCoipPoolId(const char *value)
Definition CoipCidr.h:65
CoipCidr & WithCoipPoolId(Aws::String &&value)
Definition CoipCidr.h:67
const Aws::String & GetCidr() const
Definition CoipCidr.h:47
void SetLocalGatewayRouteTableId(const Aws::String &value)
Definition CoipCidr.h:77
CoipCidr & WithCoipPoolId(const Aws::String &value)
Definition CoipCidr.h:66
bool CoipPoolIdHasBeenSet() const
Definition CoipCidr.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream