AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeClusterParameterGroupsRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_REDSHIFT_API DescribeClusterParameterGroupsRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterParameterGroups"; }
35
36 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
49 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
50 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
51 template<typename ParameterGroupNameT = Aws::String>
52 void SetParameterGroupName(ParameterGroupNameT&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::forward<ParameterGroupNameT>(value); }
53 template<typename ParameterGroupNameT = Aws::String>
54 DescribeClusterParameterGroupsRequest& WithParameterGroupName(ParameterGroupNameT&& value) { SetParameterGroupName(std::forward<ParameterGroupNameT>(value)); return *this;}
56
58
66 inline int GetMaxRecords() const { return m_maxRecords; }
67 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
68 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
69 inline DescribeClusterParameterGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
71
73
81 inline const Aws::String& GetMarker() const { return m_marker; }
82 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
83 template<typename MarkerT = Aws::String>
84 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
85 template<typename MarkerT = Aws::String>
86 DescribeClusterParameterGroupsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
88
90
98 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
99 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
100 template<typename TagKeysT = Aws::Vector<Aws::String>>
101 void SetTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::forward<TagKeysT>(value); }
102 template<typename TagKeysT = Aws::Vector<Aws::String>>
103 DescribeClusterParameterGroupsRequest& WithTagKeys(TagKeysT&& value) { SetTagKeys(std::forward<TagKeysT>(value)); return *this;}
104 template<typename TagKeysT = Aws::String>
105 DescribeClusterParameterGroupsRequest& AddTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.emplace_back(std::forward<TagKeysT>(value)); return *this; }
107
109
117 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
118 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
119 template<typename TagValuesT = Aws::Vector<Aws::String>>
120 void SetTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::forward<TagValuesT>(value); }
121 template<typename TagValuesT = Aws::Vector<Aws::String>>
122 DescribeClusterParameterGroupsRequest& WithTagValues(TagValuesT&& value) { SetTagValues(std::forward<TagValuesT>(value)); return *this;}
123 template<typename TagValuesT = Aws::String>
124 DescribeClusterParameterGroupsRequest& AddTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues.emplace_back(std::forward<TagValuesT>(value)); return *this; }
126 private:
127
128 Aws::String m_parameterGroupName;
129 bool m_parameterGroupNameHasBeenSet = false;
130
131 int m_maxRecords{0};
132 bool m_maxRecordsHasBeenSet = false;
133
134 Aws::String m_marker;
135 bool m_markerHasBeenSet = false;
136
137 Aws::Vector<Aws::String> m_tagKeys;
138 bool m_tagKeysHasBeenSet = false;
139
140 Aws::Vector<Aws::String> m_tagValues;
141 bool m_tagValuesHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Redshift
146} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterParameterGroupsRequest & WithTagValues(TagValuesT &&value)
DescribeClusterParameterGroupsRequest & WithMarker(MarkerT &&value)
DescribeClusterParameterGroupsRequest & WithTagKeys(TagKeysT &&value)
DescribeClusterParameterGroupsRequest & WithParameterGroupName(ParameterGroupNameT &&value)
DescribeClusterParameterGroupsRequest & AddTagValues(TagValuesT &&value)
DescribeClusterParameterGroupsRequest & AddTagKeys(TagKeysT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector