AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
DescribeDefaultClusterParametersRequest.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 DescribeDefaultClusterParametersRequest() = 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 "DescribeDefaultClusterParameters"; }
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& GetParameterGroupFamily() const { return m_parameterGroupFamily; }
43 inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; }
44 template <typename ParameterGroupFamilyT = Aws::String>
45 void SetParameterGroupFamily(ParameterGroupFamilyT&& value) {
46 m_parameterGroupFamilyHasBeenSet = true;
47 m_parameterGroupFamily = std::forward<ParameterGroupFamilyT>(value);
48 }
49 template <typename ParameterGroupFamilyT = Aws::String>
51 SetParameterGroupFamily(std::forward<ParameterGroupFamilyT>(value));
52 return *this;
53 }
55
57
65 inline int GetMaxRecords() const { return m_maxRecords; }
66 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
67 inline void SetMaxRecords(int value) {
68 m_maxRecordsHasBeenSet = true;
69 m_maxRecords = value;
70 }
72 SetMaxRecords(value);
73 return *this;
74 }
76
78
86 inline const Aws::String& GetMarker() const { return m_marker; }
87 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
88 template <typename MarkerT = Aws::String>
89 void SetMarker(MarkerT&& value) {
90 m_markerHasBeenSet = true;
91 m_marker = std::forward<MarkerT>(value);
92 }
93 template <typename MarkerT = Aws::String>
95 SetMarker(std::forward<MarkerT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_parameterGroupFamily;
101
102 int m_maxRecords{0};
103
104 Aws::String m_marker;
105 bool m_parameterGroupFamilyHasBeenSet = false;
106 bool m_maxRecordsHasBeenSet = false;
107 bool m_markerHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace Redshift
112} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeDefaultClusterParametersRequest & WithParameterGroupFamily(ParameterGroupFamilyT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDefaultClusterParametersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String