AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeClustersRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace Redshift
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
42  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
43 
49  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
50 
56  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
57 
63  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
64 
70  inline DescribeClustersRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
71 
77  inline DescribeClustersRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(value); return *this;}
78 
84  inline DescribeClustersRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
85 
94  inline int GetMaxRecords() const{ return m_maxRecords; }
95 
104  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
105 
114  inline DescribeClustersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
115 
126  inline const Aws::String& GetMarker() const{ return m_marker; }
127 
138  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
139 
150  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
151 
162  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
163 
174  inline DescribeClustersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
175 
186  inline DescribeClustersRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
187 
198  inline DescribeClustersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
199 
208  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
209 
218  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
219 
228  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
229 
238  inline DescribeClustersRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
239 
248  inline DescribeClustersRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(value); return *this;}
249 
258  inline DescribeClustersRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
259 
268  inline DescribeClustersRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
269 
278  inline DescribeClustersRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
279 
288  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
289 
298  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
299 
308  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
309 
318  inline DescribeClustersRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
319 
328  inline DescribeClustersRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(value); return *this;}
329 
338  inline DescribeClustersRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
339 
348  inline DescribeClustersRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
349 
358  inline DescribeClustersRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
359 
360  private:
361  Aws::String m_clusterIdentifier;
362  bool m_clusterIdentifierHasBeenSet;
363  int m_maxRecords;
364  bool m_maxRecordsHasBeenSet;
365  Aws::String m_marker;
366  bool m_markerHasBeenSet;
367  Aws::Vector<Aws::String> m_tagKeys;
368  bool m_tagKeysHasBeenSet;
369  Aws::Vector<Aws::String> m_tagValues;
370  bool m_tagValuesHasBeenSet;
371  };
372 
373 } // namespace Model
374 } // namespace Redshift
375 } // namespace Aws
DescribeClustersRequest & WithClusterIdentifier(Aws::String &&value)
DescribeClustersRequest & AddTagKeys(Aws::String &&value)
const Aws::Vector< Aws::String > & GetTagKeys() const
DescribeClustersRequest & AddTagValues(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTagValues() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeClustersRequest & WithClusterIdentifier(const Aws::String &value)
DescribeClustersRequest & AddTagValues(const char *value)
#define AWS_REDSHIFT_API
DescribeClustersRequest & WithMarker(const Aws::String &value)
void SetTagValues(Aws::Vector< Aws::String > &&value)
DescribeClustersRequest & WithMaxRecords(int value)
DescribeClustersRequest & WithClusterIdentifier(const char *value)
void SetTagKeys(const Aws::Vector< Aws::String > &value)
void SetTagKeys(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeClustersRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeClustersRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeClustersRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeClustersRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeClustersRequest & AddTagValues(Aws::String &&value)
void SetTagValues(const Aws::Vector< Aws::String > &value)
DescribeClustersRequest & AddTagKeys(const char *value)
DescribeClustersRequest & AddTagKeys(const Aws::String &value)
DescribeClustersRequest & WithMarker(const char *value)
DescribeClustersRequest & WithMarker(Aws::String &&value)
JSON (JavaScript Object Notation).