AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DisassociateVpcCidrBlockResponse.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/VpcCidrBlockAssociation.h>
12#include <aws/ec2/model/VpcIpv6CidrBlockAssociation.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2 {
26namespace Model {
28 public:
29 AWS_EC2_API DisassociateVpcCidrBlockResponse() = default;
32
34
37 inline const VpcIpv6CidrBlockAssociation& GetIpv6CidrBlockAssociation() const { return m_ipv6CidrBlockAssociation; }
38 template <typename Ipv6CidrBlockAssociationT = VpcIpv6CidrBlockAssociation>
39 void SetIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT&& value) {
40 m_ipv6CidrBlockAssociationHasBeenSet = true;
41 m_ipv6CidrBlockAssociation = std::forward<Ipv6CidrBlockAssociationT>(value);
42 }
43 template <typename Ipv6CidrBlockAssociationT = VpcIpv6CidrBlockAssociation>
45 SetIpv6CidrBlockAssociation(std::forward<Ipv6CidrBlockAssociationT>(value));
46 return *this;
47 }
49
51
54 inline const VpcCidrBlockAssociation& GetCidrBlockAssociation() const { return m_cidrBlockAssociation; }
55 template <typename CidrBlockAssociationT = VpcCidrBlockAssociation>
56 void SetCidrBlockAssociation(CidrBlockAssociationT&& value) {
57 m_cidrBlockAssociationHasBeenSet = true;
58 m_cidrBlockAssociation = std::forward<CidrBlockAssociationT>(value);
59 }
60 template <typename CidrBlockAssociationT = VpcCidrBlockAssociation>
62 SetCidrBlockAssociation(std::forward<CidrBlockAssociationT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetVpcId() const { return m_vpcId; }
72 template <typename VpcIdT = Aws::String>
73 void SetVpcId(VpcIdT&& value) {
74 m_vpcIdHasBeenSet = true;
75 m_vpcId = std::forward<VpcIdT>(value);
76 }
77 template <typename VpcIdT = Aws::String>
79 SetVpcId(std::forward<VpcIdT>(value));
80 return *this;
81 }
83
85
86 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
87 template <typename ResponseMetadataT = ResponseMetadata>
88 void SetResponseMetadata(ResponseMetadataT&& value) {
89 m_responseMetadataHasBeenSet = true;
90 m_responseMetadata = std::forward<ResponseMetadataT>(value);
91 }
92 template <typename ResponseMetadataT = ResponseMetadata>
94 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
95 return *this;
96 }
98 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
99
100 private:
101 VpcIpv6CidrBlockAssociation m_ipv6CidrBlockAssociation;
102
103 VpcCidrBlockAssociation m_cidrBlockAssociation;
104
105 Aws::String m_vpcId;
106
107 ResponseMetadata m_responseMetadata;
108 Aws::Http::HttpResponseCode m_HttpResponseCode;
109 bool m_ipv6CidrBlockAssociationHasBeenSet = false;
110 bool m_cidrBlockAssociationHasBeenSet = false;
111 bool m_vpcIdHasBeenSet = false;
112 bool m_responseMetadataHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace EC2
117} // namespace Aws
const VpcCidrBlockAssociation & GetCidrBlockAssociation() const
AWS_EC2_API DisassociateVpcCidrBlockResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const VpcIpv6CidrBlockAssociation & GetIpv6CidrBlockAssociation() const
DisassociateVpcCidrBlockResponse & WithResponseMetadata(ResponseMetadataT &&value)
DisassociateVpcCidrBlockResponse & WithVpcId(VpcIdT &&value)
AWS_EC2_API DisassociateVpcCidrBlockResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DisassociateVpcCidrBlockResponse & WithIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT &&value)
DisassociateVpcCidrBlockResponse & WithCidrBlockAssociation(CidrBlockAssociationT &&value)
void SetIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument