AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeExportTasksRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/ExportSourceType.h>
12#include <aws/rds/model/Filter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace RDS
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeExportTasks"; }
34
35 AWS_RDS_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
46 inline const Aws::String& GetExportTaskIdentifier() const{ return m_exportTaskIdentifier; }
47 inline bool ExportTaskIdentifierHasBeenSet() const { return m_exportTaskIdentifierHasBeenSet; }
48 inline void SetExportTaskIdentifier(const Aws::String& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = value; }
49 inline void SetExportTaskIdentifier(Aws::String&& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = std::move(value); }
50 inline void SetExportTaskIdentifier(const char* value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier.assign(value); }
53 inline DescribeExportTasksRequest& WithExportTaskIdentifier(const char* value) { SetExportTaskIdentifier(value); return *this;}
55
57
61 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
62 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
63 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
64 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
65 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
66 inline DescribeExportTasksRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
67 inline DescribeExportTasksRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
68 inline DescribeExportTasksRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
70
72
87 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
88 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
89 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
90 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
91 inline DescribeExportTasksRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
92 inline DescribeExportTasksRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
93 inline DescribeExportTasksRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
94 inline DescribeExportTasksRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
96
98
104 inline const Aws::String& GetMarker() const{ return m_marker; }
105 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
106 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
107 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
108 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
109 inline DescribeExportTasksRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
110 inline DescribeExportTasksRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
111 inline DescribeExportTasksRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
113
115
122 inline int GetMaxRecords() const{ return m_maxRecords; }
123 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
124 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
125 inline DescribeExportTasksRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
127
129
132 inline const ExportSourceType& GetSourceType() const{ return m_sourceType; }
133 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
134 inline void SetSourceType(const ExportSourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
135 inline void SetSourceType(ExportSourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
136 inline DescribeExportTasksRequest& WithSourceType(const ExportSourceType& value) { SetSourceType(value); return *this;}
137 inline DescribeExportTasksRequest& WithSourceType(ExportSourceType&& value) { SetSourceType(std::move(value)); return *this;}
139 private:
140
141 Aws::String m_exportTaskIdentifier;
142 bool m_exportTaskIdentifierHasBeenSet = false;
143
144 Aws::String m_sourceArn;
145 bool m_sourceArnHasBeenSet = false;
146
147 Aws::Vector<Filter> m_filters;
148 bool m_filtersHasBeenSet = false;
149
150 Aws::String m_marker;
151 bool m_markerHasBeenSet = false;
152
153 int m_maxRecords;
154 bool m_maxRecordsHasBeenSet = false;
155
156 ExportSourceType m_sourceType;
157 bool m_sourceTypeHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace RDS
162} // namespace Aws
DescribeExportTasksRequest & WithExportTaskIdentifier(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeExportTasksRequest & WithExportTaskIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeExportTasksRequest & WithMarker(const Aws::String &value)
DescribeExportTasksRequest & WithSourceArn(Aws::String &&value)
DescribeExportTasksRequest & WithMaxRecords(int value)
DescribeExportTasksRequest & WithSourceArn(const char *value)
AWS_RDS_API Aws::String SerializePayload() const override
const Aws::Vector< Filter > & GetFilters() const
DescribeExportTasksRequest & WithSourceArn(const Aws::String &value)
DescribeExportTasksRequest & WithMarker(Aws::String &&value)
DescribeExportTasksRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeExportTasksRequest & WithSourceType(const ExportSourceType &value)
DescribeExportTasksRequest & WithSourceType(ExportSourceType &&value)
DescribeExportTasksRequest & WithMarker(const char *value)
DescribeExportTasksRequest & AddFilters(Filter &&value)
void SetSourceType(const ExportSourceType &value)
DescribeExportTasksRequest & AddFilters(const Filter &value)
DescribeExportTasksRequest & WithExportTaskIdentifier(const char *value)
DescribeExportTasksRequest & WithFilters(Aws::Vector< Filter > &&value)
void SetFilters(const Aws::Vector< Filter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector