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/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/ExportSourceType.h>
12#include <aws/rds/model/Filter.h>
13
14#include <utility>
15
16namespace Aws {
17namespace RDS {
18namespace Model {
19
23 public:
24 AWS_RDS_API DescribeExportTasksRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeExportTasks"; }
31
32 AWS_RDS_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
42 inline const Aws::String& GetExportTaskIdentifier() const { return m_exportTaskIdentifier; }
43 inline bool ExportTaskIdentifierHasBeenSet() const { return m_exportTaskIdentifierHasBeenSet; }
44 template <typename ExportTaskIdentifierT = Aws::String>
45 void SetExportTaskIdentifier(ExportTaskIdentifierT&& value) {
46 m_exportTaskIdentifierHasBeenSet = true;
47 m_exportTaskIdentifier = std::forward<ExportTaskIdentifierT>(value);
48 }
49 template <typename ExportTaskIdentifierT = Aws::String>
50 DescribeExportTasksRequest& WithExportTaskIdentifier(ExportTaskIdentifierT&& value) {
51 SetExportTaskIdentifier(std::forward<ExportTaskIdentifierT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
62 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
63 template <typename SourceArnT = Aws::String>
64 void SetSourceArn(SourceArnT&& value) {
65 m_sourceArnHasBeenSet = true;
66 m_sourceArn = std::forward<SourceArnT>(value);
67 }
68 template <typename SourceArnT = Aws::String>
70 SetSourceArn(std::forward<SourceArnT>(value));
71 return *this;
72 }
74
76
91 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
92 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
93 template <typename FiltersT = Aws::Vector<Filter>>
94 void SetFilters(FiltersT&& value) {
95 m_filtersHasBeenSet = true;
96 m_filters = std::forward<FiltersT>(value);
97 }
98 template <typename FiltersT = Aws::Vector<Filter>>
100 SetFilters(std::forward<FiltersT>(value));
101 return *this;
102 }
103 template <typename FiltersT = Filter>
105 m_filtersHasBeenSet = true;
106 m_filters.emplace_back(std::forward<FiltersT>(value));
107 return *this;
108 }
110
112
118 inline const Aws::String& GetMarker() const { return m_marker; }
119 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
120 template <typename MarkerT = Aws::String>
121 void SetMarker(MarkerT&& value) {
122 m_markerHasBeenSet = true;
123 m_marker = std::forward<MarkerT>(value);
124 }
125 template <typename MarkerT = Aws::String>
127 SetMarker(std::forward<MarkerT>(value));
128 return *this;
129 }
131
133
140 inline int GetMaxRecords() const { return m_maxRecords; }
141 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
142 inline void SetMaxRecords(int value) {
143 m_maxRecordsHasBeenSet = true;
144 m_maxRecords = value;
145 }
147 SetMaxRecords(value);
148 return *this;
149 }
151
153
156 inline ExportSourceType GetSourceType() const { return m_sourceType; }
157 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
158 inline void SetSourceType(ExportSourceType value) {
159 m_sourceTypeHasBeenSet = true;
160 m_sourceType = value;
161 }
163 SetSourceType(value);
164 return *this;
165 }
167 private:
168 Aws::String m_exportTaskIdentifier;
169
170 Aws::String m_sourceArn;
171
172 Aws::Vector<Filter> m_filters;
173
174 Aws::String m_marker;
175
176 int m_maxRecords{0};
177
179 bool m_exportTaskIdentifierHasBeenSet = false;
180 bool m_sourceArnHasBeenSet = false;
181 bool m_filtersHasBeenSet = false;
182 bool m_markerHasBeenSet = false;
183 bool m_maxRecordsHasBeenSet = false;
184 bool m_sourceTypeHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace RDS
189} // namespace Aws
DescribeExportTasksRequest & WithExportTaskIdentifier(ExportTaskIdentifierT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeExportTasksRequest & AddFilters(FiltersT &&value)
DescribeExportTasksRequest & WithSourceType(ExportSourceType value)
virtual const char * GetServiceRequestName() const override
void SetExportTaskIdentifier(ExportTaskIdentifierT &&value)
DescribeExportTasksRequest & WithMaxRecords(int value)
AWS_RDS_API Aws::String SerializePayload() const override
const Aws::Vector< Filter > & GetFilters() const
DescribeExportTasksRequest & WithFilters(FiltersT &&value)
DescribeExportTasksRequest & WithMarker(MarkerT &&value)
DescribeExportTasksRequest & WithSourceArn(SourceArnT &&value)
AWS_RDS_API DescribeExportTasksRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector