AWS SDK for C++  1.9.159
AWS SDK for C++
ExportTransitGatewayRoutesRequest.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 "ExportTransitGatewayRoutes"; }
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 ExportTransitGatewayRoutesRequest& WithTransitGatewayRouteTableId(const Aws::String& value) { SetTransitGatewayRouteTableId(value); return *this;}
70 
74  inline ExportTransitGatewayRoutesRequest& WithTransitGatewayRouteTableId(Aws::String&& value) { SetTransitGatewayRouteTableId(std::move(value)); return *this;}
75 
79  inline ExportTransitGatewayRoutesRequest& WithTransitGatewayRouteTableId(const char* value) { SetTransitGatewayRouteTableId(value); return *this;}
80 
81 
101  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
102 
122  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
123 
143  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
144 
164  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
165 
185  inline ExportTransitGatewayRoutesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
186 
206  inline ExportTransitGatewayRoutesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
207 
227  inline ExportTransitGatewayRoutesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
228 
248  inline ExportTransitGatewayRoutesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
249 
250 
254  inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
255 
259  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
260 
264  inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
265 
269  inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
270 
274  inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
275 
279  inline ExportTransitGatewayRoutesRequest& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
280 
284  inline ExportTransitGatewayRoutesRequest& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
285 
289  inline ExportTransitGatewayRoutesRequest& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
290 
291 
298  inline bool GetDryRun() const{ return m_dryRun; }
299 
306  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
307 
314  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
315 
322  inline ExportTransitGatewayRoutesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
323 
324  private:
325 
326  Aws::String m_transitGatewayRouteTableId;
327  bool m_transitGatewayRouteTableIdHasBeenSet;
328 
329  Aws::Vector<Filter> m_filters;
330  bool m_filtersHasBeenSet;
331 
332  Aws::String m_s3Bucket;
333  bool m_s3BucketHasBeenSet;
334 
335  bool m_dryRun;
336  bool m_dryRunHasBeenSet;
337  };
338 
339 } // namespace Model
340 } // namespace EC2
341 } // namespace Aws
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::TransitGatewayRouteTableIdHasBeenSet
bool TransitGatewayRouteTableIdHasBeenSet() const
Definition: ExportTransitGatewayRoutesRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetTransitGatewayRouteTableId
void SetTransitGatewayRouteTableId(const Aws::String &value)
Definition: ExportTransitGatewayRoutesRequest.h:54
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::AddFilters
ExportTransitGatewayRoutesRequest & AddFilters(Filter &&value)
Definition: ExportTransitGatewayRoutesRequest.h:248
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ExportTransitGatewayRoutesRequest.h:122
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::WithTransitGatewayRouteTableId
ExportTransitGatewayRoutesRequest & WithTransitGatewayRouteTableId(const Aws::String &value)
Definition: ExportTransitGatewayRoutesRequest.h:69
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::WithS3Bucket
ExportTransitGatewayRoutesRequest & WithS3Bucket(Aws::String &&value)
Definition: ExportTransitGatewayRoutesRequest.h:284
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetDryRun
void SetDryRun(bool value)
Definition: ExportTransitGatewayRoutesRequest.h:314
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: ExportTransitGatewayRoutesRequest.h:274
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::WithTransitGatewayRouteTableId
ExportTransitGatewayRoutesRequest & WithTransitGatewayRouteTableId(Aws::String &&value)
Definition: ExportTransitGatewayRoutesRequest.h:74
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::ExportTransitGatewayRoutesRequest
ExportTransitGatewayRoutesRequest()
AWSVector.h
Filter.h
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetTransitGatewayRouteTableId
void SetTransitGatewayRouteTableId(Aws::String &&value)
Definition: ExportTransitGatewayRoutesRequest.h:59
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: ExportTransitGatewayRoutesRequest.h:264
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetTransitGatewayRouteTableId
void SetTransitGatewayRouteTableId(const char *value)
Definition: ExportTransitGatewayRoutesRequest.h:64
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ExportTransitGatewayRoutesRequest.h:101
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: ExportTransitGatewayRoutesRequest.h:259
Aws::EC2::Model::ExportTransitGatewayRoutesRequest
Definition: ExportTransitGatewayRoutesRequest.h:24
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::AddFilters
ExportTransitGatewayRoutesRequest & AddFilters(const Filter &value)
Definition: ExportTransitGatewayRoutesRequest.h:227
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::WithFilters
ExportTransitGatewayRoutesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ExportTransitGatewayRoutesRequest.h:185
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::GetDryRun
bool GetDryRun() const
Definition: ExportTransitGatewayRoutesRequest.h:298
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::WithTransitGatewayRouteTableId
ExportTransitGatewayRoutesRequest & WithTransitGatewayRouteTableId(const char *value)
Definition: ExportTransitGatewayRoutesRequest.h:79
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: ExportTransitGatewayRoutesRequest.h:269
EC2Request.h
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: ExportTransitGatewayRoutesRequest.h:306
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::WithFilters
ExportTransitGatewayRoutesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ExportTransitGatewayRoutesRequest.h:206
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::WithS3Bucket
ExportTransitGatewayRoutesRequest & WithS3Bucket(const char *value)
Definition: ExportTransitGatewayRoutesRequest.h:289
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::WithDryRun
ExportTransitGatewayRoutesRequest & WithDryRun(bool value)
Definition: ExportTransitGatewayRoutesRequest.h:322
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::GetTransitGatewayRouteTableId
const Aws::String & GetTransitGatewayRouteTableId() const
Definition: ExportTransitGatewayRoutesRequest.h:44
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ExportTransitGatewayRoutesRequest.h:164
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: ExportTransitGatewayRoutesRequest.h:254
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ExportTransitGatewayRoutesRequest.h:32
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::ExportTransitGatewayRoutesRequest::WithS3Bucket
ExportTransitGatewayRoutesRequest & WithS3Bucket(const Aws::String &value)
Definition: ExportTransitGatewayRoutesRequest.h:279
EC2_EXPORTS.h
Aws::EC2::Model::ExportTransitGatewayRoutesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ExportTransitGatewayRoutesRequest.h:143