AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVpnGatewayResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/VpnGateway.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
34 {
35 public:
39
40
42
45 inline const VpnGateway& GetVpnGateway() const{ return m_vpnGateway; }
46 inline void SetVpnGateway(const VpnGateway& value) { m_vpnGateway = value; }
47 inline void SetVpnGateway(VpnGateway&& value) { m_vpnGateway = std::move(value); }
48 inline CreateVpnGatewayResponse& WithVpnGateway(const VpnGateway& value) { SetVpnGateway(value); return *this;}
49 inline CreateVpnGatewayResponse& WithVpnGateway(VpnGateway&& value) { SetVpnGateway(std::move(value)); return *this;}
51
53
54 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
55 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
56 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
58 inline CreateVpnGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
60 private:
61
62 VpnGateway m_vpnGateway;
63
64 ResponseMetadata m_responseMetadata;
65 };
66
67} // namespace Model
68} // namespace EC2
69} // namespace Aws
CreateVpnGatewayResponse & WithVpnGateway(VpnGateway &&value)
CreateVpnGatewayResponse & WithResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API CreateVpnGatewayResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API CreateVpnGatewayResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
const ResponseMetadata & GetResponseMetadata() const
CreateVpnGatewayResponse & WithVpnGateway(const VpnGateway &value)
CreateVpnGatewayResponse & WithResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(ResponseMetadata &&value)
Aws::Utils::Xml::XmlDocument XmlDocument