AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeClusterVersionsRequest.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 DescribeClusterVersionsRequest() = 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 "DescribeClusterVersions"; }
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
46 inline const Aws::String& GetClusterVersion() const { return m_clusterVersion; }
47 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
48 template<typename ClusterVersionT = Aws::String>
49 void SetClusterVersion(ClusterVersionT&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::forward<ClusterVersionT>(value); }
50 template<typename ClusterVersionT = Aws::String>
51 DescribeClusterVersionsRequest& WithClusterVersion(ClusterVersionT&& value) { SetClusterVersion(std::forward<ClusterVersionT>(value)); return *this;}
53
55
61 inline const Aws::String& GetClusterParameterGroupFamily() const { return m_clusterParameterGroupFamily; }
62 inline bool ClusterParameterGroupFamilyHasBeenSet() const { return m_clusterParameterGroupFamilyHasBeenSet; }
63 template<typename ClusterParameterGroupFamilyT = Aws::String>
64 void SetClusterParameterGroupFamily(ClusterParameterGroupFamilyT&& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = std::forward<ClusterParameterGroupFamilyT>(value); }
65 template<typename ClusterParameterGroupFamilyT = Aws::String>
66 DescribeClusterVersionsRequest& WithClusterParameterGroupFamily(ClusterParameterGroupFamilyT&& value) { SetClusterParameterGroupFamily(std::forward<ClusterParameterGroupFamilyT>(value)); return *this;}
68
70
78 inline int GetMaxRecords() const { return m_maxRecords; }
79 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
80 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
81 inline DescribeClusterVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
83
85
93 inline const Aws::String& GetMarker() const { return m_marker; }
94 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
95 template<typename MarkerT = Aws::String>
96 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
97 template<typename MarkerT = Aws::String>
98 DescribeClusterVersionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
100 private:
101
102 Aws::String m_clusterVersion;
103 bool m_clusterVersionHasBeenSet = false;
104
105 Aws::String m_clusterParameterGroupFamily;
106 bool m_clusterParameterGroupFamilyHasBeenSet = false;
107
108 int m_maxRecords{0};
109 bool m_maxRecordsHasBeenSet = false;
110
111 Aws::String m_marker;
112 bool m_markerHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Redshift
117} // namespace Aws
DescribeClusterVersionsRequest & WithClusterVersion(ClusterVersionT &&value)
AWS_REDSHIFT_API DescribeClusterVersionsRequest()=default
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(ClusterParameterGroupFamilyT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetClusterParameterGroupFamily(ClusterParameterGroupFamilyT &&value)
DescribeClusterVersionsRequest & WithMaxRecords(int value)
DescribeClusterVersionsRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String