AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBSnapshotsRequest.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 "DescribeDBSnapshots"; }
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
50 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
51 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
52 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
53 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
54 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
57 inline DescribeDBSnapshotsRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
59
61
68 inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; }
69 inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; }
70 inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; }
71 inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); }
72 inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); }
75 inline DescribeDBSnapshotsRequest& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;}
77
79
106 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
107 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
108 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
109 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
110 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
111 inline DescribeDBSnapshotsRequest& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
112 inline DescribeDBSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
113 inline DescribeDBSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
115
117
127 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
128 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
129 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
130 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
131 inline DescribeDBSnapshotsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
132 inline DescribeDBSnapshotsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
133 inline DescribeDBSnapshotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
134 inline DescribeDBSnapshotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
136
138
145 inline int GetMaxRecords() const{ return m_maxRecords; }
146 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
147 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
148 inline DescribeDBSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
150
152
158 inline const Aws::String& GetMarker() const{ return m_marker; }
159 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
160 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
161 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
162 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
163 inline DescribeDBSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
164 inline DescribeDBSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
165 inline DescribeDBSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
167
169
178 inline bool GetIncludeShared() const{ return m_includeShared; }
179 inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
180 inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
181 inline DescribeDBSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
183
185
192 inline bool GetIncludePublic() const{ return m_includePublic; }
193 inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; }
194 inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
195 inline DescribeDBSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
197
199
202 inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; }
203 inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
204 inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; }
205 inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); }
206 inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); }
207 inline DescribeDBSnapshotsRequest& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;}
208 inline DescribeDBSnapshotsRequest& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;}
209 inline DescribeDBSnapshotsRequest& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;}
211 private:
212
213 Aws::String m_dBInstanceIdentifier;
214 bool m_dBInstanceIdentifierHasBeenSet = false;
215
216 Aws::String m_dBSnapshotIdentifier;
217 bool m_dBSnapshotIdentifierHasBeenSet = false;
218
219 Aws::String m_snapshotType;
220 bool m_snapshotTypeHasBeenSet = false;
221
222 Aws::Vector<Filter> m_filters;
223 bool m_filtersHasBeenSet = false;
224
225 int m_maxRecords;
226 bool m_maxRecordsHasBeenSet = false;
227
228 Aws::String m_marker;
229 bool m_markerHasBeenSet = false;
230
231 bool m_includeShared;
232 bool m_includeSharedHasBeenSet = false;
233
234 bool m_includePublic;
235 bool m_includePublicHasBeenSet = false;
236
237 Aws::String m_dbiResourceId;
238 bool m_dbiResourceIdHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace RDS
243} // namespace Aws
DescribeDBSnapshotsRequest & WithIncludeShared(bool value)
DescribeDBSnapshotsRequest & WithDBInstanceIdentifier(const char *value)
DescribeDBSnapshotsRequest & WithFilters(Aws::Vector< Filter > &&value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBSnapshotsRequest & WithDbiResourceId(Aws::String &&value)
DescribeDBSnapshotsRequest & WithDBInstanceIdentifier(Aws::String &&value)
DescribeDBSnapshotsRequest & WithDBInstanceIdentifier(const Aws::String &value)
DescribeDBSnapshotsRequest & WithDBSnapshotIdentifier(Aws::String &&value)
DescribeDBSnapshotsRequest & WithMarker(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeDBSnapshotsRequest & WithMarker(const Aws::String &value)
DescribeDBSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeDBSnapshotsRequest & WithMaxRecords(int value)
DescribeDBSnapshotsRequest & AddFilters(Filter &&value)
DescribeDBSnapshotsRequest & WithMarker(Aws::String &&value)
DescribeDBSnapshotsRequest & WithDBSnapshotIdentifier(const char *value)
DescribeDBSnapshotsRequest & WithSnapshotType(const char *value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBSnapshotsRequest & WithDBSnapshotIdentifier(const Aws::String &value)
DescribeDBSnapshotsRequest & WithDbiResourceId(const char *value)
DescribeDBSnapshotsRequest & WithIncludePublic(bool value)
DescribeDBSnapshotsRequest & WithFilters(const Aws::Vector< Filter > &value)
const Aws::Vector< Filter > & GetFilters() const
DescribeDBSnapshotsRequest & WithDbiResourceId(const Aws::String &value)
DescribeDBSnapshotsRequest & WithSnapshotType(Aws::String &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBSnapshotsRequest & AddFilters(const Filter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector