AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDBClusterSnapshotsRequest.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/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_RDS_API DescribeDBClusterSnapshotsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBClusterSnapshots"; }
36
37 AWS_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
52 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
53 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
54 template<typename DBClusterIdentifierT = Aws::String>
55 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
56 template<typename DBClusterIdentifierT = Aws::String>
57 DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
59
61
69 inline const Aws::String& GetDBClusterSnapshotIdentifier() const { return m_dBClusterSnapshotIdentifier; }
70 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
71 template<typename DBClusterSnapshotIdentifierT = Aws::String>
72 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
73 template<typename DBClusterSnapshotIdentifierT = Aws::String>
74 DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { SetDBClusterSnapshotIdentifier(std::forward<DBClusterSnapshotIdentifierT>(value)); return *this;}
76
78
99 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
100 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
101 template<typename SnapshotTypeT = Aws::String>
102 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
103 template<typename SnapshotTypeT = Aws::String>
104 DescribeDBClusterSnapshotsRequest& WithSnapshotType(SnapshotTypeT&& value) { SetSnapshotType(std::forward<SnapshotTypeT>(value)); return *this;}
106
108
117 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
118 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
119 template<typename FiltersT = Aws::Vector<Filter>>
120 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
121 template<typename FiltersT = Aws::Vector<Filter>>
122 DescribeDBClusterSnapshotsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
123 template<typename FiltersT = Filter>
124 DescribeDBClusterSnapshotsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
126
128
134 inline int GetMaxRecords() const { return m_maxRecords; }
135 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
136 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
137 inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
139
141
147 inline const Aws::String& GetMarker() const { return m_marker; }
148 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
149 template<typename MarkerT = Aws::String>
150 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
151 template<typename MarkerT = Aws::String>
152 DescribeDBClusterSnapshotsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
154
156
164 inline bool GetIncludeShared() const { return m_includeShared; }
165 inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
166 inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
167 inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
169
171
178 inline bool GetIncludePublic() const { return m_includePublic; }
179 inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; }
180 inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
181 inline DescribeDBClusterSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
183
185
188 inline const Aws::String& GetDbClusterResourceId() const { return m_dbClusterResourceId; }
189 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
190 template<typename DbClusterResourceIdT = Aws::String>
191 void SetDbClusterResourceId(DbClusterResourceIdT&& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value); }
192 template<typename DbClusterResourceIdT = Aws::String>
193 DescribeDBClusterSnapshotsRequest& WithDbClusterResourceId(DbClusterResourceIdT&& value) { SetDbClusterResourceId(std::forward<DbClusterResourceIdT>(value)); return *this;}
195 private:
196
197 Aws::String m_dBClusterIdentifier;
198 bool m_dBClusterIdentifierHasBeenSet = false;
199
200 Aws::String m_dBClusterSnapshotIdentifier;
201 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
202
203 Aws::String m_snapshotType;
204 bool m_snapshotTypeHasBeenSet = false;
205
206 Aws::Vector<Filter> m_filters;
207 bool m_filtersHasBeenSet = false;
208
209 int m_maxRecords{0};
210 bool m_maxRecordsHasBeenSet = false;
211
212 Aws::String m_marker;
213 bool m_markerHasBeenSet = false;
214
215 bool m_includeShared{false};
216 bool m_includeSharedHasBeenSet = false;
217
218 bool m_includePublic{false};
219 bool m_includePublicHasBeenSet = false;
220
221 Aws::String m_dbClusterResourceId;
222 bool m_dbClusterResourceIdHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace RDS
227} // namespace Aws
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBClusterSnapshotsRequest & WithMarker(MarkerT &&value)
DescribeDBClusterSnapshotsRequest & WithFilters(FiltersT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DescribeDBClusterSnapshotsRequest & AddFilters(FiltersT &&value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(SnapshotTypeT &&value)
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
DescribeDBClusterSnapshotsRequest & WithDbClusterResourceId(DbClusterResourceIdT &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DescribeDBClusterSnapshotsRequest & WithMaxRecords(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector