AWS SDK for C++  1.9.67
AWS SDK for C++
VpcIpv6CidrBlockAssociation.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetAssociationId() const{ return m_associationId; }
48 
52  inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
53 
57  inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
58 
62  inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
63 
67  inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
68 
72  inline VpcIpv6CidrBlockAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
73 
77  inline VpcIpv6CidrBlockAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
78 
82  inline VpcIpv6CidrBlockAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
83 
84 
88  inline const Aws::String& GetIpv6CidrBlock() const{ return m_ipv6CidrBlock; }
89 
93  inline bool Ipv6CidrBlockHasBeenSet() const { return m_ipv6CidrBlockHasBeenSet; }
94 
98  inline void SetIpv6CidrBlock(const Aws::String& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = value; }
99 
103  inline void SetIpv6CidrBlock(Aws::String&& value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock = std::move(value); }
104 
108  inline void SetIpv6CidrBlock(const char* value) { m_ipv6CidrBlockHasBeenSet = true; m_ipv6CidrBlock.assign(value); }
109 
113  inline VpcIpv6CidrBlockAssociation& WithIpv6CidrBlock(const Aws::String& value) { SetIpv6CidrBlock(value); return *this;}
114 
118  inline VpcIpv6CidrBlockAssociation& WithIpv6CidrBlock(Aws::String&& value) { SetIpv6CidrBlock(std::move(value)); return *this;}
119 
123  inline VpcIpv6CidrBlockAssociation& WithIpv6CidrBlock(const char* value) { SetIpv6CidrBlock(value); return *this;}
124 
125 
129  inline const VpcCidrBlockState& GetIpv6CidrBlockState() const{ return m_ipv6CidrBlockState; }
130 
134  inline bool Ipv6CidrBlockStateHasBeenSet() const { return m_ipv6CidrBlockStateHasBeenSet; }
135 
139  inline void SetIpv6CidrBlockState(const VpcCidrBlockState& value) { m_ipv6CidrBlockStateHasBeenSet = true; m_ipv6CidrBlockState = value; }
140 
144  inline void SetIpv6CidrBlockState(VpcCidrBlockState&& value) { m_ipv6CidrBlockStateHasBeenSet = true; m_ipv6CidrBlockState = std::move(value); }
145 
149  inline VpcIpv6CidrBlockAssociation& WithIpv6CidrBlockState(const VpcCidrBlockState& value) { SetIpv6CidrBlockState(value); return *this;}
150 
154  inline VpcIpv6CidrBlockAssociation& WithIpv6CidrBlockState(VpcCidrBlockState&& value) { SetIpv6CidrBlockState(std::move(value)); return *this;}
155 
156 
162  inline const Aws::String& GetNetworkBorderGroup() const{ return m_networkBorderGroup; }
163 
169  inline bool NetworkBorderGroupHasBeenSet() const { return m_networkBorderGroupHasBeenSet; }
170 
176  inline void SetNetworkBorderGroup(const Aws::String& value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup = value; }
177 
183  inline void SetNetworkBorderGroup(Aws::String&& value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup = std::move(value); }
184 
190  inline void SetNetworkBorderGroup(const char* value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup.assign(value); }
191 
197  inline VpcIpv6CidrBlockAssociation& WithNetworkBorderGroup(const Aws::String& value) { SetNetworkBorderGroup(value); return *this;}
198 
204  inline VpcIpv6CidrBlockAssociation& WithNetworkBorderGroup(Aws::String&& value) { SetNetworkBorderGroup(std::move(value)); return *this;}
205 
211  inline VpcIpv6CidrBlockAssociation& WithNetworkBorderGroup(const char* value) { SetNetworkBorderGroup(value); return *this;}
212 
213 
218  inline const Aws::String& GetIpv6Pool() const{ return m_ipv6Pool; }
219 
224  inline bool Ipv6PoolHasBeenSet() const { return m_ipv6PoolHasBeenSet; }
225 
230  inline void SetIpv6Pool(const Aws::String& value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool = value; }
231 
236  inline void SetIpv6Pool(Aws::String&& value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool = std::move(value); }
237 
242  inline void SetIpv6Pool(const char* value) { m_ipv6PoolHasBeenSet = true; m_ipv6Pool.assign(value); }
243 
248  inline VpcIpv6CidrBlockAssociation& WithIpv6Pool(const Aws::String& value) { SetIpv6Pool(value); return *this;}
249 
254  inline VpcIpv6CidrBlockAssociation& WithIpv6Pool(Aws::String&& value) { SetIpv6Pool(std::move(value)); return *this;}
255 
260  inline VpcIpv6CidrBlockAssociation& WithIpv6Pool(const char* value) { SetIpv6Pool(value); return *this;}
261 
262  private:
263 
264  Aws::String m_associationId;
265  bool m_associationIdHasBeenSet;
266 
267  Aws::String m_ipv6CidrBlock;
268  bool m_ipv6CidrBlockHasBeenSet;
269 
270  VpcCidrBlockState m_ipv6CidrBlockState;
271  bool m_ipv6CidrBlockStateHasBeenSet;
272 
273  Aws::String m_networkBorderGroup;
274  bool m_networkBorderGroupHasBeenSet;
275 
276  Aws::String m_ipv6Pool;
277  bool m_ipv6PoolHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace EC2
282 } // namespace Aws
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::GetIpv6CidrBlock
const Aws::String & GetIpv6CidrBlock() const
Definition: VpcIpv6CidrBlockAssociation.h:88
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithIpv6CidrBlock
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlock(const Aws::String &value)
Definition: VpcIpv6CidrBlockAssociation.h:113
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithIpv6Pool
VpcIpv6CidrBlockAssociation & WithIpv6Pool(const Aws::String &value)
Definition: VpcIpv6CidrBlockAssociation.h:248
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetNetworkBorderGroup
void SetNetworkBorderGroup(const Aws::String &value)
Definition: VpcIpv6CidrBlockAssociation.h:176
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetIpv6Pool
void SetIpv6Pool(Aws::String &&value)
Definition: VpcIpv6CidrBlockAssociation.h:236
VpcCidrBlockState.h
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetIpv6CidrBlock
void SetIpv6CidrBlock(const char *value)
Definition: VpcIpv6CidrBlockAssociation.h:108
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::NetworkBorderGroupHasBeenSet
bool NetworkBorderGroupHasBeenSet() const
Definition: VpcIpv6CidrBlockAssociation.h:169
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithNetworkBorderGroup
VpcIpv6CidrBlockAssociation & WithNetworkBorderGroup(const char *value)
Definition: VpcIpv6CidrBlockAssociation.h:211
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::AssociationIdHasBeenSet
bool AssociationIdHasBeenSet() const
Definition: VpcIpv6CidrBlockAssociation.h:52
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetIpv6Pool
void SetIpv6Pool(const Aws::String &value)
Definition: VpcIpv6CidrBlockAssociation.h:230
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithIpv6Pool
VpcIpv6CidrBlockAssociation & WithIpv6Pool(Aws::String &&value)
Definition: VpcIpv6CidrBlockAssociation.h:254
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetNetworkBorderGroup
void SetNetworkBorderGroup(const char *value)
Definition: VpcIpv6CidrBlockAssociation.h:190
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetNetworkBorderGroup
void SetNetworkBorderGroup(Aws::String &&value)
Definition: VpcIpv6CidrBlockAssociation.h:183
AWSStreamFwd.h
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithIpv6CidrBlockState
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlockState(VpcCidrBlockState &&value)
Definition: VpcIpv6CidrBlockAssociation.h:154
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithAssociationId
VpcIpv6CidrBlockAssociation & WithAssociationId(Aws::String &&value)
Definition: VpcIpv6CidrBlockAssociation.h:77
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::VpcIpv6CidrBlockAssociation
VpcIpv6CidrBlockAssociation()
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::operator=
VpcIpv6CidrBlockAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithIpv6CidrBlock
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlock(Aws::String &&value)
Definition: VpcIpv6CidrBlockAssociation.h:118
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: VpcIpv6CidrBlockAssociation.h:57
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithNetworkBorderGroup
VpcIpv6CidrBlockAssociation & WithNetworkBorderGroup(const Aws::String &value)
Definition: VpcIpv6CidrBlockAssociation.h:197
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::GetIpv6Pool
const Aws::String & GetIpv6Pool() const
Definition: VpcIpv6CidrBlockAssociation.h:218
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetAssociationId
void SetAssociationId(const char *value)
Definition: VpcIpv6CidrBlockAssociation.h:67
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: VpcIpv6CidrBlockAssociation.h:47
Aws::EC2::Model::VpcIpv6CidrBlockAssociation
Definition: VpcIpv6CidrBlockAssociation.h:34
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithIpv6CidrBlock
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlock(const char *value)
Definition: VpcIpv6CidrBlockAssociation.h:123
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetIpv6CidrBlockState
void SetIpv6CidrBlockState(VpcCidrBlockState &&value)
Definition: VpcIpv6CidrBlockAssociation.h:144
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::Ipv6CidrBlockHasBeenSet
bool Ipv6CidrBlockHasBeenSet() const
Definition: VpcIpv6CidrBlockAssociation.h:93
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: VpcIpv6CidrBlockAssociation.h:62
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::VpcIpv6CidrBlockAssociation
VpcIpv6CidrBlockAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithAssociationId
VpcIpv6CidrBlockAssociation & WithAssociationId(const char *value)
Definition: VpcIpv6CidrBlockAssociation.h:82
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithAssociationId
VpcIpv6CidrBlockAssociation & WithAssociationId(const Aws::String &value)
Definition: VpcIpv6CidrBlockAssociation.h:72
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::Ipv6PoolHasBeenSet
bool Ipv6PoolHasBeenSet() const
Definition: VpcIpv6CidrBlockAssociation.h:224
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetIpv6CidrBlock
void SetIpv6CidrBlock(Aws::String &&value)
Definition: VpcIpv6CidrBlockAssociation.h:103
Aws::EC2::Model::VpcCidrBlockState
Definition: VpcCidrBlockState.h:33
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetIpv6Pool
void SetIpv6Pool(const char *value)
Definition: VpcIpv6CidrBlockAssociation.h:242
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithNetworkBorderGroup
VpcIpv6CidrBlockAssociation & WithNetworkBorderGroup(Aws::String &&value)
Definition: VpcIpv6CidrBlockAssociation.h:204
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::GetIpv6CidrBlockState
const VpcCidrBlockState & GetIpv6CidrBlockState() const
Definition: VpcIpv6CidrBlockAssociation.h:129
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::Ipv6CidrBlockStateHasBeenSet
bool Ipv6CidrBlockStateHasBeenSet() const
Definition: VpcIpv6CidrBlockAssociation.h:134
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithIpv6CidrBlockState
VpcIpv6CidrBlockAssociation & WithIpv6CidrBlockState(const VpcCidrBlockState &value)
Definition: VpcIpv6CidrBlockAssociation.h:149
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::WithIpv6Pool
VpcIpv6CidrBlockAssociation & WithIpv6Pool(const char *value)
Definition: VpcIpv6CidrBlockAssociation.h:260
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetIpv6CidrBlock
void SetIpv6CidrBlock(const Aws::String &value)
Definition: VpcIpv6CidrBlockAssociation.h:98
EC2_EXPORTS.h
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::SetIpv6CidrBlockState
void SetIpv6CidrBlockState(const VpcCidrBlockState &value)
Definition: VpcIpv6CidrBlockAssociation.h:139
Aws::EC2::Model::VpcIpv6CidrBlockAssociation::GetNetworkBorderGroup
const Aws::String & GetNetworkBorderGroup() const
Definition: VpcIpv6CidrBlockAssociation.h:162