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/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:
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 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
52 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
53 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
56 inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
58
60
68 inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
69 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
70 inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
71 inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
72 inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
77
79
101 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
102 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
103 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
104 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
105 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
107 inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
108 inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
110
112
115 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
116 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
117 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
118 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
120 inline DescribeDBClusterSnapshotsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
121 inline DescribeDBClusterSnapshotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
122 inline DescribeDBClusterSnapshotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
124
126
132 inline int GetMaxRecords() const{ return m_maxRecords; }
133 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
134 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
135 inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
137
139
145 inline const Aws::String& GetMarker() const{ return m_marker; }
146 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
147 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
148 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
149 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
150 inline DescribeDBClusterSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
151 inline DescribeDBClusterSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
152 inline DescribeDBClusterSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
154
156
163 inline bool GetIncludeShared() const{ return m_includeShared; }
164 inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
165 inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
166 inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
168
170
177 inline bool GetIncludePublic() const{ return m_includePublic; }
178 inline bool IncludePublicHasBeenSet() const { return m_includePublicHasBeenSet; }
179 inline void SetIncludePublic(bool value) { m_includePublicHasBeenSet = true; m_includePublic = value; }
180 inline DescribeDBClusterSnapshotsRequest& WithIncludePublic(bool value) { SetIncludePublic(value); return *this;}
182 private:
183
184 Aws::String m_dBClusterIdentifier;
185 bool m_dBClusterIdentifierHasBeenSet = false;
186
187 Aws::String m_dBClusterSnapshotIdentifier;
188 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
189
190 Aws::String m_snapshotType;
191 bool m_snapshotTypeHasBeenSet = false;
192
193 Aws::Vector<Filter> m_filters;
194 bool m_filtersHasBeenSet = false;
195
196 int m_maxRecords;
197 bool m_maxRecordsHasBeenSet = false;
198
199 Aws::String m_marker;
200 bool m_markerHasBeenSet = false;
201
202 bool m_includeShared;
203 bool m_includeSharedHasBeenSet = false;
204
205 bool m_includePublic;
206 bool m_includePublicHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace Neptune
211} // namespace Aws
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const char *value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
DescribeDBClusterSnapshotsRequest & WithMarker(const char *value)
DescribeDBClusterSnapshotsRequest & WithMarker(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const char *value)
DescribeDBClusterSnapshotsRequest & WithMarker(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const char *value)
DescribeDBClusterSnapshotsRequest & AddFilters(const Filter &value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClusterSnapshotsRequest & AddFilters(Filter &&value)
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
DescribeDBClusterSnapshotsRequest & WithFilters(const Aws::Vector< Filter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector