AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
55 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
56 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
59 inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
61
63
71 inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
72 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
73 inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
74 inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
75 inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
80
82
103 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
104 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
105 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
106 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
107 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
109 inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
110 inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
112
114
123 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
124 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
125 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
126 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
128 inline DescribeDBClusterSnapshotsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
129 inline DescribeDBClusterSnapshotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
130 inline DescribeDBClusterSnapshotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
132
134
140 inline int GetMaxRecords() const{ return m_maxRecords; }
141 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
142 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
143 inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
145
147
153 inline const Aws::String& GetMarker() const{ return m_marker; }
154 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
155 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
156 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
157 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
158 inline DescribeDBClusterSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
159 inline DescribeDBClusterSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
160 inline DescribeDBClusterSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
162
164
172 inline bool GetIncludeShared() const{ return m_includeShared; }
173 inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
174 inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
175 inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
177
179
186 inline bool GetIncludePublic() const{ return m_includePublic; }
187 inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; }
188 inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
189 inline DescribeDBClusterSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
191
193
196 inline const Aws::String& GetDbClusterResourceId() const{ return m_dbClusterResourceId; }
197 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
198 inline void SetDbClusterResourceId(const Aws::String& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = value; }
199 inline void SetDbClusterResourceId(Aws::String&& value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId = std::move(value); }
200 inline void SetDbClusterResourceId(const char* value) { m_dbClusterResourceIdHasBeenSet = true; m_dbClusterResourceId.assign(value); }
203 inline DescribeDBClusterSnapshotsRequest& WithDbClusterResourceId(const char* value) { SetDbClusterResourceId(value); return *this;}
205 private:
206
207 Aws::String m_dBClusterIdentifier;
208 bool m_dBClusterIdentifierHasBeenSet = false;
209
210 Aws::String m_dBClusterSnapshotIdentifier;
211 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
212
213 Aws::String m_snapshotType;
214 bool m_snapshotTypeHasBeenSet = false;
215
216 Aws::Vector<Filter> m_filters;
217 bool m_filtersHasBeenSet = false;
218
219 int m_maxRecords;
220 bool m_maxRecordsHasBeenSet = false;
221
222 Aws::String m_marker;
223 bool m_markerHasBeenSet = false;
224
225 bool m_includeShared;
226 bool m_includeSharedHasBeenSet = false;
227
228 bool m_includePublic;
229 bool m_includePublicHasBeenSet = false;
230
231 Aws::String m_dbClusterResourceId;
232 bool m_dbClusterResourceIdHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace RDS
237} // namespace Aws
DescribeDBClusterSnapshotsRequest & WithMarker(Aws::String &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const char *value)
DescribeDBClusterSnapshotsRequest & AddFilters(Filter &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClusterSnapshotsRequest & WithMarker(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClusterSnapshotsRequest & WithMarker(const char *value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const char *value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
DescribeDBClusterSnapshotsRequest & AddFilters(const Filter &value)
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithDbClusterResourceId(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithDbClusterResourceId(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithMaxRecords(int value)
DescribeDBClusterSnapshotsRequest & WithDbClusterResourceId(const char *value)
DescribeDBClusterSnapshotsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector