AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeClusterDbRevisionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 namespace 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 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  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 
79  inline DescribeClusterDbRevisionsRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
80 
86  inline DescribeClusterDbRevisionsRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
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;
245 
246  int m_maxRecords;
247  bool m_maxRecordsHasBeenSet;
248 
249  Aws::String m_marker;
250  bool m_markerHasBeenSet;
251  };
252 
253 } // namespace Model
254 } // namespace Redshift
255 } // namespace Aws
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: DescribeClusterDbRevisionsRequest.h:65
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterDbRevisionsRequest.h:30
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeClusterDbRevisionsRequest.h:104
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterDbRevisionsRequest.h:187
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::WithMarker
DescribeClusterDbRevisionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeClusterDbRevisionsRequest.h:226
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterDbRevisionsRequest.h:148
RedshiftRequest.h
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeClusterDbRevisionsRequest.h:161
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::WithMarker
DescribeClusterDbRevisionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeClusterDbRevisionsRequest.h:213
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeClusterDbRevisionsRequest.h:114
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: DescribeClusterDbRevisionsRequest.h:72
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::WithClusterIdentifier
DescribeClusterDbRevisionsRequest & WithClusterIdentifier(const Aws::String &value)
Definition: DescribeClusterDbRevisionsRequest.h:79
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterDbRevisionsRequest.h:174
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: DescribeClusterDbRevisionsRequest.h:58
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::WithClusterIdentifier
DescribeClusterDbRevisionsRequest & WithClusterIdentifier(const char *value)
Definition: DescribeClusterDbRevisionsRequest.h:93
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeClusterDbRevisionsRequest.h:124
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::WithMarker
DescribeClusterDbRevisionsRequest & WithMarker(const char *value)
Definition: DescribeClusterDbRevisionsRequest.h:239
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::WithMaxRecords
DescribeClusterDbRevisionsRequest & WithMaxRecords(int value)
Definition: DescribeClusterDbRevisionsRequest.h:134
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest
Definition: DescribeClusterDbRevisionsRequest.h:22
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: DescribeClusterDbRevisionsRequest.h:51
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::DescribeClusterDbRevisionsRequest
DescribeClusterDbRevisionsRequest()
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterDbRevisionsRequest.h:200
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: DescribeClusterDbRevisionsRequest.h:44
Aws::Redshift::Model::DescribeClusterDbRevisionsRequest::WithClusterIdentifier
DescribeClusterDbRevisionsRequest & WithClusterIdentifier(Aws::String &&value)
Definition: DescribeClusterDbRevisionsRequest.h:86