AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
49 inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
50 inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
52 inline DescribeClusterVersionsRequest& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
53 inline DescribeClusterVersionsRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
55
57
63 inline const Aws::String& GetClusterParameterGroupFamily() const{ return m_clusterParameterGroupFamily; }
64 inline bool ClusterParameterGroupFamilyHasBeenSet() const { return m_clusterParameterGroupFamilyHasBeenSet; }
65 inline void SetClusterParameterGroupFamily(const Aws::String& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = value; }
66 inline void SetClusterParameterGroupFamily(Aws::String&& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = std::move(value); }
67 inline void SetClusterParameterGroupFamily(const char* value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily.assign(value); }
72
74
82 inline int GetMaxRecords() const{ return m_maxRecords; }
83 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
84 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
85 inline DescribeClusterVersionsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
87
89
97 inline const Aws::String& GetMarker() const{ return m_marker; }
98 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
99 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
100 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
101 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
102 inline DescribeClusterVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
103 inline DescribeClusterVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
104 inline DescribeClusterVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
106 private:
107
108 Aws::String m_clusterVersion;
109 bool m_clusterVersionHasBeenSet = false;
110
111 Aws::String m_clusterParameterGroupFamily;
112 bool m_clusterParameterGroupFamilyHasBeenSet = false;
113
114 int m_maxRecords;
115 bool m_maxRecordsHasBeenSet = false;
116
117 Aws::String m_marker;
118 bool m_markerHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Redshift
123} // namespace Aws
DescribeClusterVersionsRequest & WithClusterVersion(const Aws::String &value)
DescribeClusterVersionsRequest & WithClusterVersion(Aws::String &&value)
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(Aws::String &&value)
DescribeClusterVersionsRequest & WithMarker(const char *value)
DescribeClusterVersionsRequest & WithMarker(Aws::String &&value)
DescribeClusterVersionsRequest & WithMarker(const Aws::String &value)
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterVersionsRequest & WithMaxRecords(int value)
DescribeClusterVersionsRequest & WithClusterVersion(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClusterVersionsRequest & WithClusterParameterGroupFamily(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String