AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeOrderableClusterOptionsRequest.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 "DescribeOrderableClusterOptions"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
48  inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
49 
56  inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
57 
64  inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
65 
72  inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
73 
80  inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
81 
88  inline DescribeOrderableClusterOptionsRequest& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
89 
96  inline DescribeOrderableClusterOptionsRequest& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
97 
104  inline DescribeOrderableClusterOptionsRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
105 
106 
111  inline const Aws::String& GetNodeType() const{ return m_nodeType; }
112 
117  inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
118 
123  inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
124 
129  inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
130 
135  inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
136 
141  inline DescribeOrderableClusterOptionsRequest& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
142 
147  inline DescribeOrderableClusterOptionsRequest& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
148 
153  inline DescribeOrderableClusterOptionsRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;}
154 
155 
164  inline int GetMaxRecords() const{ return m_maxRecords; }
165 
174  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
175 
184  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
185 
194  inline DescribeOrderableClusterOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
195 
196 
205  inline const Aws::String& GetMarker() const{ return m_marker; }
206 
215  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
216 
225  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
226 
235  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
236 
245  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
246 
255  inline DescribeOrderableClusterOptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
256 
265  inline DescribeOrderableClusterOptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
266 
275  inline DescribeOrderableClusterOptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
276 
277  private:
278 
279  Aws::String m_clusterVersion;
280  bool m_clusterVersionHasBeenSet;
281 
282  Aws::String m_nodeType;
283  bool m_nodeTypeHasBeenSet;
284 
285  int m_maxRecords;
286  bool m_maxRecordsHasBeenSet;
287 
288  Aws::String m_marker;
289  bool m_markerHasBeenSet;
290  };
291 
292 } // namespace Model
293 } // namespace Redshift
294 } // namespace Aws
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetNodeType
void SetNodeType(const Aws::String &value)
Definition: DescribeOrderableClusterOptionsRequest.h:123
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetClusterVersion
void SetClusterVersion(Aws::String &&value)
Definition: DescribeOrderableClusterOptionsRequest.h:72
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest
Definition: DescribeOrderableClusterOptionsRequest.h:25
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeOrderableClusterOptionsRequest.h:164
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::NodeTypeHasBeenSet
bool NodeTypeHasBeenSet() const
Definition: DescribeOrderableClusterOptionsRequest.h:117
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeOrderableClusterOptionsRequest.h:225
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::GetNodeType
const Aws::String & GetNodeType() const
Definition: DescribeOrderableClusterOptionsRequest.h:111
RedshiftRequest.h
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithClusterVersion
DescribeOrderableClusterOptionsRequest & WithClusterVersion(const char *value)
Definition: DescribeOrderableClusterOptionsRequest.h:104
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithMarker
DescribeOrderableClusterOptionsRequest & WithMarker(const char *value)
Definition: DescribeOrderableClusterOptionsRequest.h:275
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::DescribeOrderableClusterOptionsRequest
DescribeOrderableClusterOptionsRequest()
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetClusterVersion
void SetClusterVersion(const char *value)
Definition: DescribeOrderableClusterOptionsRequest.h:80
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithClusterVersion
DescribeOrderableClusterOptionsRequest & WithClusterVersion(const Aws::String &value)
Definition: DescribeOrderableClusterOptionsRequest.h:88
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithMarker
DescribeOrderableClusterOptionsRequest & WithMarker(const Aws::String &value)
Definition: DescribeOrderableClusterOptionsRequest.h:255
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithClusterVersion
DescribeOrderableClusterOptionsRequest & WithClusterVersion(Aws::String &&value)
Definition: DescribeOrderableClusterOptionsRequest.h:96
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithNodeType
DescribeOrderableClusterOptionsRequest & WithNodeType(Aws::String &&value)
Definition: DescribeOrderableClusterOptionsRequest.h:147
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeOrderableClusterOptionsRequest.h:205
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithNodeType
DescribeOrderableClusterOptionsRequest & WithNodeType(const char *value)
Definition: DescribeOrderableClusterOptionsRequest.h:153
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithNodeType
DescribeOrderableClusterOptionsRequest & WithNodeType(const Aws::String &value)
Definition: DescribeOrderableClusterOptionsRequest.h:141
AWSString.h
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeOrderableClusterOptionsRequest.h:235
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::ClusterVersionHasBeenSet
bool ClusterVersionHasBeenSet() const
Definition: DescribeOrderableClusterOptionsRequest.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeOrderableClusterOptionsRequest.h:33
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetNodeType
void SetNodeType(Aws::String &&value)
Definition: DescribeOrderableClusterOptionsRequest.h:129
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeOrderableClusterOptionsRequest.h:245
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::GetClusterVersion
const Aws::String & GetClusterVersion() const
Definition: DescribeOrderableClusterOptionsRequest.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetNodeType
void SetNodeType(const char *value)
Definition: DescribeOrderableClusterOptionsRequest.h:135
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeOrderableClusterOptionsRequest.h:184
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithMarker
DescribeOrderableClusterOptionsRequest & WithMarker(Aws::String &&value)
Definition: DescribeOrderableClusterOptionsRequest.h:265
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeOrderableClusterOptionsRequest.h:215
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::SetClusterVersion
void SetClusterVersion(const Aws::String &value)
Definition: DescribeOrderableClusterOptionsRequest.h:64
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeOrderableClusterOptionsRequest.h:174
Aws::Redshift::Model::DescribeOrderableClusterOptionsRequest::WithMaxRecords
DescribeOrderableClusterOptionsRequest & WithMaxRecords(int value)
Definition: DescribeOrderableClusterOptionsRequest.h:194