AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeRouteTablesResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/RouteTable.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2 {
25namespace Model {
32 public:
33 AWS_EC2_API DescribeRouteTablesResponse() = default;
36
38
41 inline const Aws::Vector<RouteTable>& GetRouteTables() const { return m_routeTables; }
42 template <typename RouteTablesT = Aws::Vector<RouteTable>>
43 void SetRouteTables(RouteTablesT&& value) {
44 m_routeTablesHasBeenSet = true;
45 m_routeTables = std::forward<RouteTablesT>(value);
46 }
47 template <typename RouteTablesT = Aws::Vector<RouteTable>>
49 SetRouteTables(std::forward<RouteTablesT>(value));
50 return *this;
51 }
52 template <typename RouteTablesT = RouteTable>
54 m_routeTablesHasBeenSet = true;
55 m_routeTables.emplace_back(std::forward<RouteTablesT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 template <typename NextTokenT = Aws::String>
67 void SetNextToken(NextTokenT&& value) {
68 m_nextTokenHasBeenSet = true;
69 m_nextToken = std::forward<NextTokenT>(value);
70 }
71 template <typename NextTokenT = Aws::String>
73 SetNextToken(std::forward<NextTokenT>(value));
74 return *this;
75 }
77
79
80 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
81 template <typename ResponseMetadataT = ResponseMetadata>
82 void SetResponseMetadata(ResponseMetadataT&& value) {
83 m_responseMetadataHasBeenSet = true;
84 m_responseMetadata = std::forward<ResponseMetadataT>(value);
85 }
86 template <typename ResponseMetadataT = ResponseMetadata>
88 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
89 return *this;
90 }
92 private:
93 Aws::Vector<RouteTable> m_routeTables;
94
95 Aws::String m_nextToken;
96
97 ResponseMetadata m_responseMetadata;
98 bool m_routeTablesHasBeenSet = false;
99 bool m_nextTokenHasBeenSet = false;
100 bool m_responseMetadataHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace EC2
105} // namespace Aws
DescribeRouteTablesResponse & AddRouteTables(RouteTablesT &&value)
DescribeRouteTablesResponse & WithRouteTables(RouteTablesT &&value)
const Aws::Vector< RouteTable > & GetRouteTables() const
AWS_EC2_API DescribeRouteTablesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API DescribeRouteTablesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeRouteTablesResponse & WithNextToken(NextTokenT &&value)
DescribeRouteTablesResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API DescribeRouteTablesResponse()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument