AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeLocalGatewayRouteTablesRequest.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 "DescribeLocalGatewayRouteTables"; }
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>& GetLocalGatewayRouteTableIds() const{ return m_localGatewayRouteTableIds; }
45 
49  inline bool LocalGatewayRouteTableIdsHasBeenSet() const { return m_localGatewayRouteTableIdsHasBeenSet; }
50 
54  inline void SetLocalGatewayRouteTableIds(const Aws::Vector<Aws::String>& value) { m_localGatewayRouteTableIdsHasBeenSet = true; m_localGatewayRouteTableIds = value; }
55 
59  inline void SetLocalGatewayRouteTableIds(Aws::Vector<Aws::String>&& value) { m_localGatewayRouteTableIdsHasBeenSet = true; m_localGatewayRouteTableIds = std::move(value); }
60 
64  inline DescribeLocalGatewayRouteTablesRequest& WithLocalGatewayRouteTableIds(const Aws::Vector<Aws::String>& value) { SetLocalGatewayRouteTableIds(value); return *this;}
65 
69  inline DescribeLocalGatewayRouteTablesRequest& WithLocalGatewayRouteTableIds(Aws::Vector<Aws::String>&& value) { SetLocalGatewayRouteTableIds(std::move(value)); return *this;}
70 
74  inline DescribeLocalGatewayRouteTablesRequest& AddLocalGatewayRouteTableIds(const Aws::String& value) { m_localGatewayRouteTableIdsHasBeenSet = true; m_localGatewayRouteTableIds.push_back(value); return *this; }
75 
79  inline DescribeLocalGatewayRouteTablesRequest& AddLocalGatewayRouteTableIds(Aws::String&& value) { m_localGatewayRouteTableIdsHasBeenSet = true; m_localGatewayRouteTableIds.push_back(std::move(value)); return *this; }
80 
84  inline DescribeLocalGatewayRouteTablesRequest& AddLocalGatewayRouteTableIds(const char* value) { m_localGatewayRouteTableIdsHasBeenSet = true; m_localGatewayRouteTableIds.push_back(value); return *this; }
85 
86 
95  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
96 
105  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
106 
115  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
116 
125  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
126 
135  inline DescribeLocalGatewayRouteTablesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
136 
145  inline DescribeLocalGatewayRouteTablesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
146 
155  inline DescribeLocalGatewayRouteTablesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
156 
165  inline DescribeLocalGatewayRouteTablesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
166 
167 
173  inline int GetMaxResults() const{ return m_maxResults; }
174 
180  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
181 
187  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
188 
194  inline DescribeLocalGatewayRouteTablesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
195 
196 
200  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
201 
205  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
206 
210  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
211 
215  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
216 
220  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
221 
225  inline DescribeLocalGatewayRouteTablesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
226 
230  inline DescribeLocalGatewayRouteTablesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
231 
235  inline DescribeLocalGatewayRouteTablesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
236 
237 
244  inline bool GetDryRun() const{ return m_dryRun; }
245 
252  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
253 
260  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
261 
268  inline DescribeLocalGatewayRouteTablesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
269 
270  private:
271 
272  Aws::Vector<Aws::String> m_localGatewayRouteTableIds;
273  bool m_localGatewayRouteTableIdsHasBeenSet;
274 
275  Aws::Vector<Filter> m_filters;
276  bool m_filtersHasBeenSet;
277 
278  int m_maxResults;
279  bool m_maxResultsHasBeenSet;
280 
281  Aws::String m_nextToken;
282  bool m_nextTokenHasBeenSet;
283 
284  bool m_dryRun;
285  bool m_dryRunHasBeenSet;
286  };
287 
288 } // namespace Model
289 } // namespace EC2
290 } // namespace Aws
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::AddLocalGatewayRouteTableIds
DescribeLocalGatewayRouteTablesRequest & AddLocalGatewayRouteTableIds(const char *value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:84
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithDryRun
DescribeLocalGatewayRouteTablesRequest & WithDryRun(bool value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:268
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::AddFilters
DescribeLocalGatewayRouteTablesRequest & AddFilters(Filter &&value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:165
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithMaxResults
DescribeLocalGatewayRouteTablesRequest & WithMaxResults(int value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:194
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithNextToken
DescribeLocalGatewayRouteTablesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:225
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:210
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:215
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:173
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithLocalGatewayRouteTableIds
DescribeLocalGatewayRouteTablesRequest & WithLocalGatewayRouteTableIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:64
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetLocalGatewayRouteTableIds
void SetLocalGatewayRouteTableIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:54
Filter.h
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:244
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:115
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:252
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:95
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithNextToken
DescribeLocalGatewayRouteTablesRequest & WithNextToken(const char *value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:235
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::AddLocalGatewayRouteTableIds
DescribeLocalGatewayRouteTablesRequest & AddLocalGatewayRouteTableIds(Aws::String &&value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:79
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:220
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::AddLocalGatewayRouteTableIds
DescribeLocalGatewayRouteTablesRequest & AddLocalGatewayRouteTableIds(const Aws::String &value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:74
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::GetLocalGatewayRouteTableIds
const Aws::Vector< Aws::String > & GetLocalGatewayRouteTableIds() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:44
EC2Request.h
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::DescribeLocalGatewayRouteTablesRequest
DescribeLocalGatewayRouteTablesRequest()
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest
Definition: DescribeLocalGatewayRouteTablesRequest.h:24
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:180
AWSString.h
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithLocalGatewayRouteTableIds
DescribeLocalGatewayRouteTablesRequest & WithLocalGatewayRouteTableIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:69
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithFilters
DescribeLocalGatewayRouteTablesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:145
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::AddFilters
DescribeLocalGatewayRouteTablesRequest & AddFilters(const Filter &value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:155
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:200
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:187
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:125
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithFilters
DescribeLocalGatewayRouteTablesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:135
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetLocalGatewayRouteTableIds
void SetLocalGatewayRouteTableIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:59
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:205
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeLocalGatewayRouteTablesRequest.h:32
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::WithNextToken
DescribeLocalGatewayRouteTablesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:230
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::LocalGatewayRouteTableIdsHasBeenSet
bool LocalGatewayRouteTableIdsHasBeenSet() const
Definition: DescribeLocalGatewayRouteTablesRequest.h:49
EC2_EXPORTS.h
Aws::EC2::Model::DescribeLocalGatewayRouteTablesRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeLocalGatewayRouteTablesRequest.h:260