AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AssociateVpcCidrBlockResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <aws/ec2/model/VpcCidrBlockAssociation.h>
11#include <aws/ec2/model/VpcIpv6CidrBlockAssociation.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2 {
25namespace Model {
27 public:
28 AWS_EC2_API AssociateVpcCidrBlockResponse() = default;
31
33
36 inline const VpcIpv6CidrBlockAssociation& GetIpv6CidrBlockAssociation() const { return m_ipv6CidrBlockAssociation; }
37 template <typename Ipv6CidrBlockAssociationT = VpcIpv6CidrBlockAssociation>
38 void SetIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT&& value) {
39 m_ipv6CidrBlockAssociationHasBeenSet = true;
40 m_ipv6CidrBlockAssociation = std::forward<Ipv6CidrBlockAssociationT>(value);
41 }
42 template <typename Ipv6CidrBlockAssociationT = VpcIpv6CidrBlockAssociation>
43 AssociateVpcCidrBlockResponse& WithIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT&& value) {
44 SetIpv6CidrBlockAssociation(std::forward<Ipv6CidrBlockAssociationT>(value));
45 return *this;
46 }
48
50
53 inline const VpcCidrBlockAssociation& GetCidrBlockAssociation() const { return m_cidrBlockAssociation; }
54 template <typename CidrBlockAssociationT = VpcCidrBlockAssociation>
55 void SetCidrBlockAssociation(CidrBlockAssociationT&& value) {
56 m_cidrBlockAssociationHasBeenSet = true;
57 m_cidrBlockAssociation = std::forward<CidrBlockAssociationT>(value);
58 }
59 template <typename CidrBlockAssociationT = VpcCidrBlockAssociation>
61 SetCidrBlockAssociation(std::forward<CidrBlockAssociationT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetVpcId() const { return m_vpcId; }
71 template <typename VpcIdT = Aws::String>
72 void SetVpcId(VpcIdT&& value) {
73 m_vpcIdHasBeenSet = true;
74 m_vpcId = std::forward<VpcIdT>(value);
75 }
76 template <typename VpcIdT = Aws::String>
78 SetVpcId(std::forward<VpcIdT>(value));
79 return *this;
80 }
82
84
85 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
86 template <typename ResponseMetadataT = ResponseMetadata>
87 void SetResponseMetadata(ResponseMetadataT&& value) {
88 m_responseMetadataHasBeenSet = true;
89 m_responseMetadata = std::forward<ResponseMetadataT>(value);
90 }
91 template <typename ResponseMetadataT = ResponseMetadata>
93 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
94 return *this;
95 }
97 private:
98 VpcIpv6CidrBlockAssociation m_ipv6CidrBlockAssociation;
99
100 VpcCidrBlockAssociation m_cidrBlockAssociation;
101
102 Aws::String m_vpcId;
103
104 ResponseMetadata m_responseMetadata;
105 bool m_ipv6CidrBlockAssociationHasBeenSet = false;
106 bool m_cidrBlockAssociationHasBeenSet = false;
107 bool m_vpcIdHasBeenSet = false;
108 bool m_responseMetadataHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace EC2
113} // namespace Aws
AWS_EC2_API AssociateVpcCidrBlockResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssociateVpcCidrBlockResponse & WithIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT &&value)
AWS_EC2_API AssociateVpcCidrBlockResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssociateVpcCidrBlockResponse & WithResponseMetadata(ResponseMetadataT &&value)
void SetCidrBlockAssociation(CidrBlockAssociationT &&value)
AssociateVpcCidrBlockResponse & WithVpcId(VpcIdT &&value)
const VpcCidrBlockAssociation & GetCidrBlockAssociation() const
AssociateVpcCidrBlockResponse & WithCidrBlockAssociation(CidrBlockAssociationT &&value)
const VpcIpv6CidrBlockAssociation & GetIpv6CidrBlockAssociation() const
void SetIpv6CidrBlockAssociation(Ipv6CidrBlockAssociationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument