AWS SDK for C++  1.9.74
AWS SDK for C++
SearchLocalGatewayRoutesRequest.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 "SearchLocalGatewayRoutes"; }
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::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
45 
49  inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
50 
54  inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = value; }
55 
59  inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::move(value); }
60 
64  inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId.assign(value); }
65 
69  inline SearchLocalGatewayRoutesRequest& WithLocalGatewayRouteTableId(const Aws::String& value) { SetLocalGatewayRouteTableId(value); return *this;}
70 
74  inline SearchLocalGatewayRoutesRequest& WithLocalGatewayRouteTableId(Aws::String&& value) { SetLocalGatewayRouteTableId(std::move(value)); return *this;}
75 
79  inline SearchLocalGatewayRoutesRequest& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;}
80 
81 
85  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
86 
90  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
91 
95  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
96 
100  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
101 
105  inline SearchLocalGatewayRoutesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
106 
110  inline SearchLocalGatewayRoutesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
111 
115  inline SearchLocalGatewayRoutesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
116 
120  inline SearchLocalGatewayRoutesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
121 
122 
128  inline int GetMaxResults() const{ return m_maxResults; }
129 
135  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
136 
142  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
143 
149  inline SearchLocalGatewayRoutesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
150 
151 
155  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
156 
160  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
161 
165  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
166 
170  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
171 
175  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
176 
180  inline SearchLocalGatewayRoutesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
181 
185  inline SearchLocalGatewayRoutesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
186 
190  inline SearchLocalGatewayRoutesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
191 
192 
199  inline bool GetDryRun() const{ return m_dryRun; }
200 
207  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
208 
215  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
216 
223  inline SearchLocalGatewayRoutesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
224 
225  private:
226 
227  Aws::String m_localGatewayRouteTableId;
228  bool m_localGatewayRouteTableIdHasBeenSet;
229 
230  Aws::Vector<Filter> m_filters;
231  bool m_filtersHasBeenSet;
232 
233  int m_maxResults;
234  bool m_maxResultsHasBeenSet;
235 
236  Aws::String m_nextToken;
237  bool m_nextTokenHasBeenSet;
238 
239  bool m_dryRun;
240  bool m_dryRunHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace EC2
245 } // namespace Aws
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: SearchLocalGatewayRoutesRequest.h:160
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: SearchLocalGatewayRoutesRequest.h:170
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::GetDryRun
bool GetDryRun() const
Definition: SearchLocalGatewayRoutesRequest.h:199
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: SearchLocalGatewayRoutesRequest.h:100
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::AddFilters
SearchLocalGatewayRoutesRequest & AddFilters(Filter &&value)
Definition: SearchLocalGatewayRoutesRequest.h:120
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithNextToken
SearchLocalGatewayRoutesRequest & WithNextToken(const Aws::String &value)
Definition: SearchLocalGatewayRoutesRequest.h:180
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithNextToken
SearchLocalGatewayRoutesRequest & WithNextToken(Aws::String &&value)
Definition: SearchLocalGatewayRoutesRequest.h:185
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: SearchLocalGatewayRoutesRequest.h:175
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SearchLocalGatewayRoutesRequest
SearchLocalGatewayRoutesRequest()
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: SearchLocalGatewayRoutesRequest.h:135
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: SearchLocalGatewayRoutesRequest.h:165
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(const Aws::String &value)
Definition: SearchLocalGatewayRoutesRequest.h:54
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: SearchLocalGatewayRoutesRequest.h:90
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithFilters
SearchLocalGatewayRoutesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: SearchLocalGatewayRoutesRequest.h:105
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SerializePayload
Aws::String SerializePayload() const override
Filter.h
Aws::EC2::Model::SearchLocalGatewayRoutesRequest
Definition: SearchLocalGatewayRoutesRequest.h:24
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: SearchLocalGatewayRoutesRequest.h:95
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(const char *value)
Definition: SearchLocalGatewayRoutesRequest.h:64
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithFilters
SearchLocalGatewayRoutesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: SearchLocalGatewayRoutesRequest.h:110
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::GetMaxResults
int GetMaxResults() const
Definition: SearchLocalGatewayRoutesRequest.h:128
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithLocalGatewayRouteTableId
SearchLocalGatewayRoutesRequest & WithLocalGatewayRouteTableId(const Aws::String &value)
Definition: SearchLocalGatewayRoutesRequest.h:69
EC2Request.h
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithMaxResults
SearchLocalGatewayRoutesRequest & WithMaxResults(int value)
Definition: SearchLocalGatewayRoutesRequest.h:149
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithLocalGatewayRouteTableId
SearchLocalGatewayRoutesRequest & WithLocalGatewayRouteTableId(Aws::String &&value)
Definition: SearchLocalGatewayRoutesRequest.h:74
AWSString.h
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: SearchLocalGatewayRoutesRequest.h:85
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithDryRun
SearchLocalGatewayRoutesRequest & WithDryRun(bool value)
Definition: SearchLocalGatewayRoutesRequest.h:223
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::AddFilters
SearchLocalGatewayRoutesRequest & AddFilters(const Filter &value)
Definition: SearchLocalGatewayRoutesRequest.h:115
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: SearchLocalGatewayRoutesRequest.h:207
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::LocalGatewayRouteTableIdHasBeenSet
bool LocalGatewayRouteTableIdHasBeenSet() const
Definition: SearchLocalGatewayRoutesRequest.h:49
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SearchLocalGatewayRoutesRequest.h:32
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::GetLocalGatewayRouteTableId
const Aws::String & GetLocalGatewayRouteTableId() const
Definition: SearchLocalGatewayRoutesRequest.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: SearchLocalGatewayRoutesRequest.h:155
EC2_EXPORTS.h
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetLocalGatewayRouteTableId
void SetLocalGatewayRouteTableId(Aws::String &&value)
Definition: SearchLocalGatewayRoutesRequest.h:59
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithLocalGatewayRouteTableId
SearchLocalGatewayRoutesRequest & WithLocalGatewayRouteTableId(const char *value)
Definition: SearchLocalGatewayRoutesRequest.h:79
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetDryRun
void SetDryRun(bool value)
Definition: SearchLocalGatewayRoutesRequest.h:215
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: SearchLocalGatewayRoutesRequest.h:142
Aws::EC2::Model::SearchLocalGatewayRoutesRequest::WithNextToken
SearchLocalGatewayRoutesRequest & WithNextToken(const char *value)
Definition: SearchLocalGatewayRoutesRequest.h:190