AWS SDK for C++  1.9.70
AWS SDK for C++
CreateVpnGatewayResponse.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 VpnGateway& GetVpnGateway() const{ return m_vpnGateway; }
45 
49  inline void SetVpnGateway(const VpnGateway& value) { m_vpnGateway = value; }
50 
54  inline void SetVpnGateway(VpnGateway&& value) { m_vpnGateway = std::move(value); }
55 
59  inline CreateVpnGatewayResponse& WithVpnGateway(const VpnGateway& value) { SetVpnGateway(value); return *this;}
60 
64  inline CreateVpnGatewayResponse& WithVpnGateway(VpnGateway&& value) { SetVpnGateway(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 CreateVpnGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
78 
79 
80  inline CreateVpnGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
81 
82  private:
83 
84  VpnGateway m_vpnGateway;
85 
86  ResponseMetadata m_responseMetadata;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateVpnGatewayResponse::WithVpnGateway
CreateVpnGatewayResponse & WithVpnGateway(VpnGateway &&value)
Definition: CreateVpnGatewayResponse.h:64
VpnGateway.h
Aws::EC2::Model::CreateVpnGatewayResponse::WithVpnGateway
CreateVpnGatewayResponse & WithVpnGateway(const VpnGateway &value)
Definition: CreateVpnGatewayResponse.h:59
Aws::EC2::Model::CreateVpnGatewayResponse::operator=
CreateVpnGatewayResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateVpnGatewayResponse::SetVpnGateway
void SetVpnGateway(VpnGateway &&value)
Definition: CreateVpnGatewayResponse.h:54
Aws::EC2::Model::CreateVpnGatewayResponse::CreateVpnGatewayResponse
CreateVpnGatewayResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateVpnGatewayResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateVpnGatewayResponse.h:68
Aws::EC2::Model::CreateVpnGatewayResponse::GetVpnGateway
const VpnGateway & GetVpnGateway() const
Definition: CreateVpnGatewayResponse.h:44
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateVpnGatewayResponse::WithResponseMetadata
CreateVpnGatewayResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpnGatewayResponse.h:77
Aws::EC2::Model::CreateVpnGatewayResponse::SetVpnGateway
void SetVpnGateway(const VpnGateway &value)
Definition: CreateVpnGatewayResponse.h:49
Aws::EC2::Model::CreateVpnGatewayResponse::CreateVpnGatewayResponse
CreateVpnGatewayResponse()
Aws::EC2::Model::CreateVpnGatewayResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpnGatewayResponse.h:74
Aws::EC2::Model::VpnGateway
Definition: VpnGateway.h:37
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateVpnGatewayResponse
Definition: CreateVpnGatewayResponse.h:34
Aws::EC2::Model::CreateVpnGatewayResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpnGatewayResponse.h:71
Aws::EC2::Model::CreateVpnGatewayResponse::WithResponseMetadata
CreateVpnGatewayResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpnGatewayResponse.h:80
EC2_EXPORTS.h