AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeTableRestoreStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeTableRestoreStatus"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
46 
50  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
51 
55  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
56 
60  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
61 
65  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
66 
70  inline DescribeTableRestoreStatusRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
71 
75  inline DescribeTableRestoreStatusRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
76 
80  inline DescribeTableRestoreStatusRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
81 
82 
89  inline const Aws::String& GetTableRestoreRequestId() const{ return m_tableRestoreRequestId; }
90 
97  inline bool TableRestoreRequestIdHasBeenSet() const { return m_tableRestoreRequestIdHasBeenSet; }
98 
105  inline void SetTableRestoreRequestId(const Aws::String& value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId = value; }
106 
113  inline void SetTableRestoreRequestId(Aws::String&& value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId = std::move(value); }
114 
121  inline void SetTableRestoreRequestId(const char* value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId.assign(value); }
122 
129  inline DescribeTableRestoreStatusRequest& WithTableRestoreRequestId(const Aws::String& value) { SetTableRestoreRequestId(value); return *this;}
130 
137  inline DescribeTableRestoreStatusRequest& WithTableRestoreRequestId(Aws::String&& value) { SetTableRestoreRequestId(std::move(value)); return *this;}
138 
145  inline DescribeTableRestoreStatusRequest& WithTableRestoreRequestId(const char* value) { SetTableRestoreRequestId(value); return *this;}
146 
147 
154  inline int GetMaxRecords() const{ return m_maxRecords; }
155 
162  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
163 
170  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
171 
178  inline DescribeTableRestoreStatusRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
179 
180 
187  inline const Aws::String& GetMarker() const{ return m_marker; }
188 
195  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
196 
203  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
204 
211  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
212 
219  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
220 
227  inline DescribeTableRestoreStatusRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
228 
235  inline DescribeTableRestoreStatusRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
236 
243  inline DescribeTableRestoreStatusRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
244 
245  private:
246 
247  Aws::String m_clusterIdentifier;
248  bool m_clusterIdentifierHasBeenSet;
249 
250  Aws::String m_tableRestoreRequestId;
251  bool m_tableRestoreRequestIdHasBeenSet;
252 
253  int m_maxRecords;
254  bool m_maxRecordsHasBeenSet;
255 
256  Aws::String m_marker;
257  bool m_markerHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace Redshift
262 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeTableRestoreStatusRequest
Definition: DescribeTableRestoreStatusRequest.h:25
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetTableRestoreRequestId
void SetTableRestoreRequestId(Aws::String &&value)
Definition: DescribeTableRestoreStatusRequest.h:113
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeTableRestoreStatusRequest.h:203
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithMarker
DescribeTableRestoreStatusRequest & WithMarker(const char *value)
Definition: DescribeTableRestoreStatusRequest.h:243
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeTableRestoreStatusRequest.h:195
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeTableRestoreStatusRequest.h:170
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::GetTableRestoreRequestId
const Aws::String & GetTableRestoreRequestId() const
Definition: DescribeTableRestoreStatusRequest.h:89
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::TableRestoreRequestIdHasBeenSet
bool TableRestoreRequestIdHasBeenSet() const
Definition: DescribeTableRestoreStatusRequest.h:97
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: DescribeTableRestoreStatusRequest.h:65
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithTableRestoreRequestId
DescribeTableRestoreStatusRequest & WithTableRestoreRequestId(const Aws::String &value)
Definition: DescribeTableRestoreStatusRequest.h:129
RedshiftRequest.h
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: DescribeTableRestoreStatusRequest.h:45
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: DescribeTableRestoreStatusRequest.h:50
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithTableRestoreRequestId
DescribeTableRestoreStatusRequest & WithTableRestoreRequestId(Aws::String &&value)
Definition: DescribeTableRestoreStatusRequest.h:137
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeTableRestoreStatusRequest.h:154
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::DescribeTableRestoreStatusRequest
DescribeTableRestoreStatusRequest()
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeTableRestoreStatusRequest.h:219
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithClusterIdentifier
DescribeTableRestoreStatusRequest & WithClusterIdentifier(const char *value)
Definition: DescribeTableRestoreStatusRequest.h:80
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithClusterIdentifier
DescribeTableRestoreStatusRequest & WithClusterIdentifier(Aws::String &&value)
Definition: DescribeTableRestoreStatusRequest.h:75
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: DescribeTableRestoreStatusRequest.h:55
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetTableRestoreRequestId
void SetTableRestoreRequestId(const char *value)
Definition: DescribeTableRestoreStatusRequest.h:121
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithClusterIdentifier
DescribeTableRestoreStatusRequest & WithClusterIdentifier(const Aws::String &value)
Definition: DescribeTableRestoreStatusRequest.h:70
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeTableRestoreStatusRequest.h:33
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetTableRestoreRequestId
void SetTableRestoreRequestId(const Aws::String &value)
Definition: DescribeTableRestoreStatusRequest.h:105
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeTableRestoreStatusRequest.h:187
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: DescribeTableRestoreStatusRequest.h:60
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithMarker
DescribeTableRestoreStatusRequest & WithMarker(Aws::String &&value)
Definition: DescribeTableRestoreStatusRequest.h:235
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithTableRestoreRequestId
DescribeTableRestoreStatusRequest & WithTableRestoreRequestId(const char *value)
Definition: DescribeTableRestoreStatusRequest.h:145
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeTableRestoreStatusRequest.h:211
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithMarker
DescribeTableRestoreStatusRequest & WithMarker(const Aws::String &value)
Definition: DescribeTableRestoreStatusRequest.h:227
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeTableRestoreStatusRequest.h:162
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::WithMaxRecords
DescribeTableRestoreStatusRequest & WithMaxRecords(int value)
Definition: DescribeTableRestoreStatusRequest.h:178
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeTableRestoreStatusRequest::SerializePayload
Aws::String SerializePayload() const override