AWS SDK for C++  1.9.75
AWS SDK for C++
DescribeRouteTablesResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<RouteTable>& GetRouteTables() const{ return m_routeTables; }
47 
51  inline void SetRouteTables(const Aws::Vector<RouteTable>& value) { m_routeTables = value; }
52 
56  inline void SetRouteTables(Aws::Vector<RouteTable>&& value) { m_routeTables = std::move(value); }
57 
61  inline DescribeRouteTablesResponse& WithRouteTables(const Aws::Vector<RouteTable>& value) { SetRouteTables(value); return *this;}
62 
66  inline DescribeRouteTablesResponse& WithRouteTables(Aws::Vector<RouteTable>&& value) { SetRouteTables(std::move(value)); return *this;}
67 
71  inline DescribeRouteTablesResponse& AddRouteTables(const RouteTable& value) { m_routeTables.push_back(value); return *this; }
72 
76  inline DescribeRouteTablesResponse& AddRouteTables(RouteTable&& value) { m_routeTables.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
101  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
102 
107  inline DescribeRouteTablesResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
113  inline DescribeRouteTablesResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
119  inline DescribeRouteTablesResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121 
122 
123  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
124 
125 
126  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
127 
128 
129  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
130 
131 
132  inline DescribeRouteTablesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
133 
134 
135  inline DescribeRouteTablesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
136 
137  private:
138 
139  Aws::Vector<RouteTable> m_routeTables;
140 
141  Aws::String m_nextToken;
142 
143  ResponseMetadata m_responseMetadata;
144  };
145 
146 } // namespace Model
147 } // namespace EC2
148 } // namespace Aws
Aws::EC2::Model::DescribeRouteTablesResponse::SetRouteTables
void SetRouteTables(Aws::Vector< RouteTable > &&value)
Definition: DescribeRouteTablesResponse.h:56
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeRouteTablesResponse::WithResponseMetadata
DescribeRouteTablesResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeRouteTablesResponse.h:132
RouteTable.h
Aws::EC2::Model::DescribeRouteTablesResponse::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeRouteTablesResponse.h:101
Aws::EC2::Model::DescribeRouteTablesResponse::SetRouteTables
void SetRouteTables(const Aws::Vector< RouteTable > &value)
Definition: DescribeRouteTablesResponse.h:51
Aws::EC2::Model::DescribeRouteTablesResponse::operator=
DescribeRouteTablesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeRouteTablesResponse
Definition: DescribeRouteTablesResponse.h:36
Aws::EC2::Model::DescribeRouteTablesResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeRouteTablesResponse.h:89
AWSVector.h
Aws::EC2::Model::DescribeRouteTablesResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeRouteTablesResponse.h:129
Aws::EC2::Model::DescribeRouteTablesResponse::WithRouteTables
DescribeRouteTablesResponse & WithRouteTables(const Aws::Vector< RouteTable > &value)
Definition: DescribeRouteTablesResponse.h:61
Aws::EC2::Model::DescribeRouteTablesResponse::DescribeRouteTablesResponse
DescribeRouteTablesResponse()
Aws::EC2::Model::DescribeRouteTablesResponse::DescribeRouteTablesResponse
DescribeRouteTablesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeRouteTablesResponse::WithResponseMetadata
DescribeRouteTablesResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeRouteTablesResponse.h:135
Aws::EC2::Model::DescribeRouteTablesResponse::WithNextToken
DescribeRouteTablesResponse & WithNextToken(Aws::String &&value)
Definition: DescribeRouteTablesResponse.h:113
Aws::EC2::Model::DescribeRouteTablesResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeRouteTablesResponse.h:126
Aws::EC2::Model::DescribeRouteTablesResponse::WithNextToken
DescribeRouteTablesResponse & WithNextToken(const char *value)
Definition: DescribeRouteTablesResponse.h:119
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DescribeRouteTablesResponse::GetRouteTables
const Aws::Vector< RouteTable > & GetRouteTables() const
Definition: DescribeRouteTablesResponse.h:46
AWSString.h
Aws::EC2::Model::RouteTable
Definition: RouteTable.h:37
Aws::EC2::Model::DescribeRouteTablesResponse::AddRouteTables
DescribeRouteTablesResponse & AddRouteTables(const RouteTable &value)
Definition: DescribeRouteTablesResponse.h:71
Aws::EC2::Model::DescribeRouteTablesResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeRouteTablesResponse.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeRouteTablesResponse::WithNextToken
DescribeRouteTablesResponse & WithNextToken(const Aws::String &value)
Definition: DescribeRouteTablesResponse.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeRouteTablesResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeRouteTablesResponse.h:123
Aws::EC2::Model::DescribeRouteTablesResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeRouteTablesResponse.h:83
EC2_EXPORTS.h
Aws::EC2::Model::DescribeRouteTablesResponse::AddRouteTables
DescribeRouteTablesResponse & AddRouteTables(RouteTable &&value)
Definition: DescribeRouteTablesResponse.h:76
Aws::EC2::Model::DescribeRouteTablesResponse::WithRouteTables
DescribeRouteTablesResponse & WithRouteTables(Aws::Vector< RouteTable > &&value)
Definition: DescribeRouteTablesResponse.h:66