AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
27 AWS_RDS_API DescribeExportTasksRequest() = default;
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 template<typename ExportTaskIdentifierT = Aws::String>
49 void SetExportTaskIdentifier(ExportTaskIdentifierT&& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = std::forward<ExportTaskIdentifierT>(value); }
50 template<typename ExportTaskIdentifierT = Aws::String>
51 DescribeExportTasksRequest& WithExportTaskIdentifier(ExportTaskIdentifierT&& value) { SetExportTaskIdentifier(std::forward<ExportTaskIdentifierT>(value)); return *this;}
53
55
59 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
60 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
61 template<typename SourceArnT = Aws::String>
62 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
63 template<typename SourceArnT = Aws::String>
64 DescribeExportTasksRequest& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
66
68
83 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
84 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
85 template<typename FiltersT = Aws::Vector<Filter>>
86 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
87 template<typename FiltersT = Aws::Vector<Filter>>
88 DescribeExportTasksRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
89 template<typename FiltersT = Filter>
90 DescribeExportTasksRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
92
94
100 inline const Aws::String& GetMarker() const { return m_marker; }
101 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
102 template<typename MarkerT = Aws::String>
103 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
104 template<typename MarkerT = Aws::String>
105 DescribeExportTasksRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
107
109
116 inline int GetMaxRecords() const { return m_maxRecords; }
117 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
118 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
119 inline DescribeExportTasksRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
121
123
126 inline ExportSourceType GetSourceType() const { return m_sourceType; }
127 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
128 inline void SetSourceType(ExportSourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
131 private:
132
133 Aws::String m_exportTaskIdentifier;
134 bool m_exportTaskIdentifierHasBeenSet = false;
135
136 Aws::String m_sourceArn;
137 bool m_sourceArnHasBeenSet = false;
138
139 Aws::Vector<Filter> m_filters;
140 bool m_filtersHasBeenSet = false;
141
142 Aws::String m_marker;
143 bool m_markerHasBeenSet = false;
144
145 int m_maxRecords{0};
146 bool m_maxRecordsHasBeenSet = false;
147
149 bool m_sourceTypeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace RDS
154} // 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