AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DescribeClusterParametersRequest.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 DescribeClusterParametersRequest() = 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 "DescribeClusterParameters"; }
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& GetParameterGroupName() const { return m_parameterGroupName; }
43 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
44 template <typename ParameterGroupNameT = Aws::String>
45 void SetParameterGroupName(ParameterGroupNameT&& value) {
46 m_parameterGroupNameHasBeenSet = true;
47 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
48 }
49 template <typename ParameterGroupNameT = Aws::String>
51 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::String& GetSource() const { return m_source; }
65 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
66 template <typename SourceT = Aws::String>
67 void SetSource(SourceT&& value) {
68 m_sourceHasBeenSet = true;
69 m_source = std::forward<SourceT>(value);
70 }
71 template <typename SourceT = Aws::String>
73 SetSource(std::forward<SourceT>(value));
74 return *this;
75 }
77
79
87 inline int GetMaxRecords() const { return m_maxRecords; }
88 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
89 inline void SetMaxRecords(int value) {
90 m_maxRecordsHasBeenSet = true;
91 m_maxRecords = value;
92 }
94 SetMaxRecords(value);
95 return *this;
96 }
98
100
108 inline const Aws::String& GetMarker() const { return m_marker; }
109 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
110 template <typename MarkerT = Aws::String>
111 void SetMarker(MarkerT&& value) {
112 m_markerHasBeenSet = true;
113 m_marker = std::forward<MarkerT>(value);
114 }
115 template <typename MarkerT = Aws::String>
117 SetMarker(std::forward<MarkerT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_parameterGroupName;
123
124 Aws::String m_source;
125
126 int m_maxRecords{0};
127
128 Aws::String m_marker;
129 bool m_parameterGroupNameHasBeenSet = false;
130 bool m_sourceHasBeenSet = false;
131 bool m_maxRecordsHasBeenSet = false;
132 bool m_markerHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace Redshift
137} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClusterParametersRequest & WithParameterGroupName(ParameterGroupNameT &&value)
DescribeClusterParametersRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API DescribeClusterParametersRequest()=default
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterParametersRequest & WithSource(SourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String