AWS SDK for C++  1.9.110
AWS SDK for C++
DescribeClustersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Redshift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeClusters"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
48  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
49 
55  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
56 
62  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
63 
69  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
70 
76  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
77 
83  inline DescribeClustersRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
84 
90  inline DescribeClustersRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
91 
97  inline DescribeClustersRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
98 
99 
108  inline int GetMaxRecords() const{ return m_maxRecords; }
109 
118  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
119 
128  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
129 
138  inline DescribeClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
139 
140 
151  inline const Aws::String& GetMarker() const{ return m_marker; }
152 
163  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
164 
175  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
176 
187  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
188 
199  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
200 
211  inline DescribeClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
212 
223  inline DescribeClustersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
224 
235  inline DescribeClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
236 
237 
246  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
247 
256  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
257 
266  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
267 
276  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
277 
286  inline DescribeClustersRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
287 
296  inline DescribeClustersRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
297 
306  inline DescribeClustersRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
307 
316  inline DescribeClustersRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
317 
326  inline DescribeClustersRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
327 
328 
337  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
338 
347  inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
348 
357  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
358 
367  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
368 
377  inline DescribeClustersRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
378 
387  inline DescribeClustersRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
388 
397  inline DescribeClustersRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
398 
407  inline DescribeClustersRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
408 
417  inline DescribeClustersRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
418 
419  private:
420 
421  Aws::String m_clusterIdentifier;
422  bool m_clusterIdentifierHasBeenSet;
423 
424  int m_maxRecords;
425  bool m_maxRecordsHasBeenSet;
426 
427  Aws::String m_marker;
428  bool m_markerHasBeenSet;
429 
430  Aws::Vector<Aws::String> m_tagKeys;
431  bool m_tagKeysHasBeenSet;
432 
433  Aws::Vector<Aws::String> m_tagValues;
434  bool m_tagValuesHasBeenSet;
435  };
436 
437 } // namespace Model
438 } // namespace Redshift
439 } // namespace Aws
Aws::Redshift::Model::DescribeClustersRequest::WithMarker
DescribeClustersRequest & WithMarker(Aws::String &&value)
Definition: DescribeClustersRequest.h:223
Aws::Redshift::Model::DescribeClustersRequest::GetTagValues
const Aws::Vector< Aws::String > & GetTagValues() const
Definition: DescribeClustersRequest.h:337
Aws::Redshift::Model::DescribeClustersRequest::AddTagValues
DescribeClustersRequest & AddTagValues(Aws::String &&value)
Definition: DescribeClustersRequest.h:407
Aws::Redshift::Model::DescribeClustersRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClustersRequest.h:175
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeClustersRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeClustersRequest.h:128
Aws::Redshift::Model::DescribeClustersRequest::WithTagValues
DescribeClustersRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeClustersRequest.h:377
Aws::Redshift::Model::DescribeClustersRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeClustersRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeClustersRequest.h:108
Aws::Redshift::Model::DescribeClustersRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeClustersRequest.h:199
Aws::Redshift::Model::DescribeClustersRequest::AddTagKeys
DescribeClustersRequest & AddTagKeys(Aws::String &&value)
Definition: DescribeClustersRequest.h:316
Aws::Redshift::Model::DescribeClustersRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: DescribeClustersRequest.h:55
Aws::Redshift::Model::DescribeClustersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClustersRequest.h:34
Aws::Redshift::Model::DescribeClustersRequest::DescribeClustersRequest
DescribeClustersRequest()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RedshiftRequest.h
Aws::Redshift::Model::DescribeClustersRequest::WithTagKeys
DescribeClustersRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeClustersRequest.h:286
AWSVector.h
Aws::Redshift::Model::DescribeClustersRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeClustersRequest.h:266
Aws::Redshift::Model::DescribeClustersRequest::WithClusterIdentifier
DescribeClustersRequest & WithClusterIdentifier(const Aws::String &value)
Definition: DescribeClustersRequest.h:83
Aws::Redshift::Model::DescribeClustersRequest::WithClusterIdentifier
DescribeClustersRequest & WithClusterIdentifier(Aws::String &&value)
Definition: DescribeClustersRequest.h:90
Aws::Redshift::Model::DescribeClustersRequest::AddTagKeys
DescribeClustersRequest & AddTagKeys(const char *value)
Definition: DescribeClustersRequest.h:326
Aws::Redshift::Model::DescribeClustersRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: DescribeClustersRequest.h:69
Aws::Redshift::Model::DescribeClustersRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: DescribeClustersRequest.h:62
Aws::Redshift::Model::DescribeClustersRequest::WithMarker
DescribeClustersRequest & WithMarker(const char *value)
Definition: DescribeClustersRequest.h:235
Aws::Redshift::Model::DescribeClustersRequest::WithClusterIdentifier
DescribeClustersRequest & WithClusterIdentifier(const char *value)
Definition: DescribeClustersRequest.h:97
Aws::Redshift::Model::DescribeClustersRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DescribeClustersRequest.h:256
Aws::Redshift::Model::DescribeClustersRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: DescribeClustersRequest.h:76
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClustersRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClustersRequest.h:187
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeClustersRequest::AddTagValues
DescribeClustersRequest & AddTagValues(const char *value)
Definition: DescribeClustersRequest.h:417
Aws::Redshift::Model::DescribeClustersRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClustersRequest.h:151
Aws::Redshift::Model::DescribeClustersRequest::WithTagValues
DescribeClustersRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeClustersRequest.h:387
Aws::Redshift::Model::DescribeClustersRequest
Definition: DescribeClustersRequest.h:26
Aws::Redshift::Model::DescribeClustersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeClustersRequest::SetTagValues
void SetTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeClustersRequest.h:357
Aws::Redshift::Model::DescribeClustersRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeClustersRequest.h:276
Aws::Redshift::Model::DescribeClustersRequest::AddTagKeys
DescribeClustersRequest & AddTagKeys(const Aws::String &value)
Definition: DescribeClustersRequest.h:306
Aws::Redshift::Model::DescribeClustersRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeClustersRequest.h:118
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeClustersRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DescribeClustersRequest.h:246
Aws::Redshift::Model::DescribeClustersRequest::WithTagKeys
DescribeClustersRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeClustersRequest.h:296
Aws::Redshift::Model::DescribeClustersRequest::WithMaxRecords
DescribeClustersRequest & WithMaxRecords(int value)
Definition: DescribeClustersRequest.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeClustersRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: DescribeClustersRequest.h:48
Aws::Redshift::Model::DescribeClustersRequest::TagValuesHasBeenSet
bool TagValuesHasBeenSet() const
Definition: DescribeClustersRequest.h:347
Aws::Redshift::Model::DescribeClustersRequest::AddTagValues
DescribeClustersRequest & AddTagValues(const Aws::String &value)
Definition: DescribeClustersRequest.h:397
Aws::Redshift::Model::DescribeClustersRequest::SetTagValues
void SetTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeClustersRequest.h:367
Aws::Redshift::Model::DescribeClustersRequest::WithMarker
DescribeClustersRequest & WithMarker(const Aws::String &value)
Definition: DescribeClustersRequest.h:211
Aws::Redshift::Model::DescribeClustersRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeClustersRequest.h:163