AWS SDK for C++  1.9.124
AWS SDK for C++
DisassociateVpcCidrBlockResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const VpcIpv6CidrBlockAssociation& GetIpv6CidrBlockAssociation() const{ return m_ipv6CidrBlockAssociation; }
42 
46  inline void SetIpv6CidrBlockAssociation(const VpcIpv6CidrBlockAssociation& value) { m_ipv6CidrBlockAssociation = value; }
47 
51  inline void SetIpv6CidrBlockAssociation(VpcIpv6CidrBlockAssociation&& value) { m_ipv6CidrBlockAssociation = std::move(value); }
52 
56  inline DisassociateVpcCidrBlockResponse& WithIpv6CidrBlockAssociation(const VpcIpv6CidrBlockAssociation& value) { SetIpv6CidrBlockAssociation(value); return *this;}
57 
61  inline DisassociateVpcCidrBlockResponse& WithIpv6CidrBlockAssociation(VpcIpv6CidrBlockAssociation&& value) { SetIpv6CidrBlockAssociation(std::move(value)); return *this;}
62 
63 
67  inline const VpcCidrBlockAssociation& GetCidrBlockAssociation() const{ return m_cidrBlockAssociation; }
68 
72  inline void SetCidrBlockAssociation(const VpcCidrBlockAssociation& value) { m_cidrBlockAssociation = value; }
73 
77  inline void SetCidrBlockAssociation(VpcCidrBlockAssociation&& value) { m_cidrBlockAssociation = std::move(value); }
78 
82  inline DisassociateVpcCidrBlockResponse& WithCidrBlockAssociation(const VpcCidrBlockAssociation& value) { SetCidrBlockAssociation(value); return *this;}
83 
87  inline DisassociateVpcCidrBlockResponse& WithCidrBlockAssociation(VpcCidrBlockAssociation&& value) { SetCidrBlockAssociation(std::move(value)); return *this;}
88 
89 
93  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
94 
98  inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
99 
103  inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); }
104 
108  inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
109 
113  inline DisassociateVpcCidrBlockResponse& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
114 
118  inline DisassociateVpcCidrBlockResponse& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
119 
123  inline DisassociateVpcCidrBlockResponse& WithVpcId(const char* value) { SetVpcId(value); return *this;}
124 
125 
126 
127  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
128 
129 
130  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
131 
132 
133  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
134 
135 
136  inline DisassociateVpcCidrBlockResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
137 
138 
139  inline DisassociateVpcCidrBlockResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
140 
141  private:
142 
143  VpcIpv6CidrBlockAssociation m_ipv6CidrBlockAssociation;
144 
145  VpcCidrBlockAssociation m_cidrBlockAssociation;
146 
147  Aws::String m_vpcId;
148 
149  ResponseMetadata m_responseMetadata;
150  };
151 
152 } // namespace Model
153 } // namespace EC2
154 } // namespace Aws
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetIpv6CidrBlockAssociation
void SetIpv6CidrBlockAssociation(const VpcIpv6CidrBlockAssociation &value)
Definition: DisassociateVpcCidrBlockResponse.h:46
VpcIpv6CidrBlockAssociation.h
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DisassociateVpcCidrBlockResponse.h:127
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithIpv6CidrBlockAssociation
DisassociateVpcCidrBlockResponse & WithIpv6CidrBlockAssociation(VpcIpv6CidrBlockAssociation &&value)
Definition: DisassociateVpcCidrBlockResponse.h:61
Aws::EC2::Model::DisassociateVpcCidrBlockResponse
Definition: DisassociateVpcCidrBlockResponse.h:31
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithVpcId
DisassociateVpcCidrBlockResponse & WithVpcId(const Aws::String &value)
Definition: DisassociateVpcCidrBlockResponse.h:113
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetIpv6CidrBlockAssociation
void SetIpv6CidrBlockAssociation(VpcIpv6CidrBlockAssociation &&value)
Definition: DisassociateVpcCidrBlockResponse.h:51
Aws::EC2::Model::VpcCidrBlockAssociation
Definition: VpcCidrBlockAssociation.h:34
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::operator=
DisassociateVpcCidrBlockResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: DisassociateVpcCidrBlockResponse.h:103
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithIpv6CidrBlockAssociation
DisassociateVpcCidrBlockResponse & WithIpv6CidrBlockAssociation(const VpcIpv6CidrBlockAssociation &value)
Definition: DisassociateVpcCidrBlockResponse.h:56
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::GetIpv6CidrBlockAssociation
const VpcIpv6CidrBlockAssociation & GetIpv6CidrBlockAssociation() const
Definition: DisassociateVpcCidrBlockResponse.h:41
VpcCidrBlockAssociation.h
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetCidrBlockAssociation
void SetCidrBlockAssociation(VpcCidrBlockAssociation &&value)
Definition: DisassociateVpcCidrBlockResponse.h:77
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DisassociateVpcCidrBlockResponse.h:133
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::GetCidrBlockAssociation
const VpcCidrBlockAssociation & GetCidrBlockAssociation() const
Definition: DisassociateVpcCidrBlockResponse.h:67
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: DisassociateVpcCidrBlockResponse.h:98
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetVpcId
void SetVpcId(const char *value)
Definition: DisassociateVpcCidrBlockResponse.h:108
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithResponseMetadata
DisassociateVpcCidrBlockResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DisassociateVpcCidrBlockResponse.h:136
Aws::EC2::Model::VpcIpv6CidrBlockAssociation
Definition: VpcIpv6CidrBlockAssociation.h:34
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::GetVpcId
const Aws::String & GetVpcId() const
Definition: DisassociateVpcCidrBlockResponse.h:93
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetCidrBlockAssociation
void SetCidrBlockAssociation(const VpcCidrBlockAssociation &value)
Definition: DisassociateVpcCidrBlockResponse.h:72
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DisassociateVpcCidrBlockResponse.h:130
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithVpcId
DisassociateVpcCidrBlockResponse & WithVpcId(const char *value)
Definition: DisassociateVpcCidrBlockResponse.h:123
AWSString.h
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithCidrBlockAssociation
DisassociateVpcCidrBlockResponse & WithCidrBlockAssociation(const VpcCidrBlockAssociation &value)
Definition: DisassociateVpcCidrBlockResponse.h:82
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithResponseMetadata
DisassociateVpcCidrBlockResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DisassociateVpcCidrBlockResponse.h:139
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::DisassociateVpcCidrBlockResponse
DisassociateVpcCidrBlockResponse()
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithCidrBlockAssociation
DisassociateVpcCidrBlockResponse & WithCidrBlockAssociation(VpcCidrBlockAssociation &&value)
Definition: DisassociateVpcCidrBlockResponse.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::WithVpcId
DisassociateVpcCidrBlockResponse & WithVpcId(Aws::String &&value)
Definition: DisassociateVpcCidrBlockResponse.h:118
EC2_EXPORTS.h
Aws::EC2::Model::DisassociateVpcCidrBlockResponse::DisassociateVpcCidrBlockResponse
DisassociateVpcCidrBlockResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)