AWS SDK for C++  1.9.66
AWS SDK for C++
GetTransitGatewayRouteTableAssociationsRequest.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 "GetTransitGatewayRouteTableAssociations"; }
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& GetTransitGatewayRouteTableId() const{ return m_transitGatewayRouteTableId; }
45 
49  inline bool TransitGatewayRouteTableIdHasBeenSet() const { return m_transitGatewayRouteTableIdHasBeenSet; }
50 
54  inline void SetTransitGatewayRouteTableId(const Aws::String& value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId = value; }
55 
59  inline void SetTransitGatewayRouteTableId(Aws::String&& value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId = std::move(value); }
60 
64  inline void SetTransitGatewayRouteTableId(const char* value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId.assign(value); }
65 
69  inline GetTransitGatewayRouteTableAssociationsRequest& WithTransitGatewayRouteTableId(const Aws::String& value) { SetTransitGatewayRouteTableId(value); return *this;}
70 
74  inline GetTransitGatewayRouteTableAssociationsRequest& WithTransitGatewayRouteTableId(Aws::String&& value) { SetTransitGatewayRouteTableId(std::move(value)); return *this;}
75 
79  inline GetTransitGatewayRouteTableAssociationsRequest& WithTransitGatewayRouteTableId(const char* value) { SetTransitGatewayRouteTableId(value); return *this;}
80 
81 
91  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
92 
102  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
103 
113  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
114 
124  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
125 
135  inline GetTransitGatewayRouteTableAssociationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
136 
146  inline GetTransitGatewayRouteTableAssociationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
147 
157  inline GetTransitGatewayRouteTableAssociationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
158 
168  inline GetTransitGatewayRouteTableAssociationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
169 
170 
176  inline int GetMaxResults() const{ return m_maxResults; }
177 
183  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
184 
190  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
191 
197  inline GetTransitGatewayRouteTableAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
198 
199 
203  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
204 
208  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
209 
213  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
214 
218  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
219 
223  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
224 
228  inline GetTransitGatewayRouteTableAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
229 
233  inline GetTransitGatewayRouteTableAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
234 
238  inline GetTransitGatewayRouteTableAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
239 
240 
247  inline bool GetDryRun() const{ return m_dryRun; }
248 
255  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
256 
263  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
264 
271  inline GetTransitGatewayRouteTableAssociationsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
272 
273  private:
274 
275  Aws::String m_transitGatewayRouteTableId;
276  bool m_transitGatewayRouteTableIdHasBeenSet;
277 
278  Aws::Vector<Filter> m_filters;
279  bool m_filtersHasBeenSet;
280 
281  int m_maxResults;
282  bool m_maxResultsHasBeenSet;
283 
284  Aws::String m_nextToken;
285  bool m_nextTokenHasBeenSet;
286 
287  bool m_dryRun;
288  bool m_dryRunHasBeenSet;
289  };
290 
291 } // namespace Model
292 } // namespace EC2
293 } // namespace Aws
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:190
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::TransitGatewayRouteTableIdHasBeenSet
bool TransitGatewayRouteTableIdHasBeenSet() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:91
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:213
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetTransitGatewayRouteTableId
void SetTransitGatewayRouteTableId(const char *value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:64
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithTransitGatewayRouteTableId
GetTransitGatewayRouteTableAssociationsRequest & WithTransitGatewayRouteTableId(Aws::String &&value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:74
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:102
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithFilters
GetTransitGatewayRouteTableAssociationsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:135
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::AddFilters
GetTransitGatewayRouteTableAssociationsRequest & AddFilters(const Filter &value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:157
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:255
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:218
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:24
AWSVector.h
Filter.h
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithTransitGatewayRouteTableId
GetTransitGatewayRouteTableAssociationsRequest & WithTransitGatewayRouteTableId(const char *value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:79
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:208
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::GetMaxResults
int GetMaxResults() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:176
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SerializePayload
Aws::String SerializePayload() const override
EC2Request.h
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::GetDryRun
bool GetDryRun() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:247
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetTransitGatewayRouteTableId
void SetTransitGatewayRouteTableId(Aws::String &&value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:59
AWSString.h
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:113
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithFilters
GetTransitGatewayRouteTableAssociationsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:146
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithTransitGatewayRouteTableId
GetTransitGatewayRouteTableAssociationsRequest & WithTransitGatewayRouteTableId(const Aws::String &value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:69
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithNextToken
GetTransitGatewayRouteTableAssociationsRequest & WithNextToken(const char *value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:238
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetDryRun
void SetDryRun(bool value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:263
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:183
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::GetTransitGatewayRouteTableAssociationsRequest
GetTransitGatewayRouteTableAssociationsRequest()
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:203
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithMaxResults
GetTransitGatewayRouteTableAssociationsRequest & WithMaxResults(int value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:197
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetTransitGatewayRouteTableId
void SetTransitGatewayRouteTableId(const Aws::String &value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:54
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::GetTransitGatewayRouteTableAssociationsRequest::GetTransitGatewayRouteTableId
const Aws::String & GetTransitGatewayRouteTableId() const
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:44
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:32
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithNextToken
GetTransitGatewayRouteTableAssociationsRequest & WithNextToken(const Aws::String &value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:228
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:223
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:124
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithDryRun
GetTransitGatewayRouteTableAssociationsRequest & WithDryRun(bool value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:271
EC2_EXPORTS.h
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::AddFilters
GetTransitGatewayRouteTableAssociationsRequest & AddFilters(Filter &&value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:168
Aws::EC2::Model::GetTransitGatewayRouteTableAssociationsRequest::WithNextToken
GetTransitGatewayRouteTableAssociationsRequest & WithNextToken(Aws::String &&value)
Definition: GetTransitGatewayRouteTableAssociationsRequest.h:233