AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubnetIpv6CidrBlockAssociation.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/SubnetCidrBlockState.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); }
56 inline SubnetIpv6CidrBlockAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
57 inline SubnetIpv6CidrBlockAssociation& 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); }
70 inline SubnetIpv6CidrBlockAssociation& WithIpv6CidrBlock(Aws::String&& value) { SetIpv6CidrBlock(std::move(value)); return *this;}
71 inline SubnetIpv6CidrBlockAssociation& WithIpv6CidrBlock(const char* value) { SetIpv6CidrBlock(value); return *this;}
73
75
78 inline const SubnetCidrBlockState& GetIpv6CidrBlockState() const{ return m_ipv6CidrBlockState; }
79 inline bool Ipv6CidrBlockStateHasBeenSet() const { return m_ipv6CidrBlockStateHasBeenSet; }
80 inline void SetIpv6CidrBlockState(const SubnetCidrBlockState& value) { m_ipv6CidrBlockStateHasBeenSet = true; m_ipv6CidrBlockState = value; }
81 inline void SetIpv6CidrBlockState(SubnetCidrBlockState&& value) { m_ipv6CidrBlockStateHasBeenSet = true; m_ipv6CidrBlockState = std::move(value); }
85
87
92 inline const Ipv6AddressAttribute& GetIpv6AddressAttribute() const{ return m_ipv6AddressAttribute; }
93 inline bool Ipv6AddressAttributeHasBeenSet() const { return m_ipv6AddressAttributeHasBeenSet; }
94 inline void SetIpv6AddressAttribute(const Ipv6AddressAttribute& value) { m_ipv6AddressAttributeHasBeenSet = true; m_ipv6AddressAttribute = value; }
95 inline void SetIpv6AddressAttribute(Ipv6AddressAttribute&& value) { m_ipv6AddressAttributeHasBeenSet = true; m_ipv6AddressAttribute = std::move(value); }
99
101
107 inline const IpSource& GetIpSource() const{ return m_ipSource; }
108 inline bool IpSourceHasBeenSet() const { return m_ipSourceHasBeenSet; }
109 inline void SetIpSource(const IpSource& value) { m_ipSourceHasBeenSet = true; m_ipSource = value; }
110 inline void SetIpSource(IpSource&& value) { m_ipSourceHasBeenSet = true; m_ipSource = std::move(value); }
111 inline SubnetIpv6CidrBlockAssociation& WithIpSource(const IpSource& value) { SetIpSource(value); return *this;}
112 inline SubnetIpv6CidrBlockAssociation& WithIpSource(IpSource&& value) { SetIpSource(std::move(value)); return *this;}
114 private:
115
116 Aws::String m_associationId;
117 bool m_associationIdHasBeenSet = false;
118
119 Aws::String m_ipv6CidrBlock;
120 bool m_ipv6CidrBlockHasBeenSet = false;
121
122 SubnetCidrBlockState m_ipv6CidrBlockState;
123 bool m_ipv6CidrBlockStateHasBeenSet = false;
124
125 Ipv6AddressAttribute m_ipv6AddressAttribute;
126 bool m_ipv6AddressAttributeHasBeenSet = false;
127
128 IpSource m_ipSource;
129 bool m_ipSourceHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace EC2
134} // namespace Aws
SubnetIpv6CidrBlockAssociation & WithAssociationId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlockState(SubnetCidrBlockState &&value)
SubnetIpv6CidrBlockAssociation & WithAssociationId(const Aws::String &value)
SubnetIpv6CidrBlockAssociation & WithIpSource(const IpSource &value)
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlock(Aws::String &&value)
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlock(const char *value)
SubnetIpv6CidrBlockAssociation & WithIpv6AddressAttribute(Ipv6AddressAttribute &&value)
void SetIpv6CidrBlockState(const SubnetCidrBlockState &value)
SubnetIpv6CidrBlockAssociation & WithIpv6AddressAttribute(const Ipv6AddressAttribute &value)
SubnetIpv6CidrBlockAssociation & WithAssociationId(const char *value)
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlock(const Aws::String &value)
AWS_EC2_API SubnetIpv6CidrBlockAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API SubnetIpv6CidrBlockAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIpv6AddressAttribute(const Ipv6AddressAttribute &value)
SubnetIpv6CidrBlockAssociation & WithIpv6CidrBlockState(const SubnetCidrBlockState &value)
SubnetIpv6CidrBlockAssociation & WithIpSource(IpSource &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream