AWS SDK for C++  1.9.75
AWS SDK for C++
AttachVpnGatewayResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
44  inline const VpcAttachment& GetVpcAttachment() const{ return m_vpcAttachment; }
45 
49  inline void SetVpcAttachment(const VpcAttachment& value) { m_vpcAttachment = value; }
50 
54  inline void SetVpcAttachment(VpcAttachment&& value) { m_vpcAttachment = std::move(value); }
55 
59  inline AttachVpnGatewayResponse& WithVpcAttachment(const VpcAttachment& value) { SetVpcAttachment(value); return *this;}
60 
64  inline AttachVpnGatewayResponse& WithVpcAttachment(VpcAttachment&& value) { SetVpcAttachment(std::move(value)); return *this;}
65 
66 
67 
68  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 
70 
71  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 
73 
74  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
75 
76 
77  inline AttachVpnGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
78 
79 
80  inline AttachVpnGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
81 
82  private:
83 
84  VpcAttachment m_vpcAttachment;
85 
86  ResponseMetadata m_responseMetadata;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::EC2::Model::AttachVpnGatewayResponse::AttachVpnGatewayResponse
AttachVpnGatewayResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
VpcAttachment.h
Aws::EC2::Model::VpcAttachment
Definition: VpcAttachment.h:34
Aws::EC2::Model::AttachVpnGatewayResponse::WithResponseMetadata
AttachVpnGatewayResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: AttachVpnGatewayResponse.h:77
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::AttachVpnGatewayResponse::operator=
AttachVpnGatewayResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AttachVpnGatewayResponse
Definition: AttachVpnGatewayResponse.h:34
Aws::EC2::Model::AttachVpnGatewayResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: AttachVpnGatewayResponse.h:68
Aws::EC2::Model::AttachVpnGatewayResponse::WithResponseMetadata
AttachVpnGatewayResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: AttachVpnGatewayResponse.h:80
Aws::EC2::Model::AttachVpnGatewayResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: AttachVpnGatewayResponse.h:74
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::AttachVpnGatewayResponse::SetVpcAttachment
void SetVpcAttachment(const VpcAttachment &value)
Definition: AttachVpnGatewayResponse.h:49
Aws::EC2::Model::AttachVpnGatewayResponse::WithVpcAttachment
AttachVpnGatewayResponse & WithVpcAttachment(const VpcAttachment &value)
Definition: AttachVpnGatewayResponse.h:59
Aws::EC2::Model::AttachVpnGatewayResponse::WithVpcAttachment
AttachVpnGatewayResponse & WithVpcAttachment(VpcAttachment &&value)
Definition: AttachVpnGatewayResponse.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AttachVpnGatewayResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: AttachVpnGatewayResponse.h:71
Aws::EC2::Model::AttachVpnGatewayResponse::GetVpcAttachment
const VpcAttachment & GetVpcAttachment() const
Definition: AttachVpnGatewayResponse.h:44
Aws::EC2::Model::AttachVpnGatewayResponse::AttachVpnGatewayResponse
AttachVpnGatewayResponse()
EC2_EXPORTS.h
Aws::EC2::Model::AttachVpnGatewayResponse::SetVpcAttachment
void SetVpcAttachment(VpcAttachment &&value)
Definition: AttachVpnGatewayResponse.h:54