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/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:
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 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
56 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
57 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
60 inline DescribeDBClusterSnapshotsRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
62
64
72 inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
73 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
74 inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
75 inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
76 inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
81
83
105 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
106 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
107 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
108 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
109 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
111 inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
112 inline DescribeDBClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
114
116
119 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
120 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
121 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
122 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
124 inline DescribeDBClusterSnapshotsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
125 inline DescribeDBClusterSnapshotsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
126 inline DescribeDBClusterSnapshotsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
128
130
136 inline int GetMaxRecords() const{ return m_maxRecords; }
137 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
138 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
139 inline DescribeDBClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
141
143
148 inline const Aws::String& GetMarker() const{ return m_marker; }
149 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
150 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
151 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
152 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
153 inline DescribeDBClusterSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
154 inline DescribeDBClusterSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
155 inline DescribeDBClusterSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
157
159
165 inline bool GetIncludeShared() const{ return m_includeShared; }
166 inline bool IncludeSharedHasBeenSet() const { return m_includeSharedHasBeenSet; }
167 inline void SetIncludeShared(bool value) { m_includeSharedHasBeenSet = true; m_includeShared = value; }
168 inline DescribeDBClusterSnapshotsRequest& WithIncludeShared(bool value) { SetIncludeShared(value); return *this;}
170
172
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 DocDB
211} // namespace Aws
DescribeDBClusterSnapshotsRequest & WithMaxRecords(int value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const char *value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const char *value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithMarker(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithIncludePublic(bool value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithIncludeShared(bool value)
DescribeDBClusterSnapshotsRequest & AddFilters(Filter &&value)
DescribeDBClusterSnapshotsRequest & WithMarker(const char *value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(const Aws::String &value)
AWS_DOCDB_API Aws::String SerializePayload() const override
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClusterSnapshotsRequest & WithDBClusterIdentifier(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithMarker(const Aws::String &value)
DescribeDBClusterSnapshotsRequest & WithDBClusterSnapshotIdentifier(const char *value)
DescribeDBClusterSnapshotsRequest & WithSnapshotType(Aws::String &&value)
DescribeDBClusterSnapshotsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBClusterSnapshotsRequest & AddFilters(const Filter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector