AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeDBClusterParameterGroupsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DescribeDBClusterParameterGroups"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
49  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
50 
56  inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
57 
63  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
64 
70  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); }
71 
77  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
78 
84  inline DescribeDBClusterParameterGroupsRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
85 
91  inline DescribeDBClusterParameterGroupsRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;}
92 
98  inline DescribeDBClusterParameterGroupsRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
99 
100 
104  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
105 
109  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
110 
114  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
115 
119  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
120 
124  inline DescribeDBClusterParameterGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
125 
129  inline DescribeDBClusterParameterGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
130 
134  inline DescribeDBClusterParameterGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
135 
139  inline DescribeDBClusterParameterGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
140 
141 
148  inline int GetMaxRecords() const{ return m_maxRecords; }
149 
156  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
157 
164  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
165 
172  inline DescribeDBClusterParameterGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
173 
174 
181  inline const Aws::String& GetMarker() const{ return m_marker; }
182 
189  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
190 
197  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
198 
205  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
206 
213  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
214 
221  inline DescribeDBClusterParameterGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
222 
229  inline DescribeDBClusterParameterGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
230 
237  inline DescribeDBClusterParameterGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
238 
239  private:
240 
241  Aws::String m_dBClusterParameterGroupName;
242  bool m_dBClusterParameterGroupNameHasBeenSet;
243 
244  Aws::Vector<Filter> m_filters;
245  bool m_filtersHasBeenSet;
246 
247  int m_maxRecords;
248  bool m_maxRecordsHasBeenSet;
249 
250  Aws::String m_marker;
251  bool m_markerHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace RDS
256 } // namespace Aws
DescribeDBClusterParameterGroupsRequest & WithMarker(const char *value)
DescribeDBClusterParameterGroupsRequest & WithDBClusterParameterGroupName(Aws::String &&value)
DescribeDBClusterParameterGroupsRequest & WithDBClusterParameterGroupName(const char *value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
DescribeDBClusterParameterGroupsRequest & WithMarker(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeDBClusterParameterGroupsRequest & WithDBClusterParameterGroupName(const Aws::String &value)
DescribeDBClusterParameterGroupsRequest & WithMarker(Aws::String &&value)
DescribeDBClusterParameterGroupsRequest & WithMaxRecords(int value)
DescribeDBClusterParameterGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBClusterParameterGroupsRequest & AddFilters(const Filter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBClusterParameterGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBClusterParameterGroupsRequest & AddFilters(Filter &&value)