AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeClusterParametersRequest.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 DescribeClusterParametersRequest() = 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 "DescribeClusterParameters"; }
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& GetParameterGroupName() const { return m_parameterGroupName; }
47 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
48 template<typename ParameterGroupNameT = Aws::String>
49 void SetParameterGroupName(ParameterGroupNameT&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::forward<ParameterGroupNameT>(value); }
50 template<typename ParameterGroupNameT = Aws::String>
51 DescribeClusterParametersRequest& WithParameterGroupName(ParameterGroupNameT&& value) { SetParameterGroupName(std::forward<ParameterGroupNameT>(value)); return *this;}
53
55
62 inline const Aws::String& GetSource() const { return m_source; }
63 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
64 template<typename SourceT = Aws::String>
65 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
66 template<typename SourceT = Aws::String>
67 DescribeClusterParametersRequest& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(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 DescribeClusterParametersRequest& 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 DescribeClusterParametersRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
101 private:
102
103 Aws::String m_parameterGroupName;
104 bool m_parameterGroupNameHasBeenSet = false;
105
106 Aws::String m_source;
107 bool m_sourceHasBeenSet = 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
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