AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeClusterParametersRequest.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
19 
20 namespace Aws
21 {
22 namespace Redshift
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
38  inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
39 
43  inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
44 
48  inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
49 
53  inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
54 
58  inline DescribeClusterParametersRequest& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;}
59 
63  inline DescribeClusterParametersRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(value); return *this;}
64 
68  inline DescribeClusterParametersRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
69 
77  inline const Aws::String& GetSource() const{ return m_source; }
78 
86  inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
87 
95  inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = value; }
96 
104  inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
105 
113  inline DescribeClusterParametersRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
114 
122  inline DescribeClusterParametersRequest& WithSource(Aws::String&& value) { SetSource(value); return *this;}
123 
131  inline DescribeClusterParametersRequest& WithSource(const char* value) { SetSource(value); return *this;}
132 
141  inline int GetMaxRecords() const{ return m_maxRecords; }
142 
151  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
152 
161  inline DescribeClusterParametersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
162 
171  inline const Aws::String& GetMarker() const{ return m_marker; }
172 
181  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
182 
191  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
192 
201  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
202 
211  inline DescribeClusterParametersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
212 
221  inline DescribeClusterParametersRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
222 
231  inline DescribeClusterParametersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
232 
233  private:
234  Aws::String m_parameterGroupName;
235  bool m_parameterGroupNameHasBeenSet;
236  Aws::String m_source;
237  bool m_sourceHasBeenSet;
238  int m_maxRecords;
239  bool m_maxRecordsHasBeenSet;
240  Aws::String m_marker;
241  bool m_markerHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace Redshift
246 } // namespace Aws
DescribeClusterParametersRequest & WithMaxRecords(int value)
DescribeClusterParametersRequest & WithSource(const char *value)
DescribeClusterParametersRequest & WithParameterGroupName(Aws::String &&value)
DescribeClusterParametersRequest & WithParameterGroupName(const Aws::String &value)
DescribeClusterParametersRequest & WithSource(Aws::String &&value)
DescribeClusterParametersRequest & WithMarker(const Aws::String &value)
DescribeClusterParametersRequest & WithSource(const Aws::String &value)
#define AWS_REDSHIFT_API
DescribeClusterParametersRequest & WithMarker(Aws::String &&value)
DescribeClusterParametersRequest & WithParameterGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeClusterParametersRequest & WithMarker(const char *value)
JSON (JavaScript Object Notation).