AWS SDK for C++  1.9.67
AWS SDK for C++
DescribeTransitGatewayRouteTablesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
11 #include <aws/ec2/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace EC2
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeTransitGatewayRouteTables"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
44  inline const Aws::Vector<Aws::String>& GetTransitGatewayRouteTableIds() const{ return m_transitGatewayRouteTableIds; }
45 
49  inline bool TransitGatewayRouteTableIdsHasBeenSet() const { return m_transitGatewayRouteTableIdsHasBeenSet; }
50 
54  inline void SetTransitGatewayRouteTableIds(const Aws::Vector<Aws::String>& value) { m_transitGatewayRouteTableIdsHasBeenSet = true; m_transitGatewayRouteTableIds = value; }
55 
59  inline void SetTransitGatewayRouteTableIds(Aws::Vector<Aws::String>&& value) { m_transitGatewayRouteTableIdsHasBeenSet = true; m_transitGatewayRouteTableIds = std::move(value); }
60 
64  inline DescribeTransitGatewayRouteTablesRequest& WithTransitGatewayRouteTableIds(const Aws::Vector<Aws::String>& value) { SetTransitGatewayRouteTableIds(value); return *this;}
65 
69  inline DescribeTransitGatewayRouteTablesRequest& WithTransitGatewayRouteTableIds(Aws::Vector<Aws::String>&& value) { SetTransitGatewayRouteTableIds(std::move(value)); return *this;}
70 
74  inline DescribeTransitGatewayRouteTablesRequest& AddTransitGatewayRouteTableIds(const Aws::String& value) { m_transitGatewayRouteTableIdsHasBeenSet = true; m_transitGatewayRouteTableIds.push_back(value); return *this; }
75 
79  inline DescribeTransitGatewayRouteTablesRequest& AddTransitGatewayRouteTableIds(Aws::String&& value) { m_transitGatewayRouteTableIdsHasBeenSet = true; m_transitGatewayRouteTableIds.push_back(std::move(value)); return *this; }
80 
84  inline DescribeTransitGatewayRouteTablesRequest& AddTransitGatewayRouteTableIds(const char* value) { m_transitGatewayRouteTableIdsHasBeenSet = true; m_transitGatewayRouteTableIds.push_back(value); return *this; }
85 
86 
101  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
102 
117  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
118 
133  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
134 
149  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
150 
165  inline DescribeTransitGatewayRouteTablesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
166 
181  inline DescribeTransitGatewayRouteTablesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
182 
197  inline DescribeTransitGatewayRouteTablesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
198 
213  inline DescribeTransitGatewayRouteTablesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
214 
215 
221  inline int GetMaxResults() const{ return m_maxResults; }
222 
228  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
229 
235  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
236 
242  inline DescribeTransitGatewayRouteTablesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
243 
244 
248  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
249 
253  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
254 
258  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
259 
263  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
264 
268  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
269 
273  inline DescribeTransitGatewayRouteTablesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
274 
278  inline DescribeTransitGatewayRouteTablesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
279 
283  inline DescribeTransitGatewayRouteTablesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
284 
285 
292  inline bool GetDryRun() const{ return m_dryRun; }
293 
300  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
301 
308  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
309 
316  inline DescribeTransitGatewayRouteTablesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
317 
318  private:
319 
320  Aws::Vector<Aws::String> m_transitGatewayRouteTableIds;
321  bool m_transitGatewayRouteTableIdsHasBeenSet;
322 
323  Aws::Vector<Filter> m_filters;
324  bool m_filtersHasBeenSet;
325 
326  int m_maxResults;
327  bool m_maxResultsHasBeenSet;
328 
329  Aws::String m_nextToken;
330  bool m_nextTokenHasBeenSet;
331 
332  bool m_dryRun;
333  bool m_dryRunHasBeenSet;
334  };
335 
336 } // namespace Model
337 } // namespace EC2
338 } // namespace Aws
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:292
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest
Definition: DescribeTransitGatewayRouteTablesRequest.h:24
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:117
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:248
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:308
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:149
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:253
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:300
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::AddTransitGatewayRouteTableIds
DescribeTransitGatewayRouteTablesRequest & AddTransitGatewayRouteTableIds(const Aws::String &value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:74
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithNextToken
DescribeTransitGatewayRouteTablesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:273
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithDryRun
DescribeTransitGatewayRouteTablesRequest & WithDryRun(bool value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:316
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::GetTransitGatewayRouteTableIds
const Aws::Vector< Aws::String > & GetTransitGatewayRouteTableIds() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:44
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithNextToken
DescribeTransitGatewayRouteTablesRequest & WithNextToken(const char *value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:283
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:235
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetTransitGatewayRouteTableIds
void SetTransitGatewayRouteTableIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithTransitGatewayRouteTableIds
DescribeTransitGatewayRouteTablesRequest & WithTransitGatewayRouteTableIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:69
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::DescribeTransitGatewayRouteTablesRequest
DescribeTransitGatewayRouteTablesRequest()
AWSVector.h
Filter.h
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithNextToken
DescribeTransitGatewayRouteTablesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:278
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:228
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:258
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithFilters
DescribeTransitGatewayRouteTablesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:165
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::AddTransitGatewayRouteTableIds
DescribeTransitGatewayRouteTablesRequest & AddTransitGatewayRouteTableIds(Aws::String &&value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:79
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:101
EC2Request.h
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:268
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:133
AWSString.h
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithMaxResults
DescribeTransitGatewayRouteTablesRequest & WithMaxResults(int value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:242
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:221
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithFilters
DescribeTransitGatewayRouteTablesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:181
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:263
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::AddFilters
DescribeTransitGatewayRouteTablesRequest & AddFilters(const Filter &value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:197
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeTransitGatewayRouteTablesRequest.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::AddFilters
DescribeTransitGatewayRouteTablesRequest & AddFilters(Filter &&value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:213
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::WithTransitGatewayRouteTableIds
DescribeTransitGatewayRouteTablesRequest & WithTransitGatewayRouteTableIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:64
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::AddTransitGatewayRouteTableIds
DescribeTransitGatewayRouteTablesRequest & AddTransitGatewayRouteTableIds(const char *value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:84
EC2_EXPORTS.h
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::TransitGatewayRouteTableIdsHasBeenSet
bool TransitGatewayRouteTableIdsHasBeenSet() const
Definition: DescribeTransitGatewayRouteTablesRequest.h:49
Aws::EC2::Model::DescribeTransitGatewayRouteTablesRequest::SetTransitGatewayRouteTableIds
void SetTransitGatewayRouteTableIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeTransitGatewayRouteTablesRequest.h:54