AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeDBClusterSnapshotsRequest.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DocDB
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_DOCDB_API DescribeDBClusterSnapshotsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBClusterSnapshots"; }
37
38 AWS_DOCDB_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
53 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
54 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
55 template<typename DBClusterIdentifierT = Aws::String>
56 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
57 template<typename DBClusterIdentifierT = Aws::String>
58 DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
60
62
70 inline const Aws::String& GetDBClusterSnapshotIdentifier() const { return m_dBClusterSnapshotIdentifier; }
71 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
72 template<typename DBClusterSnapshotIdentifierT = Aws::String>
73 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
74 template<typename DBClusterSnapshotIdentifierT = Aws::String>
75 DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { SetDBClusterSnapshotIdentifier(std::forward<DBClusterSnapshotIdentifierT>(value)); return *this;}
77
79
101 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
102 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
103 template<typename SnapshotTypeT = Aws::String>
104 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
105 template<typename SnapshotTypeT = Aws::String>
106 DescribeDBClusterSnapshotsRequest& WithSnapshotType(SnapshotTypeT&& value) { SetSnapshotType(std::forward<SnapshotTypeT>(value)); return *this;}
108
110
113 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
114 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
115 template<typename FiltersT = Aws::Vector<Filter>>
116 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
117 template<typename FiltersT = Aws::Vector<Filter>>
118 DescribeDBClusterSnapshotsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
119 template<typename FiltersT = Filter>
120 DescribeDBClusterSnapshotsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
122
124
130 inline int GetMaxRecords() const { return m_maxRecords; }
131 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
132 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
133 inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
135
137
142 inline const Aws::String& GetMarker() const { return m_marker; }
143 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
144 template<typename MarkerT = Aws::String>
145 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
146 template<typename MarkerT = Aws::String>
147 DescribeDBClusterSnapshotsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
149
151
157 inline bool GetIncludeShared() const { return m_includeShared; }
158 inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
159 inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
160 inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
162
164
169 inline bool GetIncludePublic() const { return m_includePublic; }
170 inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; }
171 inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
172 inline DescribeDBClusterSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
174 private:
175
176 Aws::String m_dBClusterIdentifier;
177 bool m_dBClusterIdentifierHasBeenSet = false;
178
179 Aws::String m_dBClusterSnapshotIdentifier;
180 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
181
182 Aws::String m_snapshotType;
183 bool m_snapshotTypeHasBeenSet = false;
184
185 Aws::Vector<Filter> m_filters;
186 bool m_filtersHasBeenSet = false;
187
188 int m_maxRecords{0};
189 bool m_maxRecordsHasBeenSet = false;
190
191 Aws::String m_marker;
192 bool m_markerHasBeenSet = false;
193
194 bool m_includeShared{false};
195 bool m_includeSharedHasBeenSet = false;
196
197 bool m_includePublic{false};
198 bool m_includePublicHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace DocDB
203} // namespace Aws
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DescribeDBClusterSnapshotsRequest & WithMaxRecords(int value)
DescribeDBClusterSnapshotsRequest & WithFilters(FiltersT &&value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClusterSnapshotsRequest & AddFilters(FiltersT &&value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(SnapshotTypeT &&value)
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
AWS_DOCDB_API Aws::String SerializePayload() const override
DescribeDBClusterSnapshotsRequest & WithMarker(MarkerT &&value)
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector