AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeOrderableClusterOptionsRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace 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_REDSHIFT_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
49 inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
50 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
51 inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
52 inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
53 inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
56 inline DescribeOrderableClusterOptionsRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
58
60
64 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
65 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
66 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
67 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
68 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
69 inline DescribeOrderableClusterOptionsRequest& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
70 inline DescribeOrderableClusterOptionsRequest& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
71 inline DescribeOrderableClusterOptionsRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;}
73
75
83 inline int GetMaxRecords() const{ return m_maxRecords; }
84 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
85 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
86 inline DescribeOrderableClusterOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
88
90
98 inline const Aws::String& GetMarker() const{ return m_marker; }
99 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
100 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
101 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
102 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
103 inline DescribeOrderableClusterOptionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
104 inline DescribeOrderableClusterOptionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
105 inline DescribeOrderableClusterOptionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
107 private:
108
109 Aws::String m_clusterVersion;
110 bool m_clusterVersionHasBeenSet = false;
111
112 Aws::String m_nodeType;
113 bool m_nodeTypeHasBeenSet = false;
114
115 int m_maxRecords;
116 bool m_maxRecordsHasBeenSet = false;
117
118 Aws::String m_marker;
119 bool m_markerHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Redshift
124} // namespace Aws
DescribeOrderableClusterOptionsRequest & WithClusterVersion(const Aws::String &value)
DescribeOrderableClusterOptionsRequest & WithMarker(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeOrderableClusterOptionsRequest & WithClusterVersion(Aws::String &&value)
DescribeOrderableClusterOptionsRequest & WithNodeType(const char *value)
DescribeOrderableClusterOptionsRequest & WithNodeType(const Aws::String &value)
DescribeOrderableClusterOptionsRequest & WithClusterVersion(const char *value)
DescribeOrderableClusterOptionsRequest & WithMarker(const char *value)
DescribeOrderableClusterOptionsRequest & WithMarker(const Aws::String &value)
DescribeOrderableClusterOptionsRequest & WithNodeType(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String