AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DisassociateVpcCidrBlockResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/VpcIpv6CidrBlockAssociation.h>
9#include <aws/ec2/model/VpcCidrBlockAssociation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_EC2_API DisassociateVpcCidrBlockResponse() = default;
36
37
39
42 inline const VpcIpv6CidrBlockAssociation& GetIpv6CidrBlockAssociation() const { return m_ipv6CidrBlockAssociation; }
43 template<typename Ipv6CidrBlockAssociationT = VpcIpv6CidrBlockAssociation>
44 void SetIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT&& value) { m_ipv6CidrBlockAssociationHasBeenSet = true; m_ipv6CidrBlockAssociation = std::forward<Ipv6CidrBlockAssociationT>(value); }
45 template<typename Ipv6CidrBlockAssociationT = VpcIpv6CidrBlockAssociation>
46 DisassociateVpcCidrBlockResponse& WithIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT&& value) { SetIpv6CidrBlockAssociation(std::forward<Ipv6CidrBlockAssociationT>(value)); return *this;}
48
50
53 inline const VpcCidrBlockAssociation& GetCidrBlockAssociation() const { return m_cidrBlockAssociation; }
54 template<typename CidrBlockAssociationT = VpcCidrBlockAssociation>
55 void SetCidrBlockAssociation(CidrBlockAssociationT&& value) { m_cidrBlockAssociationHasBeenSet = true; m_cidrBlockAssociation = std::forward<CidrBlockAssociationT>(value); }
56 template<typename CidrBlockAssociationT = VpcCidrBlockAssociation>
57 DisassociateVpcCidrBlockResponse& WithCidrBlockAssociation(CidrBlockAssociationT&& value) { SetCidrBlockAssociation(std::forward<CidrBlockAssociationT>(value)); return *this;}
59
61
64 inline const Aws::String& GetVpcId() const { return m_vpcId; }
65 template<typename VpcIdT = Aws::String>
66 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
67 template<typename VpcIdT = Aws::String>
68 DisassociateVpcCidrBlockResponse& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
74 template<typename ResponseMetadataT = ResponseMetadata>
75 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
76 template<typename ResponseMetadataT = ResponseMetadata>
77 DisassociateVpcCidrBlockResponse& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
79 private:
80
81 VpcIpv6CidrBlockAssociation m_ipv6CidrBlockAssociation;
82 bool m_ipv6CidrBlockAssociationHasBeenSet = false;
83
84 VpcCidrBlockAssociation m_cidrBlockAssociation;
85 bool m_cidrBlockAssociationHasBeenSet = false;
86
87 Aws::String m_vpcId;
88 bool m_vpcIdHasBeenSet = false;
89
90 ResponseMetadata m_responseMetadata;
91 bool m_responseMetadataHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace EC2
96} // 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