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/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Neptune
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NEPTUNE_API DescribeDBClusterSnapshotsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBClusterSnapshots"; }
33
34 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
49 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
50 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
51 template<typename DBClusterIdentifierT = Aws::String>
52 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
53 template<typename DBClusterIdentifierT = Aws::String>
54 DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
56
58
66 inline const Aws::String& GetDBClusterSnapshotIdentifier() const { return m_dBClusterSnapshotIdentifier; }
67 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
68 template<typename DBClusterSnapshotIdentifierT = Aws::String>
69 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value); }
70 template<typename DBClusterSnapshotIdentifierT = Aws::String>
71 DescribeDBClusterSnapshotsRequest& WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) { SetDBClusterSnapshotIdentifier(std::forward<DBClusterSnapshotIdentifierT>(value)); return *this;}
73
75
97 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
98 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
99 template<typename SnapshotTypeT = Aws::String>
100 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
101 template<typename SnapshotTypeT = Aws::String>
102 DescribeDBClusterSnapshotsRequest& WithSnapshotType(SnapshotTypeT&& value) { SetSnapshotType(std::forward<SnapshotTypeT>(value)); return *this;}
104
106
109 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
110 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
111 template<typename FiltersT = Aws::Vector<Filter>>
112 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
113 template<typename FiltersT = Aws::Vector<Filter>>
114 DescribeDBClusterSnapshotsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
115 template<typename FiltersT = Filter>
116 DescribeDBClusterSnapshotsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
118
120
126 inline int GetMaxRecords() const { return m_maxRecords; }
127 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
128 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
129 inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
131
133
139 inline const Aws::String& GetMarker() const { return m_marker; }
140 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
141 template<typename MarkerT = Aws::String>
142 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
143 template<typename MarkerT = Aws::String>
144 DescribeDBClusterSnapshotsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
146
148
155 inline bool GetIncludeShared() const { return m_includeShared; }
156 inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
157 inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
158 inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
160
162
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 Neptune
203} // namespace Aws
DescribeDBClusterSnapshotsRequest & WithFilters(FiltersT &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(SnapshotTypeT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
DescribeDBClusterSnapshotsRequest & WithMarker(MarkerT &&value)
DescribeDBClusterSnapshotsRequest & AddFilters(FiltersT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector