AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeExportTasksRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
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 "DescribeExportTasks"; }
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& GetExportTaskIdentifier() const{ return m_exportTaskIdentifier; }
45 
49  inline bool ExportTaskIdentifierHasBeenSet() const { return m_exportTaskIdentifierHasBeenSet; }
50 
54  inline void SetExportTaskIdentifier(const Aws::String& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = value; }
55 
59  inline void SetExportTaskIdentifier(Aws::String&& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = std::move(value); }
60 
64  inline void SetExportTaskIdentifier(const char* value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier.assign(value); }
65 
69  inline DescribeExportTasksRequest& WithExportTaskIdentifier(const Aws::String& value) { SetExportTaskIdentifier(value); return *this;}
70 
74  inline DescribeExportTasksRequest& WithExportTaskIdentifier(Aws::String&& value) { SetExportTaskIdentifier(std::move(value)); return *this;}
75 
79  inline DescribeExportTasksRequest& WithExportTaskIdentifier(const char* value) { SetExportTaskIdentifier(value); return *this;}
80 
81 
85  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
86 
90  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
91 
95  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
96 
100  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
101 
105  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
106 
110  inline DescribeExportTasksRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
111 
115  inline DescribeExportTasksRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
116 
120  inline DescribeExportTasksRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
121 
122 
135  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
136 
149  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
150 
163  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
164 
177  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
178 
191  inline DescribeExportTasksRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
192 
205  inline DescribeExportTasksRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
206 
219  inline DescribeExportTasksRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
220 
233  inline DescribeExportTasksRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
234 
235 
242  inline const Aws::String& GetMarker() const{ return m_marker; }
243 
250  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
251 
258  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
259 
266  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
267 
274  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
275 
282  inline DescribeExportTasksRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
283 
290  inline DescribeExportTasksRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
291 
298  inline DescribeExportTasksRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
299 
300 
308  inline int GetMaxRecords() const{ return m_maxRecords; }
309 
317  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
318 
326  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
327 
335  inline DescribeExportTasksRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
336 
337  private:
338 
339  Aws::String m_exportTaskIdentifier;
340  bool m_exportTaskIdentifierHasBeenSet;
341 
342  Aws::String m_sourceArn;
343  bool m_sourceArnHasBeenSet;
344 
345  Aws::Vector<Filter> m_filters;
346  bool m_filtersHasBeenSet;
347 
348  Aws::String m_marker;
349  bool m_markerHasBeenSet;
350 
351  int m_maxRecords;
352  bool m_maxRecordsHasBeenSet;
353  };
354 
355 } // namespace Model
356 } // namespace RDS
357 } // namespace Aws
Aws::RDS::Model::DescribeExportTasksRequest::GetExportTaskIdentifier
const Aws::String & GetExportTaskIdentifier() const
Definition: DescribeExportTasksRequest.h:44
Aws::RDS::Model::DescribeExportTasksRequest::DescribeExportTasksRequest
DescribeExportTasksRequest()
Aws::RDS::Model::DescribeExportTasksRequest::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:95
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeExportTasksRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeExportTasksRequest.h:250
Aws::RDS::Model::DescribeExportTasksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeExportTasksRequest::WithExportTaskIdentifier
DescribeExportTasksRequest & WithExportTaskIdentifier(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:69
Aws::RDS::Model::DescribeExportTasksRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeExportTasksRequest.h:149
Aws::RDS::Model::DescribeExportTasksRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeExportTasksRequest.h:163
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeExportTasksRequest::WithSourceArn
DescribeExportTasksRequest & WithSourceArn(const char *value)
Definition: DescribeExportTasksRequest.h:120
Aws::RDS::Model::DescribeExportTasksRequest::AddFilters
DescribeExportTasksRequest & AddFilters(Filter &&value)
Definition: DescribeExportTasksRequest.h:233
Aws::RDS::Model::DescribeExportTasksRequest::SetSourceArn
void SetSourceArn(const char *value)
Definition: DescribeExportTasksRequest.h:105
Aws::RDS::Model::DescribeExportTasksRequest::WithMaxRecords
DescribeExportTasksRequest & WithMaxRecords(int value)
Definition: DescribeExportTasksRequest.h:335
Aws::RDS::Model::DescribeExportTasksRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeExportTasksRequest.h:317
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeExportTasksRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeExportTasksRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeExportTasksRequest.h:177
Aws::RDS::Model::DescribeExportTasksRequest::ExportTaskIdentifierHasBeenSet
bool ExportTaskIdentifierHasBeenSet() const
Definition: DescribeExportTasksRequest.h:49
Aws::RDS::Model::DescribeExportTasksRequest::WithFilters
DescribeExportTasksRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeExportTasksRequest.h:205
Aws::RDS::Model::DescribeExportTasksRequest::WithMarker
DescribeExportTasksRequest & WithMarker(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:282
Aws::RDS::Model::DescribeExportTasksRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:54
Aws::RDS::Model::DescribeExportTasksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeExportTasksRequest.h:32
AWSVector.h
Aws::RDS::Model::DescribeExportTasksRequest::WithMarker
DescribeExportTasksRequest & WithMarker(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:290
Aws::RDS::Model::DescribeExportTasksRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeExportTasksRequest.h:308
Aws::RDS::Model::DescribeExportTasksRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeExportTasksRequest.h:274
Aws::RDS::Model::DescribeExportTasksRequest
Definition: DescribeExportTasksRequest.h:24
RDS_EXPORTS.h
Aws::RDS::Model::DescribeExportTasksRequest::WithExportTaskIdentifier
DescribeExportTasksRequest & WithExportTaskIdentifier(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:74
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeExportTasksRequest::WithExportTaskIdentifier
DescribeExportTasksRequest & WithExportTaskIdentifier(const char *value)
Definition: DescribeExportTasksRequest.h:79
Aws::RDS::Model::DescribeExportTasksRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeExportTasksRequest.h:326
Aws::RDS::Model::DescribeExportTasksRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeExportTasksRequest.h:135
Aws::RDS::Model::DescribeExportTasksRequest::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:100
AWSString.h
Filter.h
Aws::RDS::Model::DescribeExportTasksRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:59
Aws::RDS::Model::DescribeExportTasksRequest::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: DescribeExportTasksRequest.h:90
Aws::RDS::Model::DescribeExportTasksRequest::WithFilters
DescribeExportTasksRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeExportTasksRequest.h:191
Aws::RDS::Model::DescribeExportTasksRequest::AddFilters
DescribeExportTasksRequest & AddFilters(const Filter &value)
Definition: DescribeExportTasksRequest.h:219
Aws::RDS::Model::DescribeExportTasksRequest::WithMarker
DescribeExportTasksRequest & WithMarker(const char *value)
Definition: DescribeExportTasksRequest.h:298
Aws::RDS::Model::DescribeExportTasksRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:258
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeExportTasksRequest::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: DescribeExportTasksRequest.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeExportTasksRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:266
Aws::RDS::Model::DescribeExportTasksRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeExportTasksRequest.h:242
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeExportTasksRequest::WithSourceArn
DescribeExportTasksRequest & WithSourceArn(const Aws::String &value)
Definition: DescribeExportTasksRequest.h:110
Aws::RDS::Model::DescribeExportTasksRequest::WithSourceArn
DescribeExportTasksRequest & WithSourceArn(Aws::String &&value)
Definition: DescribeExportTasksRequest.h:115
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeExportTasksRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(const char *value)
Definition: DescribeExportTasksRequest.h:64