AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeOrderableClusterOptionsRequest.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 
42  inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
43 
50  inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
51 
58  inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
59 
66  inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
67 
74  inline DescribeOrderableClusterOptionsRequest& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
75 
82  inline DescribeOrderableClusterOptionsRequest& WithClusterVersion(Aws::String&& value) { SetClusterVersion(value); return *this;}
83 
90  inline DescribeOrderableClusterOptionsRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
91 
96  inline const Aws::String& GetNodeType() const{ return m_nodeType; }
97 
102  inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
103 
108  inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
109 
114  inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
115 
120  inline DescribeOrderableClusterOptionsRequest& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
121 
126  inline DescribeOrderableClusterOptionsRequest& WithNodeType(Aws::String&& value) { SetNodeType(value); return *this;}
127 
132  inline DescribeOrderableClusterOptionsRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;}
133 
142  inline long GetMaxRecords() const{ return m_maxRecords; }
143 
152  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
153 
162  inline DescribeOrderableClusterOptionsRequest& WithMaxRecords(long 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 DescribeOrderableClusterOptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
213 
222  inline DescribeOrderableClusterOptionsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
223 
232  inline DescribeOrderableClusterOptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
233 
234  private:
235  Aws::String m_clusterVersion;
236  bool m_clusterVersionHasBeenSet;
237  Aws::String m_nodeType;
238  bool m_nodeTypeHasBeenSet;
239  long 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
DescribeOrderableClusterOptionsRequest & WithClusterVersion(const char *value)
DescribeOrderableClusterOptionsRequest & WithClusterVersion(const Aws::String &value)
DescribeOrderableClusterOptionsRequest & WithNodeType(const Aws::String &value)
DescribeOrderableClusterOptionsRequest & WithMarker(const char *value)
#define AWS_REDSHIFT_API
DescribeOrderableClusterOptionsRequest & WithNodeType(const char *value)
DescribeOrderableClusterOptionsRequest & WithClusterVersion(Aws::String &&value)
DescribeOrderableClusterOptionsRequest & WithMarker(const Aws::String &value)
DescribeOrderableClusterOptionsRequest & WithNodeType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).
DescribeOrderableClusterOptionsRequest & WithMarker(Aws::String &&value)