AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeClusterDbRevisionsRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterDbRevisions"; }
31
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
44 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
45
51 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
52
58 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
59
65 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
66
72 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
73
80
87
93 inline DescribeClusterDbRevisionsRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
94
95
104 inline int GetMaxRecords() const{ return m_maxRecords; }
105
114 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
115
124 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
125
134 inline DescribeClusterDbRevisionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
135
136
148 inline const Aws::String& GetMarker() const{ return m_marker; }
149
161 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
162
174 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
175
187 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
188
200 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
201
213 inline DescribeClusterDbRevisionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
214
226 inline DescribeClusterDbRevisionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
227
239 inline DescribeClusterDbRevisionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
240
241 private:
242
243 Aws::String m_clusterIdentifier;
244 bool m_clusterIdentifierHasBeenSet = false;
245
246 int m_maxRecords;
247 bool m_maxRecordsHasBeenSet = false;
248
249 Aws::String m_marker;
250 bool m_markerHasBeenSet = false;
251 };
252
253} // namespace Model
254} // namespace Redshift
255} // namespace Aws
#define AWS_REDSHIFT_API
DescribeClusterDbRevisionsRequest & WithMarker(const Aws::String &value)
DescribeClusterDbRevisionsRequest & WithClusterIdentifier(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClusterDbRevisionsRequest & WithClusterIdentifier(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterDbRevisionsRequest & WithMarker(Aws::String &&value)
DescribeClusterDbRevisionsRequest & WithClusterIdentifier(const Aws::String &value)
DescribeClusterDbRevisionsRequest & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String