AWS SDK for C++  1.9.125
AWS SDK for C++
ModifyVpnConnectionOptionsResponse.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 {
29  {
30  public:
34 
35 
36 
37  inline const VpnConnection& GetVpnConnection() const{ return m_vpnConnection; }
38 
39 
40  inline void SetVpnConnection(const VpnConnection& value) { m_vpnConnection = value; }
41 
42 
43  inline void SetVpnConnection(VpnConnection&& value) { m_vpnConnection = std::move(value); }
44 
45 
46  inline ModifyVpnConnectionOptionsResponse& WithVpnConnection(const VpnConnection& value) { SetVpnConnection(value); return *this;}
47 
48 
49  inline ModifyVpnConnectionOptionsResponse& WithVpnConnection(VpnConnection&& value) { SetVpnConnection(std::move(value)); return *this;}
50 
51 
52 
53  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 
55 
56  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
57 
58 
59  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
60 
61 
62  inline ModifyVpnConnectionOptionsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
63 
64 
65  inline ModifyVpnConnectionOptionsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
66 
67  private:
68 
69  VpnConnection m_vpnConnection;
70 
71  ResponseMetadata m_responseMetadata;
72  };
73 
74 } // namespace Model
75 } // namespace EC2
76 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::SetVpnConnection
void SetVpnConnection(const VpnConnection &value)
Definition: ModifyVpnConnectionOptionsResponse.h:40
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::GetVpnConnection
const VpnConnection & GetVpnConnection() const
Definition: ModifyVpnConnectionOptionsResponse.h:37
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ModifyVpnConnectionOptionsResponse.h:59
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse
Definition: ModifyVpnConnectionOptionsResponse.h:29
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::ModifyVpnConnectionOptionsResponse
ModifyVpnConnectionOptionsResponse()
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::WithVpnConnection
ModifyVpnConnectionOptionsResponse & WithVpnConnection(const VpnConnection &value)
Definition: ModifyVpnConnectionOptionsResponse.h:46
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ModifyVpnConnectionOptionsResponse.h:56
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::SetVpnConnection
void SetVpnConnection(VpnConnection &&value)
Definition: ModifyVpnConnectionOptionsResponse.h:43
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::WithVpnConnection
ModifyVpnConnectionOptionsResponse & WithVpnConnection(VpnConnection &&value)
Definition: ModifyVpnConnectionOptionsResponse.h:49
VpnConnection.h
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::WithResponseMetadata
ModifyVpnConnectionOptionsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: ModifyVpnConnectionOptionsResponse.h:62
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::ModifyVpnConnectionOptionsResponse
ModifyVpnConnectionOptionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::VpnConnection
Definition: VpnConnection.h:39
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::WithResponseMetadata
ModifyVpnConnectionOptionsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: ModifyVpnConnectionOptionsResponse.h:65
EC2_EXPORTS.h
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::operator=
ModifyVpnConnectionOptionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ModifyVpnConnectionOptionsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ModifyVpnConnectionOptionsResponse.h:53