AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeClusterParameterGroupsRequest.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& GetParameterGroupName() const{ return m_parameterGroupName; }
43 
49  inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
50 
56  inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
57 
63  inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
64 
70  inline DescribeClusterParameterGroupsRequest& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;}
71 
77  inline DescribeClusterParameterGroupsRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(value); return *this;}
78 
84  inline DescribeClusterParameterGroupsRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
85 
94  inline long GetMaxRecords() const{ return m_maxRecords; }
95 
104  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
105 
114  inline DescribeClusterParameterGroupsRequest& WithMaxRecords(long value) { SetMaxRecords(value); return *this;}
115 
124  inline const Aws::String& GetMarker() const{ return m_marker; }
125 
134  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
135 
144  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
145 
154  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
155 
164  inline DescribeClusterParameterGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
165 
174  inline DescribeClusterParameterGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
175 
184  inline DescribeClusterParameterGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
185 
194  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
195 
204  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
205 
214  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
215 
224  inline DescribeClusterParameterGroupsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
225 
234  inline DescribeClusterParameterGroupsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(value); return *this;}
235 
244  inline DescribeClusterParameterGroupsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
245 
254  inline DescribeClusterParameterGroupsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
255 
264  inline DescribeClusterParameterGroupsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
265 
274  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
275 
284  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
285 
294  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
295 
304  inline DescribeClusterParameterGroupsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
305 
314  inline DescribeClusterParameterGroupsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(value); return *this;}
315 
324  inline DescribeClusterParameterGroupsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
325 
334  inline DescribeClusterParameterGroupsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
335 
344  inline DescribeClusterParameterGroupsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
345 
346  private:
347  Aws::String m_parameterGroupName;
348  bool m_parameterGroupNameHasBeenSet;
349  long m_maxRecords;
350  bool m_maxRecordsHasBeenSet;
351  Aws::String m_marker;
352  bool m_markerHasBeenSet;
353  Aws::Vector<Aws::String> m_tagKeys;
354  bool m_tagKeysHasBeenSet;
355  Aws::Vector<Aws::String> m_tagValues;
356  bool m_tagValuesHasBeenSet;
357  };
358 
359 } // namespace Model
360 } // namespace Redshift
361 } // namespace Aws
DescribeClusterParameterGroupsRequest & WithMarker(const Aws::String &value)
DescribeClusterParameterGroupsRequest & WithParameterGroupName(Aws::String &&value)
DescribeClusterParameterGroupsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeClusterParameterGroupsRequest & WithParameterGroupName(const char *value)
DescribeClusterParameterGroupsRequest & AddTagValues(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeClusterParameterGroupsRequest & AddTagValues(Aws::String &&value)
DescribeClusterParameterGroupsRequest & AddTagKeys(Aws::String &&value)
DescribeClusterParameterGroupsRequest & AddTagKeys(const Aws::String &value)
DescribeClusterParameterGroupsRequest & AddTagKeys(const char *value)
#define AWS_REDSHIFT_API
DescribeClusterParameterGroupsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeClusterParameterGroupsRequest & WithMarker(const char *value)
DescribeClusterParameterGroupsRequest & AddTagValues(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeClusterParameterGroupsRequest & WithParameterGroupName(const Aws::String &value)
DescribeClusterParameterGroupsRequest & WithMarker(Aws::String &&value)
DescribeClusterParameterGroupsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeClusterParameterGroupsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
JSON (JavaScript Object Notation).