AWS SDK for C++  1.9.71
AWS SDK for C++
DisassociateSubnetCidrBlockResponse.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 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const SubnetIpv6CidrBlockAssociation& GetIpv6CidrBlockAssociation() const{ return m_ipv6CidrBlockAssociation; }
41 
45  inline void SetIpv6CidrBlockAssociation(const SubnetIpv6CidrBlockAssociation& value) { m_ipv6CidrBlockAssociation = value; }
46 
50  inline void SetIpv6CidrBlockAssociation(SubnetIpv6CidrBlockAssociation&& value) { m_ipv6CidrBlockAssociation = std::move(value); }
51 
55  inline DisassociateSubnetCidrBlockResponse& WithIpv6CidrBlockAssociation(const SubnetIpv6CidrBlockAssociation& value) { SetIpv6CidrBlockAssociation(value); return *this;}
56 
60  inline DisassociateSubnetCidrBlockResponse& WithIpv6CidrBlockAssociation(SubnetIpv6CidrBlockAssociation&& value) { SetIpv6CidrBlockAssociation(std::move(value)); return *this;}
61 
62 
66  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
67 
71  inline void SetSubnetId(const Aws::String& value) { m_subnetId = value; }
72 
76  inline void SetSubnetId(Aws::String&& value) { m_subnetId = std::move(value); }
77 
81  inline void SetSubnetId(const char* value) { m_subnetId.assign(value); }
82 
86  inline DisassociateSubnetCidrBlockResponse& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
87 
91  inline DisassociateSubnetCidrBlockResponse& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
92 
96  inline DisassociateSubnetCidrBlockResponse& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
97 
98 
99 
100  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
101 
102 
103  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
104 
105 
106  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
107 
108 
109  inline DisassociateSubnetCidrBlockResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
110 
111 
112  inline DisassociateSubnetCidrBlockResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
113 
114  private:
115 
116  SubnetIpv6CidrBlockAssociation m_ipv6CidrBlockAssociation;
117 
118  Aws::String m_subnetId;
119 
120  ResponseMetadata m_responseMetadata;
121  };
122 
123 } // namespace Model
124 } // namespace EC2
125 } // namespace Aws
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse
Definition: DisassociateSubnetCidrBlockResponse.h:30
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DisassociateSubnetCidrBlockResponse.h:100
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::SubnetIpv6CidrBlockAssociation
Definition: SubnetIpv6CidrBlockAssociation.h:34
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: DisassociateSubnetCidrBlockResponse.h:71
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::SetSubnetId
void SetSubnetId(const char *value)
Definition: DisassociateSubnetCidrBlockResponse.h:81
SubnetIpv6CidrBlockAssociation.h
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::WithIpv6CidrBlockAssociation
DisassociateSubnetCidrBlockResponse & WithIpv6CidrBlockAssociation(SubnetIpv6CidrBlockAssociation &&value)
Definition: DisassociateSubnetCidrBlockResponse.h:60
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::WithSubnetId
DisassociateSubnetCidrBlockResponse & WithSubnetId(const Aws::String &value)
Definition: DisassociateSubnetCidrBlockResponse.h:86
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::WithIpv6CidrBlockAssociation
DisassociateSubnetCidrBlockResponse & WithIpv6CidrBlockAssociation(const SubnetIpv6CidrBlockAssociation &value)
Definition: DisassociateSubnetCidrBlockResponse.h:55
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::SetIpv6CidrBlockAssociation
void SetIpv6CidrBlockAssociation(const SubnetIpv6CidrBlockAssociation &value)
Definition: DisassociateSubnetCidrBlockResponse.h:45
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::WithSubnetId
DisassociateSubnetCidrBlockResponse & WithSubnetId(const char *value)
Definition: DisassociateSubnetCidrBlockResponse.h:96
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::SetIpv6CidrBlockAssociation
void SetIpv6CidrBlockAssociation(SubnetIpv6CidrBlockAssociation &&value)
Definition: DisassociateSubnetCidrBlockResponse.h:50
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::DisassociateSubnetCidrBlockResponse
DisassociateSubnetCidrBlockResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::GetIpv6CidrBlockAssociation
const SubnetIpv6CidrBlockAssociation & GetIpv6CidrBlockAssociation() const
Definition: DisassociateSubnetCidrBlockResponse.h:40
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DisassociateSubnetCidrBlockResponse.h:106
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DisassociateSubnetCidrBlockResponse.h:103
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: DisassociateSubnetCidrBlockResponse.h:66
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::WithSubnetId
DisassociateSubnetCidrBlockResponse & WithSubnetId(Aws::String &&value)
Definition: DisassociateSubnetCidrBlockResponse.h:91
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::WithResponseMetadata
DisassociateSubnetCidrBlockResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DisassociateSubnetCidrBlockResponse.h:112
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::DisassociateSubnetCidrBlockResponse
DisassociateSubnetCidrBlockResponse()
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::operator=
DisassociateSubnetCidrBlockResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: DisassociateSubnetCidrBlockResponse.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DisassociateSubnetCidrBlockResponse::WithResponseMetadata
DisassociateSubnetCidrBlockResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DisassociateSubnetCidrBlockResponse.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
EC2_EXPORTS.h