AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
27 AWS_REDSHIFT_API DescribeOrderableClusterOptionsRequest() = default;
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 template<typename ClusterVersionT = Aws::String>
52 void SetClusterVersion(ClusterVersionT&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::forward<ClusterVersionT>(value); }
53 template<typename ClusterVersionT = Aws::String>
54 DescribeOrderableClusterOptionsRequest& WithClusterVersion(ClusterVersionT&& value) { SetClusterVersion(std::forward<ClusterVersionT>(value)); return *this;}
56
58
62 inline const Aws::String& GetNodeType() const { return m_nodeType; }
63 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
64 template<typename NodeTypeT = Aws::String>
65 void SetNodeType(NodeTypeT&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::forward<NodeTypeT>(value); }
66 template<typename NodeTypeT = Aws::String>
67 DescribeOrderableClusterOptionsRequest& WithNodeType(NodeTypeT&& value) { SetNodeType(std::forward<NodeTypeT>(value)); return *this;}
69
71
79 inline int GetMaxRecords() const { return m_maxRecords; }
80 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
81 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
82 inline DescribeOrderableClusterOptionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
84
86
94 inline const Aws::String& GetMarker() const { return m_marker; }
95 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
96 template<typename MarkerT = Aws::String>
97 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
98 template<typename MarkerT = Aws::String>
99 DescribeOrderableClusterOptionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
101 private:
102
103 Aws::String m_clusterVersion;
104 bool m_clusterVersionHasBeenSet = false;
105
106 Aws::String m_nodeType;
107 bool m_nodeTypeHasBeenSet = false;
108
109 int m_maxRecords{0};
110 bool m_maxRecordsHasBeenSet = false;
111
112 Aws::String m_marker;
113 bool m_markerHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Redshift
118} // namespace Aws
DescribeOrderableClusterOptionsRequest & WithClusterVersion(ClusterVersionT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeOrderableClusterOptionsRequest & WithNodeType(NodeTypeT &&value)
DescribeOrderableClusterOptionsRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String