AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVpnGatewaysResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <aws/ec2/model/VpnGateway.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
35 {
36 public:
40
41
43
46 inline const Aws::Vector<VpnGateway>& GetVpnGateways() const{ return m_vpnGateways; }
47 inline void SetVpnGateways(const Aws::Vector<VpnGateway>& value) { m_vpnGateways = value; }
48 inline void SetVpnGateways(Aws::Vector<VpnGateway>&& value) { m_vpnGateways = std::move(value); }
50 inline DescribeVpnGatewaysResponse& WithVpnGateways(Aws::Vector<VpnGateway>&& value) { SetVpnGateways(std::move(value)); return *this;}
51 inline DescribeVpnGatewaysResponse& AddVpnGateways(const VpnGateway& value) { m_vpnGateways.push_back(value); return *this; }
52 inline DescribeVpnGatewaysResponse& AddVpnGateways(VpnGateway&& value) { m_vpnGateways.push_back(std::move(value)); return *this; }
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
58 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
61 inline DescribeVpnGatewaysResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
63 private:
64
65 Aws::Vector<VpnGateway> m_vpnGateways;
66
67 ResponseMetadata m_responseMetadata;
68 };
69
70} // namespace Model
71} // namespace EC2
72} // namespace Aws
DescribeVpnGatewaysResponse & AddVpnGateways(VpnGateway &&value)
void SetVpnGateways(Aws::Vector< VpnGateway > &&value)
AWS_EC2_API DescribeVpnGatewaysResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeVpnGatewaysResponse & AddVpnGateways(const VpnGateway &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetVpnGateways(const Aws::Vector< VpnGateway > &value)
DescribeVpnGatewaysResponse & WithResponseMetadata(const ResponseMetadata &value)
DescribeVpnGatewaysResponse & WithVpnGateways(const Aws::Vector< VpnGateway > &value)
DescribeVpnGatewaysResponse & WithVpnGateways(Aws::Vector< VpnGateway > &&value)
AWS_EC2_API DescribeVpnGatewaysResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< VpnGateway > & GetVpnGateways() const
DescribeVpnGatewaysResponse & WithResponseMetadata(ResponseMetadata &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument