AWS SDK for C++  1.9.110
AWS SDK for C++
DescribeClusterTracksRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterTracks"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
43 
47  inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
48 
52  inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
53 
57  inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
58 
62  inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
63 
67  inline DescribeClusterTracksRequest& WithMaintenanceTrackName(const Aws::String& value) { SetMaintenanceTrackName(value); return *this;}
68 
72  inline DescribeClusterTracksRequest& WithMaintenanceTrackName(Aws::String&& value) { SetMaintenanceTrackName(std::move(value)); return *this;}
73 
77  inline DescribeClusterTracksRequest& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;}
78 
79 
83  inline int GetMaxRecords() const{ return m_maxRecords; }
84 
88  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
89 
93  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
94 
98  inline DescribeClusterTracksRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
99 
100 
109  inline const Aws::String& GetMarker() const{ return m_marker; }
110 
119  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
120 
129  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
130 
139  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
140 
149  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
150 
159  inline DescribeClusterTracksRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
160 
169  inline DescribeClusterTracksRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
170 
179  inline DescribeClusterTracksRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
180 
181  private:
182 
183  Aws::String m_maintenanceTrackName;
184  bool m_maintenanceTrackNameHasBeenSet;
185 
186  int m_maxRecords;
187  bool m_maxRecordsHasBeenSet;
188 
189  Aws::String m_marker;
190  bool m_markerHasBeenSet;
191  };
192 
193 } // namespace Model
194 } // namespace Redshift
195 } // namespace Aws
Aws::Redshift::Model::DescribeClusterTracksRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeClusterTracksRequest::GetMaintenanceTrackName
const Aws::String & GetMaintenanceTrackName() const
Definition: DescribeClusterTracksRequest.h:42
Aws::Redshift::Model::DescribeClusterTracksRequest::WithMaxRecords
DescribeClusterTracksRequest & WithMaxRecords(int value)
Definition: DescribeClusterTracksRequest.h:98
Aws::Redshift::Model::DescribeClusterTracksRequest::WithMaintenanceTrackName
DescribeClusterTracksRequest & WithMaintenanceTrackName(Aws::String &&value)
Definition: DescribeClusterTracksRequest.h:72
Aws::Redshift::Model::DescribeClusterTracksRequest::WithMarker
DescribeClusterTracksRequest & WithMarker(Aws::String &&value)
Definition: DescribeClusterTracksRequest.h:169
Aws::Redshift::Model::DescribeClusterTracksRequest::MaintenanceTrackNameHasBeenSet
bool MaintenanceTrackNameHasBeenSet() const
Definition: DescribeClusterTracksRequest.h:47
Aws::Redshift::Model::DescribeClusterTracksRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeClusterTracksRequest.h:93
Aws::Redshift::Model::DescribeClusterTracksRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeClusterTracksRequest.h:88
Aws::Redshift::Model::DescribeClusterTracksRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeClusterTracksRequest.h:109
RedshiftRequest.h
Aws::Redshift::Model::DescribeClusterTracksRequest::SetMaintenanceTrackName
void SetMaintenanceTrackName(const Aws::String &value)
Definition: DescribeClusterTracksRequest.h:52
Aws::Redshift::Model::DescribeClusterTracksRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeClusterTracksRequest.h:83
Aws::Redshift::Model::DescribeClusterTracksRequest::WithMarker
DescribeClusterTracksRequest & WithMarker(const Aws::String &value)
Definition: DescribeClusterTracksRequest.h:159
Aws::Redshift::Model::DescribeClusterTracksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeClusterTracksRequest
Definition: DescribeClusterTracksRequest.h:22
Aws::Redshift::Model::DescribeClusterTracksRequest::WithMaintenanceTrackName
DescribeClusterTracksRequest & WithMaintenanceTrackName(const char *value)
Definition: DescribeClusterTracksRequest.h:77
Aws::Redshift::Model::DescribeClusterTracksRequest::WithMaintenanceTrackName
DescribeClusterTracksRequest & WithMaintenanceTrackName(const Aws::String &value)
Definition: DescribeClusterTracksRequest.h:67
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeClusterTracksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterTracksRequest.h:30
Aws::Redshift::Model::DescribeClusterTracksRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeClusterTracksRequest.h:149
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribeClusterTracksRequest::SetMaintenanceTrackName
void SetMaintenanceTrackName(const char *value)
Definition: DescribeClusterTracksRequest.h:62
Aws::Redshift::Model::DescribeClusterTracksRequest::SetMaintenanceTrackName
void SetMaintenanceTrackName(Aws::String &&value)
Definition: DescribeClusterTracksRequest.h:57
Aws::Redshift::Model::DescribeClusterTracksRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeClusterTracksRequest.h:139
Aws::Redshift::Model::DescribeClusterTracksRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeClusterTracksRequest.h:129
Aws::Redshift::Model::DescribeClusterTracksRequest::DescribeClusterTracksRequest
DescribeClusterTracksRequest()
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::DescribeClusterTracksRequest::WithMarker
DescribeClusterTracksRequest & WithMarker(const char *value)
Definition: DescribeClusterTracksRequest.h:179
Aws::Redshift::Model::DescribeClusterTracksRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeClusterTracksRequest.h:119