AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeClusterVersionsRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterVersions"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
46 
50  inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
51 
55  inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
56 
60  inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
61 
65  inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
66 
70  inline DescribeClusterVersionsRequest& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
71 
75  inline DescribeClusterVersionsRequest& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
76 
80  inline DescribeClusterVersionsRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
81 
82 
89  inline const Aws::String& GetClusterParameterGroupFamily() const{ return m_clusterParameterGroupFamily; }
90 
97  inline bool ClusterParameterGroupFamilyHasBeenSet() const { return m_clusterParameterGroupFamilyHasBeenSet; }
98 
105  inline void SetClusterParameterGroupFamily(const Aws::String& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = value; }
106 
113  inline void SetClusterParameterGroupFamily(Aws::String&& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = std::move(value); }
114 
121  inline void SetClusterParameterGroupFamily(const char* value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily.assign(value); }
122 
129  inline DescribeClusterVersionsRequest& WithClusterParameterGroupFamily(const Aws::String& value) { SetClusterParameterGroupFamily(value); return *this;}
130 
137  inline DescribeClusterVersionsRequest& WithClusterParameterGroupFamily(Aws::String&& value) { SetClusterParameterGroupFamily(std::move(value)); return *this;}
138 
145  inline DescribeClusterVersionsRequest& WithClusterParameterGroupFamily(const char* value) { SetClusterParameterGroupFamily(value); return *this;}
146 
147 
156  inline int GetMaxRecords() const{ return m_maxRecords; }
157 
166  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
167 
176  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
177 
186  inline DescribeClusterVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
187 
188 
197  inline const Aws::String& GetMarker() const{ return m_marker; }
198 
207  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
208 
217  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
218 
227  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
228 
237  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
238 
247  inline DescribeClusterVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
248 
257  inline DescribeClusterVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
258 
267  inline DescribeClusterVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
268 
269  private:
270 
271  Aws::String m_clusterVersion;
272  bool m_clusterVersionHasBeenSet;
273 
274  Aws::String m_clusterParameterGroupFamily;
275  bool m_clusterParameterGroupFamilyHasBeenSet;
276 
277  int m_maxRecords;
278  bool m_maxRecordsHasBeenSet;
279 
280  Aws::String m_marker;
281  bool m_markerHasBeenSet;
282  };
283 
284 } // namespace Model
285 } // namespace Redshift
286 } // namespace Aws
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetClusterVersion
void SetClusterVersion(const char *value)
Definition: DescribeClusterVersionsRequest.h:65
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetClusterParameterGroupFamily
void SetClusterParameterGroupFamily(const char *value)
Definition: DescribeClusterVersionsRequest.h:121
Aws::Redshift::Model::DescribeClusterVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterVersionsRequest.h:33
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetClusterParameterGroupFamily
void SetClusterParameterGroupFamily(const Aws::String &value)
Definition: DescribeClusterVersionsRequest.h:105
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithMaxRecords
DescribeClusterVersionsRequest & WithMaxRecords(int value)
Definition: DescribeClusterVersionsRequest.h:186
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetClusterParameterGroupFamily
void SetClusterParameterGroupFamily(Aws::String &&value)
Definition: DescribeClusterVersionsRequest.h:113
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeClusterVersionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeClusterVersionsRequest.h:207
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeClusterVersionsRequest.h:176
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetClusterVersion
void SetClusterVersion(const Aws::String &value)
Definition: DescribeClusterVersionsRequest.h:55
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithClusterParameterGroupFamily
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(const char *value)
Definition: DescribeClusterVersionsRequest.h:145
Aws::Redshift::Model::DescribeClusterVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithClusterVersion
DescribeClusterVersionsRequest & WithClusterVersion(const char *value)
Definition: DescribeClusterVersionsRequest.h:80
Aws::Redshift::Model::DescribeClusterVersionsRequest::ClusterParameterGroupFamilyHasBeenSet
bool ClusterParameterGroupFamilyHasBeenSet() const
Definition: DescribeClusterVersionsRequest.h:97
RedshiftRequest.h
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithMarker
DescribeClusterVersionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeClusterVersionsRequest.h:247
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithClusterParameterGroupFamily
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(const Aws::String &value)
Definition: DescribeClusterVersionsRequest.h:129
Aws::Redshift::Model::DescribeClusterVersionsRequest::GetClusterParameterGroupFamily
const Aws::String & GetClusterParameterGroupFamily() const
Definition: DescribeClusterVersionsRequest.h:89
Aws::Redshift::Model::DescribeClusterVersionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithMarker
DescribeClusterVersionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeClusterVersionsRequest.h:257
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithMarker
DescribeClusterVersionsRequest & WithMarker(const char *value)
Definition: DescribeClusterVersionsRequest.h:267
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClusterVersionsRequest::GetClusterVersion
const Aws::String & GetClusterVersion() const
Definition: DescribeClusterVersionsRequest.h:45
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeClusterVersionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeClusterVersionsRequest.h:166
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterVersionsRequest.h:217
Aws::Redshift::Model::DescribeClusterVersionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterVersionsRequest.h:197
Aws::Redshift::Model::DescribeClusterVersionsRequest
Definition: DescribeClusterVersionsRequest.h:25
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterVersionsRequest.h:227
Aws::Redshift::Model::DescribeClusterVersionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeClusterVersionsRequest.h:156
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetClusterVersion
void SetClusterVersion(Aws::String &&value)
Definition: DescribeClusterVersionsRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeClusterVersionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterVersionsRequest.h:237
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithClusterVersion
DescribeClusterVersionsRequest & WithClusterVersion(Aws::String &&value)
Definition: DescribeClusterVersionsRequest.h:75
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeClusterVersionsRequest::DescribeClusterVersionsRequest
DescribeClusterVersionsRequest()
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithClusterVersion
DescribeClusterVersionsRequest & WithClusterVersion(const Aws::String &value)
Definition: DescribeClusterVersionsRequest.h:70
Aws::Redshift::Model::DescribeClusterVersionsRequest::WithClusterParameterGroupFamily
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(Aws::String &&value)
Definition: DescribeClusterVersionsRequest.h:137
Aws::Redshift::Model::DescribeClusterVersionsRequest::ClusterVersionHasBeenSet
bool ClusterVersionHasBeenSet() const
Definition: DescribeClusterVersionsRequest.h:50