AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeReservedNodesRequest.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 
39  inline const Aws::String& GetReservedNodeId() const{ return m_reservedNodeId; }
40 
44  inline void SetReservedNodeId(const Aws::String& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; }
45 
49  inline void SetReservedNodeId(Aws::String&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; }
50 
54  inline void SetReservedNodeId(const char* value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId.assign(value); }
55 
59  inline DescribeReservedNodesRequest& WithReservedNodeId(const Aws::String& value) { SetReservedNodeId(value); return *this;}
60 
64  inline DescribeReservedNodesRequest& WithReservedNodeId(Aws::String&& value) { SetReservedNodeId(value); return *this;}
65 
69  inline DescribeReservedNodesRequest& WithReservedNodeId(const char* value) { SetReservedNodeId(value); return *this;}
70 
79  inline long GetMaxRecords() const{ return m_maxRecords; }
80 
89  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
90 
99  inline DescribeReservedNodesRequest& WithMaxRecords(long value) { SetMaxRecords(value); return *this;}
100 
109  inline const Aws::String& GetMarker() const{ return m_marker; }
110 
119  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
120 
129  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
130 
139  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
140 
149  inline DescribeReservedNodesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
150 
159  inline DescribeReservedNodesRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
160 
169  inline DescribeReservedNodesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
170 
171  private:
172  Aws::String m_reservedNodeId;
173  bool m_reservedNodeIdHasBeenSet;
174  long m_maxRecords;
175  bool m_maxRecordsHasBeenSet;
176  Aws::String m_marker;
177  bool m_markerHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace Redshift
182 } // namespace Aws
#define AWS_REDSHIFT_API
DescribeReservedNodesRequest & WithReservedNodeId(const Aws::String &value)
DescribeReservedNodesRequest & WithReservedNodeId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeReservedNodesRequest & WithMarker(const char *value)
DescribeReservedNodesRequest & WithMarker(Aws::String &&value)
DescribeReservedNodesRequest & WithMaxRecords(long value)
DescribeReservedNodesRequest & WithMarker(const Aws::String &value)
JSON (JavaScript Object Notation).
DescribeReservedNodesRequest & WithReservedNodeId(Aws::String &&value)