AWS SDK for C++  1.9.15
AWS SDK for C++
DescribeLocalGatewayRouteTableVpcAssociationsRequest.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 "DescribeLocalGatewayRouteTableVpcAssociations"; }
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>& GetLocalGatewayRouteTableVpcAssociationIds() const{ return m_localGatewayRouteTableVpcAssociationIds; }
45 
49  inline bool LocalGatewayRouteTableVpcAssociationIdsHasBeenSet() const { return m_localGatewayRouteTableVpcAssociationIdsHasBeenSet; }
50 
54  inline void SetLocalGatewayRouteTableVpcAssociationIds(const Aws::Vector<Aws::String>& value) { m_localGatewayRouteTableVpcAssociationIdsHasBeenSet = true; m_localGatewayRouteTableVpcAssociationIds = value; }
55 
59  inline void SetLocalGatewayRouteTableVpcAssociationIds(Aws::Vector<Aws::String>&& value) { m_localGatewayRouteTableVpcAssociationIdsHasBeenSet = true; m_localGatewayRouteTableVpcAssociationIds = std::move(value); }
60 
64  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithLocalGatewayRouteTableVpcAssociationIds(const Aws::Vector<Aws::String>& value) { SetLocalGatewayRouteTableVpcAssociationIds(value); return *this;}
65 
69  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithLocalGatewayRouteTableVpcAssociationIds(Aws::Vector<Aws::String>&& value) { SetLocalGatewayRouteTableVpcAssociationIds(std::move(value)); return *this;}
70 
74  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& AddLocalGatewayRouteTableVpcAssociationIds(const Aws::String& value) { m_localGatewayRouteTableVpcAssociationIdsHasBeenSet = true; m_localGatewayRouteTableVpcAssociationIds.push_back(value); return *this; }
75 
79  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& AddLocalGatewayRouteTableVpcAssociationIds(Aws::String&& value) { m_localGatewayRouteTableVpcAssociationIdsHasBeenSet = true; m_localGatewayRouteTableVpcAssociationIds.push_back(std::move(value)); return *this; }
80 
84  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& AddLocalGatewayRouteTableVpcAssociationIds(const char* value) { m_localGatewayRouteTableVpcAssociationIdsHasBeenSet = true; m_localGatewayRouteTableVpcAssociationIds.push_back(value); return *this; }
85 
86 
96  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
97 
107  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
108 
118  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
119 
129  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
130 
140  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
141 
151  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
152 
162  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
163 
173  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
174 
175 
181  inline int GetMaxResults() const{ return m_maxResults; }
182 
188  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
189 
195  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
196 
202  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
203 
204 
208  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
209 
213  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
214 
218  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
219 
223  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
224 
228  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
229 
233  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
234 
238  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
239 
243  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
244 
245 
252  inline bool GetDryRun() const{ return m_dryRun; }
253 
260  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
261 
268  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
269 
276  inline DescribeLocalGatewayRouteTableVpcAssociationsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
277 
278  private:
279 
280  Aws::Vector<Aws::String> m_localGatewayRouteTableVpcAssociationIds;
281  bool m_localGatewayRouteTableVpcAssociationIdsHasBeenSet;
282 
283  Aws::Vector<Filter> m_filters;
284  bool m_filtersHasBeenSet;
285 
286  int m_maxResults;
287  bool m_maxResultsHasBeenSet;
288 
289  Aws::String m_nextToken;
290  bool m_nextTokenHasBeenSet;
291 
292  bool m_dryRun;
293  bool m_dryRunHasBeenSet;
294  };
295 
296 } // namespace Model
297 } // namespace EC2
298 } // namespace Aws
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:107
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithFilters
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:140
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetLocalGatewayRouteTableVpcAssociationIds
void SetLocalGatewayRouteTableVpcAssociationIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:54
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::AddLocalGatewayRouteTableVpcAssociationIds
DescribeLocalGatewayRouteTableVpcAssociationsRequest & AddLocalGatewayRouteTableVpcAssociationIds(Aws::String &&value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:79
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::AddLocalGatewayRouteTableVpcAssociationIds
DescribeLocalGatewayRouteTableVpcAssociationsRequest & AddLocalGatewayRouteTableVpcAssociationIds(const char *value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:84
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithNextToken
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:238
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:32
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:218
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:213
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithNextToken
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithNextToken(const char *value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:243
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::AddFilters
DescribeLocalGatewayRouteTableVpcAssociationsRequest & AddFilters(Filter &&value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:173
AWSVector.h
Filter.h
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:118
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:96
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithDryRun
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithDryRun(bool value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:276
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:252
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:188
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:208
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:223
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::DescribeLocalGatewayRouteTableVpcAssociationsRequest
DescribeLocalGatewayRouteTableVpcAssociationsRequest()
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithNextToken
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:233
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::GetLocalGatewayRouteTableVpcAssociationIds
const Aws::Vector< Aws::String > & GetLocalGatewayRouteTableVpcAssociationIds() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:44
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:181
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithFilters
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:151
EC2Request.h
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::LocalGatewayRouteTableVpcAssociationIdsHasBeenSet
bool LocalGatewayRouteTableVpcAssociationIdsHasBeenSet() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:49
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::AddLocalGatewayRouteTableVpcAssociationIds
DescribeLocalGatewayRouteTableVpcAssociationsRequest & AddLocalGatewayRouteTableVpcAssociationIds(const Aws::String &value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:74
AWSString.h
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithLocalGatewayRouteTableVpcAssociationIds
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithLocalGatewayRouteTableVpcAssociationIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:64
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::AddFilters
DescribeLocalGatewayRouteTableVpcAssociationsRequest & AddFilters(const Filter &value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:162
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:260
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:24
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithLocalGatewayRouteTableVpcAssociationIds
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithLocalGatewayRouteTableVpcAssociationIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:69
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:268
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:129
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:228
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:195
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::DescribeLocalGatewayRouteTableVpcAssociationsRequest::SetLocalGatewayRouteTableVpcAssociationIds
void SetLocalGatewayRouteTableVpcAssociationIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:59
EC2_EXPORTS.h
Aws::EC2::Model::DescribeLocalGatewayRouteTableVpcAssociationsRequest::WithMaxResults
DescribeLocalGatewayRouteTableVpcAssociationsRequest & WithMaxResults(int value)
Definition: DescribeLocalGatewayRouteTableVpcAssociationsRequest.h:202