AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcIpv6CidrBlockAssociation.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 <aws/ec2/model/VpcCidrBlockState.h>
11#include <aws/ec2/model/Ipv6AddressAttribute.h>
12#include <aws/ec2/model/IpSource.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
36 {
37 public:
41
42 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
51 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
52 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
53 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
54 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
55 inline VpcIpv6CidrBlockAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
56 inline VpcIpv6CidrBlockAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
57 inline VpcIpv6CidrBlockAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
59
61
64 inline const Aws::String& GetIpv6CidrBlock() const{ return m_ipv6CidrBlock; }
65 inline bool Ipv6CidrBlockHasBeenSet() const { return m_ipv6CidrBlockHasBeenSet; }
66 inline void SetIpv6CidrBlock(const Aws::String& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = value; }
67 inline void SetIpv6CidrBlock(Aws::String&& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = std::move(value); }
68 inline void SetIpv6CidrBlock(const char* value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock.assign(value); }
69 inline VpcIpv6CidrBlockAssociation& WithIpv6CidrBlock(const Aws::String& value) { SetIpv6CidrBlock(value); return *this;}
70 inline VpcIpv6CidrBlockAssociation& WithIpv6CidrBlock(Aws::String&& value) { SetIpv6CidrBlock(std::move(value)); return *this;}
71 inline VpcIpv6CidrBlockAssociation& WithIpv6CidrBlock(const char* value) { SetIpv6CidrBlock(value); return *this;}
73
75
78 inline const VpcCidrBlockState& GetIpv6CidrBlockState() const{ return m_ipv6CidrBlockState; }
79 inline bool Ipv6CidrBlockStateHasBeenSet() const { return m_ipv6CidrBlockStateHasBeenSet; }
80 inline void SetIpv6CidrBlockState(const VpcCidrBlockState& value) { m_ipv6CidrBlockStateHasBeenSet = true; m_ipv6CidrBlockState = value; }
81 inline void SetIpv6CidrBlockState(VpcCidrBlockState&& value) { m_ipv6CidrBlockStateHasBeenSet = true; m_ipv6CidrBlockState = std::move(value); }
85
87
92 inline const Aws::String& GetNetworkBorderGroup() const{ return m_networkBorderGroup; }
93 inline bool NetworkBorderGroupHasBeenSet() const { return m_networkBorderGroupHasBeenSet; }
94 inline void SetNetworkBorderGroup(const Aws::String& value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup = value; }
95 inline void SetNetworkBorderGroup(Aws::String&& value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup = std::move(value); }
96 inline void SetNetworkBorderGroup(const char* value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup.assign(value); }
98 inline VpcIpv6CidrBlockAssociation& WithNetworkBorderGroup(Aws::String&& value) { SetNetworkBorderGroup(std::move(value)); return *this;}
99 inline VpcIpv6CidrBlockAssociation& WithNetworkBorderGroup(const char* value) { SetNetworkBorderGroup(value); return *this;}
101
103
107 inline const Aws::String& GetIpv6Pool() const{ return m_ipv6Pool; }
108 inline bool Ipv6PoolHasBeenSet() const { return m_ipv6PoolHasBeenSet; }
109 inline void SetIpv6Pool(const Aws::String& value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool = value; }
110 inline void SetIpv6Pool(Aws::String&& value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool = std::move(value); }
111 inline void SetIpv6Pool(const char* value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool.assign(value); }
112 inline VpcIpv6CidrBlockAssociation& WithIpv6Pool(const Aws::String& value) { SetIpv6Pool(value); return *this;}
113 inline VpcIpv6CidrBlockAssociation& WithIpv6Pool(Aws::String&& value) { SetIpv6Pool(std::move(value)); return *this;}
114 inline VpcIpv6CidrBlockAssociation& WithIpv6Pool(const char* value) { SetIpv6Pool(value); return *this;}
116
118
123 inline const Ipv6AddressAttribute& GetIpv6AddressAttribute() const{ return m_ipv6AddressAttribute; }
124 inline bool Ipv6AddressAttributeHasBeenSet() const { return m_ipv6AddressAttributeHasBeenSet; }
125 inline void SetIpv6AddressAttribute(const Ipv6AddressAttribute& value) { m_ipv6AddressAttributeHasBeenSet = true; m_ipv6AddressAttribute = value; }
126 inline void SetIpv6AddressAttribute(Ipv6AddressAttribute&& value) { m_ipv6AddressAttributeHasBeenSet = true; m_ipv6AddressAttribute = std::move(value); }
130
132
138 inline const IpSource& GetIpSource() const{ return m_ipSource; }
139 inline bool IpSourceHasBeenSet() const { return m_ipSourceHasBeenSet; }
140 inline void SetIpSource(const IpSource& value) { m_ipSourceHasBeenSet = true; m_ipSource = value; }
141 inline void SetIpSource(IpSource&& value) { m_ipSourceHasBeenSet = true; m_ipSource = std::move(value); }
142 inline VpcIpv6CidrBlockAssociation& WithIpSource(const IpSource& value) { SetIpSource(value); return *this;}
143 inline VpcIpv6CidrBlockAssociation& WithIpSource(IpSource&& value) { SetIpSource(std::move(value)); return *this;}
145 private:
146
147 Aws::String m_associationId;
148 bool m_associationIdHasBeenSet = false;
149
150 Aws::String m_ipv6CidrBlock;
151 bool m_ipv6CidrBlockHasBeenSet = false;
152
153 VpcCidrBlockState m_ipv6CidrBlockState;
154 bool m_ipv6CidrBlockStateHasBeenSet = false;
155
156 Aws::String m_networkBorderGroup;
157 bool m_networkBorderGroupHasBeenSet = false;
158
159 Aws::String m_ipv6Pool;
160 bool m_ipv6PoolHasBeenSet = false;
161
162 Ipv6AddressAttribute m_ipv6AddressAttribute;
163 bool m_ipv6AddressAttributeHasBeenSet = false;
164
165 IpSource m_ipSource;
166 bool m_ipSourceHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace EC2
171} // namespace Aws
VpcIpv6CidrBlockAssociation & WithNetworkBorderGroup(Aws::String &&value)
VpcIpv6CidrBlockAssociation & WithIpv6Pool(const char *value)
VpcIpv6CidrBlockAssociation & WithAssociationId(const Aws::String &value)
void SetIpv6AddressAttribute(Ipv6AddressAttribute &&value)
VpcIpv6CidrBlockAssociation & WithAssociationId(const char *value)
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlock(Aws::String &&value)
void SetIpv6CidrBlockState(const VpcCidrBlockState &value)
const VpcCidrBlockState & GetIpv6CidrBlockState() const
VpcIpv6CidrBlockAssociation & WithAssociationId(Aws::String &&value)
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlock(const char *value)
VpcIpv6CidrBlockAssociation & WithIpSource(const IpSource &value)
VpcIpv6CidrBlockAssociation & WithIpSource(IpSource &&value)
AWS_EC2_API VpcIpv6CidrBlockAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlock(const Aws::String &value)
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlockState(VpcCidrBlockState &&value)
VpcIpv6CidrBlockAssociation & WithIpv6Pool(const Aws::String &value)
AWS_EC2_API VpcIpv6CidrBlockAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcIpv6CidrBlockAssociation & WithIpv6Pool(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VpcIpv6CidrBlockAssociation & WithIpv6AddressAttribute(const Ipv6AddressAttribute &value)
void SetIpv6AddressAttribute(const Ipv6AddressAttribute &value)
const Ipv6AddressAttribute & GetIpv6AddressAttribute() const
VpcIpv6CidrBlockAssociation & WithNetworkBorderGroup(const char *value)
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlockState(const VpcCidrBlockState &value)
VpcIpv6CidrBlockAssociation & WithNetworkBorderGroup(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcIpv6CidrBlockAssociation & WithIpv6AddressAttribute(Ipv6AddressAttribute &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream