AWS SDK for C++  1.9.69
AWS SDK for C++
CreateVpnConnectionResponse.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 VpnConnection& GetVpnConnection() const{ return m_vpnConnection; }
45 
49  inline void SetVpnConnection(const VpnConnection& value) { m_vpnConnection = value; }
50 
54  inline void SetVpnConnection(VpnConnection&& value) { m_vpnConnection = std::move(value); }
55 
59  inline CreateVpnConnectionResponse& WithVpnConnection(const VpnConnection& value) { SetVpnConnection(value); return *this;}
60 
64  inline CreateVpnConnectionResponse& WithVpnConnection(VpnConnection&& value) { SetVpnConnection(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 CreateVpnConnectionResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
78 
79 
80  inline CreateVpnConnectionResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
81 
82  private:
83 
84  VpnConnection m_vpnConnection;
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::CreateVpnConnectionResponse::WithVpnConnection
CreateVpnConnectionResponse & WithVpnConnection(const VpnConnection &value)
Definition: CreateVpnConnectionResponse.h:59
Aws::EC2::Model::CreateVpnConnectionResponse::CreateVpnConnectionResponse
CreateVpnConnectionResponse()
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateVpnConnectionResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpnConnectionResponse.h:74
Aws::EC2::Model::CreateVpnConnectionResponse::SetVpnConnection
void SetVpnConnection(VpnConnection &&value)
Definition: CreateVpnConnectionResponse.h:54
Aws::EC2::Model::CreateVpnConnectionResponse::WithResponseMetadata
CreateVpnConnectionResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpnConnectionResponse.h:77
Aws::EC2::Model::CreateVpnConnectionResponse::GetVpnConnection
const VpnConnection & GetVpnConnection() const
Definition: CreateVpnConnectionResponse.h:44
Aws::EC2::Model::CreateVpnConnectionResponse::WithVpnConnection
CreateVpnConnectionResponse & WithVpnConnection(VpnConnection &&value)
Definition: CreateVpnConnectionResponse.h:64
Aws::EC2::Model::CreateVpnConnectionResponse::WithResponseMetadata
CreateVpnConnectionResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpnConnectionResponse.h:80
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateVpnConnectionResponse::CreateVpnConnectionResponse
CreateVpnConnectionResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateVpnConnectionResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateVpnConnectionResponse.h:68
VpnConnection.h
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateVpnConnectionResponse::operator=
CreateVpnConnectionResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::VpnConnection
Definition: VpnConnection.h:39
EC2_EXPORTS.h
Aws::EC2::Model::CreateVpnConnectionResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpnConnectionResponse.h:71
Aws::EC2::Model::CreateVpnConnectionResponse::SetVpnConnection
void SetVpnConnection(const VpnConnection &value)
Definition: CreateVpnConnectionResponse.h:49
Aws::EC2::Model::CreateVpnConnectionResponse
Definition: CreateVpnConnectionResponse.h:34