AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeExportTasksRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace EC2 {
17namespace Model {
18
22 public:
23 AWS_EC2_API DescribeExportTasksRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeExportTasks"; }
30
31 AWS_EC2_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
41 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
42 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
43 template <typename FiltersT = Aws::Vector<Filter>>
44 void SetFilters(FiltersT&& value) {
45 m_filtersHasBeenSet = true;
46 m_filters = std::forward<FiltersT>(value);
47 }
48 template <typename FiltersT = Aws::Vector<Filter>>
50 SetFilters(std::forward<FiltersT>(value));
51 return *this;
52 }
53 template <typename FiltersT = Filter>
55 m_filtersHasBeenSet = true;
56 m_filters.emplace_back(std::forward<FiltersT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<Aws::String>& GetExportTaskIds() const { return m_exportTaskIds; }
66 inline bool ExportTaskIdsHasBeenSet() const { return m_exportTaskIdsHasBeenSet; }
67 template <typename ExportTaskIdsT = Aws::Vector<Aws::String>>
68 void SetExportTaskIds(ExportTaskIdsT&& value) {
69 m_exportTaskIdsHasBeenSet = true;
70 m_exportTaskIds = std::forward<ExportTaskIdsT>(value);
71 }
72 template <typename ExportTaskIdsT = Aws::Vector<Aws::String>>
74 SetExportTaskIds(std::forward<ExportTaskIdsT>(value));
75 return *this;
76 }
77 template <typename ExportTaskIdsT = Aws::String>
79 m_exportTaskIdsHasBeenSet = true;
80 m_exportTaskIds.emplace_back(std::forward<ExportTaskIdsT>(value));
81 return *this;
82 }
84 private:
85 Aws::Vector<Filter> m_filters;
86
87 Aws::Vector<Aws::String> m_exportTaskIds;
88 bool m_filtersHasBeenSet = false;
89 bool m_exportTaskIdsHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace EC2
94} // namespace Aws
const Aws::Vector< Filter > & GetFilters() const
const Aws::Vector< Aws::String > & GetExportTaskIds() const
virtual const char * GetServiceRequestName() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeExportTasksRequest & WithExportTaskIds(ExportTaskIdsT &&value)
DescribeExportTasksRequest & WithFilters(FiltersT &&value)
DescribeExportTasksRequest & AddFilters(FiltersT &&value)
DescribeExportTasksRequest & AddExportTaskIds(ExportTaskIdsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API DescribeExportTasksRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector