AWS SDK for C++  1.9.68
AWS SDK for C++
SubnetIpv6CidrBlockAssociation.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 SubnetIpv6CidrBlockAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
73 
77  inline SubnetIpv6CidrBlockAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
78 
82  inline SubnetIpv6CidrBlockAssociation& 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 SubnetIpv6CidrBlockAssociation& WithIpv6CidrBlock(const Aws::String& value) { SetIpv6CidrBlock(value); return *this;}
114 
118  inline SubnetIpv6CidrBlockAssociation& WithIpv6CidrBlock(Aws::String&& value) { SetIpv6CidrBlock(std::move(value)); return *this;}
119 
123  inline SubnetIpv6CidrBlockAssociation& WithIpv6CidrBlock(const char* value) { SetIpv6CidrBlock(value); return *this;}
124 
125 
129  inline const SubnetCidrBlockState& GetIpv6CidrBlockState() const{ return m_ipv6CidrBlockState; }
130 
134  inline bool Ipv6CidrBlockStateHasBeenSet() const { return m_ipv6CidrBlockStateHasBeenSet; }
135 
139  inline void SetIpv6CidrBlockState(const SubnetCidrBlockState& value) { m_ipv6CidrBlockStateHasBeenSet = true; m_ipv6CidrBlockState = value; }
140 
144  inline void SetIpv6CidrBlockState(SubnetCidrBlockState&& value) { m_ipv6CidrBlockStateHasBeenSet = true; m_ipv6CidrBlockState = std::move(value); }
145 
149  inline SubnetIpv6CidrBlockAssociation& WithIpv6CidrBlockState(const SubnetCidrBlockState& value) { SetIpv6CidrBlockState(value); return *this;}
150 
154  inline SubnetIpv6CidrBlockAssociation& WithIpv6CidrBlockState(SubnetCidrBlockState&& value) { SetIpv6CidrBlockState(std::move(value)); return *this;}
155 
156  private:
157 
158  Aws::String m_associationId;
159  bool m_associationIdHasBeenSet;
160 
161  Aws::String m_ipv6CidrBlock;
162  bool m_ipv6CidrBlockHasBeenSet;
163 
164  SubnetCidrBlockState m_ipv6CidrBlockState;
165  bool m_ipv6CidrBlockStateHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace EC2
170 } // namespace Aws
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::Ipv6CidrBlockStateHasBeenSet
bool Ipv6CidrBlockStateHasBeenSet() const
Definition: SubnetIpv6CidrBlockAssociation.h:134
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SetIpv6CidrBlock
void SetIpv6CidrBlock(const char *value)
Definition: SubnetIpv6CidrBlockAssociation.h:108
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: SubnetIpv6CidrBlockAssociation.h:47
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation
Definition: SubnetIpv6CidrBlockAssociation.h:34
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: SubnetIpv6CidrBlockAssociation.h:62
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::WithIpv6CidrBlock
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlock(Aws::String &&value)
Definition: SubnetIpv6CidrBlockAssociation.h:118
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::WithIpv6CidrBlockState
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlockState(const SubnetCidrBlockState &value)
Definition: SubnetIpv6CidrBlockAssociation.h:149
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SetAssociationId
void SetAssociationId(const char *value)
Definition: SubnetIpv6CidrBlockAssociation.h:67
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SubnetIpv6CidrBlockAssociation
SubnetIpv6CidrBlockAssociation()
Aws::EC2::Model::SubnetCidrBlockState
Definition: SubnetCidrBlockState.h:33
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::Ipv6CidrBlockHasBeenSet
bool Ipv6CidrBlockHasBeenSet() const
Definition: SubnetIpv6CidrBlockAssociation.h:93
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::WithIpv6CidrBlock
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlock(const Aws::String &value)
Definition: SubnetIpv6CidrBlockAssociation.h:113
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SetIpv6CidrBlock
void SetIpv6CidrBlock(Aws::String &&value)
Definition: SubnetIpv6CidrBlockAssociation.h:103
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
SubnetCidrBlockState.h
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::WithIpv6CidrBlockState
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlockState(SubnetCidrBlockState &&value)
Definition: SubnetIpv6CidrBlockAssociation.h:154
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::WithAssociationId
SubnetIpv6CidrBlockAssociation & WithAssociationId(const char *value)
Definition: SubnetIpv6CidrBlockAssociation.h:82
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SetIpv6CidrBlockState
void SetIpv6CidrBlockState(const SubnetCidrBlockState &value)
Definition: SubnetIpv6CidrBlockAssociation.h:139
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::GetIpv6CidrBlockState
const SubnetCidrBlockState & GetIpv6CidrBlockState() const
Definition: SubnetIpv6CidrBlockAssociation.h:129
AWSString.h
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SubnetIpv6CidrBlockAssociation
SubnetIpv6CidrBlockAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SetIpv6CidrBlockState
void SetIpv6CidrBlockState(SubnetCidrBlockState &&value)
Definition: SubnetIpv6CidrBlockAssociation.h:144
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SetIpv6CidrBlock
void SetIpv6CidrBlock(const Aws::String &value)
Definition: SubnetIpv6CidrBlockAssociation.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: SubnetIpv6CidrBlockAssociation.h:57
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::WithAssociationId
SubnetIpv6CidrBlockAssociation & WithAssociationId(const Aws::String &value)
Definition: SubnetIpv6CidrBlockAssociation.h:72
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::GetIpv6CidrBlock
const Aws::String & GetIpv6CidrBlock() const
Definition: SubnetIpv6CidrBlockAssociation.h:88
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::WithIpv6CidrBlock
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlock(const char *value)
Definition: SubnetIpv6CidrBlockAssociation.h:123
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::WithAssociationId
SubnetIpv6CidrBlockAssociation & WithAssociationId(Aws::String &&value)
Definition: SubnetIpv6CidrBlockAssociation.h:77
EC2_EXPORTS.h
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::AssociationIdHasBeenSet
bool AssociationIdHasBeenSet() const
Definition: SubnetIpv6CidrBlockAssociation.h:52
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation::operator=
SubnetIpv6CidrBlockAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)