AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeTableRestoreStatusRequest.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& GetClusterIdentifier() const{ return m_clusterIdentifier; }
39 
43  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
44 
48  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
49 
53  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
54 
58  inline DescribeTableRestoreStatusRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
59 
63  inline DescribeTableRestoreStatusRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(value); return *this;}
64 
68  inline DescribeTableRestoreStatusRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
69 
76  inline const Aws::String& GetTableRestoreRequestId() const{ return m_tableRestoreRequestId; }
77 
84  inline void SetTableRestoreRequestId(const Aws::String& value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId = value; }
85 
92  inline void SetTableRestoreRequestId(Aws::String&& value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId = value; }
93 
100  inline void SetTableRestoreRequestId(const char* value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId.assign(value); }
101 
108  inline DescribeTableRestoreStatusRequest& WithTableRestoreRequestId(const Aws::String& value) { SetTableRestoreRequestId(value); return *this;}
109 
116  inline DescribeTableRestoreStatusRequest& WithTableRestoreRequestId(Aws::String&& value) { SetTableRestoreRequestId(value); return *this;}
117 
124  inline DescribeTableRestoreStatusRequest& WithTableRestoreRequestId(const char* value) { SetTableRestoreRequestId(value); return *this;}
125 
132  inline int GetMaxRecords() const{ return m_maxRecords; }
133 
140  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
141 
148  inline DescribeTableRestoreStatusRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
149 
156  inline const Aws::String& GetMarker() const{ return m_marker; }
157 
164  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
165 
172  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
173 
180  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
181 
188  inline DescribeTableRestoreStatusRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
189 
196  inline DescribeTableRestoreStatusRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
197 
204  inline DescribeTableRestoreStatusRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
205 
206  private:
207  Aws::String m_clusterIdentifier;
208  bool m_clusterIdentifierHasBeenSet;
209  Aws::String m_tableRestoreRequestId;
210  bool m_tableRestoreRequestIdHasBeenSet;
211  int m_maxRecords;
212  bool m_maxRecordsHasBeenSet;
213  Aws::String m_marker;
214  bool m_markerHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace Redshift
219 } // namespace Aws
DescribeTableRestoreStatusRequest & WithMarker(Aws::String &&value)
DescribeTableRestoreStatusRequest & WithMarker(const Aws::String &value)
DescribeTableRestoreStatusRequest & WithTableRestoreRequestId(const char *value)
DescribeTableRestoreStatusRequest & WithClusterIdentifier(const Aws::String &value)
#define AWS_REDSHIFT_API
DescribeTableRestoreStatusRequest & WithTableRestoreRequestId(const Aws::String &value)
DescribeTableRestoreStatusRequest & WithMarker(const char *value)
DescribeTableRestoreStatusRequest & WithClusterIdentifier(const char *value)
DescribeTableRestoreStatusRequest & WithClusterIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeTableRestoreStatusRequest & WithTableRestoreRequestId(Aws::String &&value)
JSON (JavaScript Object Notation).