AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeClusterVersionsRequest.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 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
40  inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
41 
46  inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
47 
52  inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
53 
58  inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
59 
64  inline DescribeClusterVersionsRequest& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
65 
70  inline DescribeClusterVersionsRequest& WithClusterVersion(Aws::String&& value) { SetClusterVersion(value); return *this;}
71 
76  inline DescribeClusterVersionsRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
77 
84  inline const Aws::String& GetClusterParameterGroupFamily() const{ return m_clusterParameterGroupFamily; }
85 
92  inline void SetClusterParameterGroupFamily(const Aws::String& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = value; }
93 
100  inline void SetClusterParameterGroupFamily(Aws::String&& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = value; }
101 
108  inline void SetClusterParameterGroupFamily(const char* value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily.assign(value); }
109 
116  inline DescribeClusterVersionsRequest& WithClusterParameterGroupFamily(const Aws::String& value) { SetClusterParameterGroupFamily(value); return *this;}
117 
124  inline DescribeClusterVersionsRequest& WithClusterParameterGroupFamily(Aws::String&& value) { SetClusterParameterGroupFamily(value); return *this;}
125 
132  inline DescribeClusterVersionsRequest& WithClusterParameterGroupFamily(const char* value) { SetClusterParameterGroupFamily(value); return *this;}
133 
142  inline int GetMaxRecords() const{ return m_maxRecords; }
143 
152  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
153 
162  inline DescribeClusterVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
163 
172  inline const Aws::String& GetMarker() const{ return m_marker; }
173 
182  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
183 
192  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
193 
202  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
203 
212  inline DescribeClusterVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
213 
222  inline DescribeClusterVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
223 
232  inline DescribeClusterVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
233 
234  private:
235  Aws::String m_clusterVersion;
236  bool m_clusterVersionHasBeenSet;
237  Aws::String m_clusterParameterGroupFamily;
238  bool m_clusterParameterGroupFamilyHasBeenSet;
239  int m_maxRecords;
240  bool m_maxRecordsHasBeenSet;
241  Aws::String m_marker;
242  bool m_markerHasBeenSet;
243  };
244 
245 } // namespace Model
246 } // namespace Redshift
247 } // namespace Aws
DescribeClusterVersionsRequest & WithClusterVersion(Aws::String &&value)
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(Aws::String &&value)
DescribeClusterVersionsRequest & WithMarker(Aws::String &&value)
#define AWS_REDSHIFT_API
DescribeClusterVersionsRequest & WithMaxRecords(int value)
DescribeClusterVersionsRequest & WithMarker(const Aws::String &value)
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(const char *value)
DescribeClusterVersionsRequest & WithMarker(const char *value)
DescribeClusterVersionsRequest & WithClusterVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(const Aws::String &value)
DescribeClusterVersionsRequest & WithClusterVersion(const Aws::String &value)
JSON (JavaScript Object Notation).