AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DescribeClusterVersionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
23 public:
24 AWS_REDSHIFT_API DescribeClusterVersionsRequest() = default;
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 "DescribeClusterVersions"; }
31
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
42 inline const Aws::String& GetClusterVersion() const { return m_clusterVersion; }
43 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
44 template <typename ClusterVersionT = Aws::String>
45 void SetClusterVersion(ClusterVersionT&& value) {
46 m_clusterVersionHasBeenSet = true;
47 m_clusterVersion = std::forward<ClusterVersionT>(value);
48 }
49 template <typename ClusterVersionT = Aws::String>
51 SetClusterVersion(std::forward<ClusterVersionT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetClusterParameterGroupFamily() const { return m_clusterParameterGroupFamily; }
64 inline bool ClusterParameterGroupFamilyHasBeenSet() const { return m_clusterParameterGroupFamilyHasBeenSet; }
65 template <typename ClusterParameterGroupFamilyT = Aws::String>
66 void SetClusterParameterGroupFamily(ClusterParameterGroupFamilyT&& value) {
67 m_clusterParameterGroupFamilyHasBeenSet = true;
68 m_clusterParameterGroupFamily = std::forward<ClusterParameterGroupFamilyT>(value);
69 }
70 template <typename ClusterParameterGroupFamilyT = Aws::String>
71 DescribeClusterVersionsRequest& WithClusterParameterGroupFamily(ClusterParameterGroupFamilyT&& value) {
72 SetClusterParameterGroupFamily(std::forward<ClusterParameterGroupFamilyT>(value));
73 return *this;
74 }
76
78
86 inline int GetMaxRecords() const { return m_maxRecords; }
87 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
88 inline void SetMaxRecords(int value) {
89 m_maxRecordsHasBeenSet = true;
90 m_maxRecords = value;
91 }
93 SetMaxRecords(value);
94 return *this;
95 }
97
99
107 inline const Aws::String& GetMarker() const { return m_marker; }
108 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
109 template <typename MarkerT = Aws::String>
110 void SetMarker(MarkerT&& value) {
111 m_markerHasBeenSet = true;
112 m_marker = std::forward<MarkerT>(value);
113 }
114 template <typename MarkerT = Aws::String>
116 SetMarker(std::forward<MarkerT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_clusterVersion;
122
123 Aws::String m_clusterParameterGroupFamily;
124
125 int m_maxRecords{0};
126
127 Aws::String m_marker;
128 bool m_clusterVersionHasBeenSet = false;
129 bool m_clusterParameterGroupFamilyHasBeenSet = false;
130 bool m_maxRecordsHasBeenSet = false;
131 bool m_markerHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace Redshift
136} // 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