AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename CidrT = Aws::String>
50 void SetCidr(CidrT&& value) { m_cidrHasBeenSet = true; m_cidr = std::forward<CidrT>(value); }
51 template<typename CidrT = Aws::String>
52 CoipCidr& WithCidr(CidrT&& value) { SetCidr(std::forward<CidrT>(value)); return *this;}
54
56
59 inline const Aws::String& GetCoipPoolId() const { return m_coipPoolId; }
60 inline bool CoipPoolIdHasBeenSet() const { return m_coipPoolIdHasBeenSet; }
61 template<typename CoipPoolIdT = Aws::String>
62 void SetCoipPoolId(CoipPoolIdT&& value) { m_coipPoolIdHasBeenSet = true; m_coipPoolId = std::forward<CoipPoolIdT>(value); }
63 template<typename CoipPoolIdT = Aws::String>
64 CoipCidr& WithCoipPoolId(CoipPoolIdT&& value) { SetCoipPoolId(std::forward<CoipPoolIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetLocalGatewayRouteTableId() const { return m_localGatewayRouteTableId; }
72 inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
73 template<typename LocalGatewayRouteTableIdT = Aws::String>
74 void SetLocalGatewayRouteTableId(LocalGatewayRouteTableIdT&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::forward<LocalGatewayRouteTableIdT>(value); }
75 template<typename LocalGatewayRouteTableIdT = Aws::String>
76 CoipCidr& WithLocalGatewayRouteTableId(LocalGatewayRouteTableIdT&& value) { SetLocalGatewayRouteTableId(std::forward<LocalGatewayRouteTableIdT>(value)); return *this;}
78 private:
79
80 Aws::String m_cidr;
81 bool m_cidrHasBeenSet = false;
82
83 Aws::String m_coipPoolId;
84 bool m_coipPoolIdHasBeenSet = false;
85
86 Aws::String m_localGatewayRouteTableId;
87 bool m_localGatewayRouteTableIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace EC2
92} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API CoipCidr & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool LocalGatewayRouteTableIdHasBeenSet() const
Definition CoipCidr.h:72
bool CidrHasBeenSet() const
Definition CoipCidr.h:48
CoipCidr & WithLocalGatewayRouteTableId(LocalGatewayRouteTableIdT &&value)
Definition CoipCidr.h:76
CoipCidr & WithCoipPoolId(CoipPoolIdT &&value)
Definition CoipCidr.h:64
CoipCidr & WithCidr(CidrT &&value)
Definition CoipCidr.h:52
const Aws::String & GetCoipPoolId() const
Definition CoipCidr.h:59
void SetLocalGatewayRouteTableId(LocalGatewayRouteTableIdT &&value)
Definition CoipCidr.h:74
const Aws::String & GetLocalGatewayRouteTableId() const
Definition CoipCidr.h:71
void SetCoipPoolId(CoipPoolIdT &&value)
Definition CoipCidr.h:62
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API CoipCidr(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCidr() const
Definition CoipCidr.h:47
void SetCidr(CidrT &&value)
Definition CoipCidr.h:50
AWS_EC2_API CoipCidr()=default
bool CoipPoolIdHasBeenSet() const
Definition CoipCidr.h:60
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream