AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeDBClusterParametersRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/rds/RDS_EXPORTS.h>
17 #include <aws/rds/RDSRequest.h>
20 #include <aws/rds/model/Filter.h>
21 
22 namespace Aws
23 {
24 namespace RDS
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
44  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
45 
52  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
53 
60  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
61 
68  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
69 
76  inline DescribeDBClusterParametersRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
77 
84  inline DescribeDBClusterParametersRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(value); return *this;}
85 
92  inline DescribeDBClusterParametersRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
93 
99  inline const Aws::String& GetSource() const{ return m_source; }
100 
106  inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
107 
113  inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = value; }
114 
120  inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
121 
127  inline DescribeDBClusterParametersRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
128 
134  inline DescribeDBClusterParametersRequest& WithSource(Aws::String&& value) { SetSource(value); return *this;}
135 
141  inline DescribeDBClusterParametersRequest& WithSource(const char* value) { SetSource(value); return *this;}
142 
146  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
147 
151  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
152 
156  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
157 
161  inline DescribeDBClusterParametersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
162 
166  inline DescribeDBClusterParametersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
167 
171  inline DescribeDBClusterParametersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
172 
176  inline DescribeDBClusterParametersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
177 
184  inline int GetMaxRecords() const{ return m_maxRecords; }
185 
192  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
193 
200  inline DescribeDBClusterParametersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
201 
208  inline const Aws::String& GetMarker() const{ return m_marker; }
209 
216  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
217 
224  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
225 
232  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
233 
240  inline DescribeDBClusterParametersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
241 
248  inline DescribeDBClusterParametersRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
249 
256  inline DescribeDBClusterParametersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
257 
258  private:
259  Aws::String m_dBClusterParameterGroupName;
260  bool m_dBClusterParameterGroupNameHasBeenSet;
261  Aws::String m_source;
262  bool m_sourceHasBeenSet;
263  Aws::Vector<Filter> m_filters;
264  bool m_filtersHasBeenSet;
265  int m_maxRecords;
266  bool m_maxRecordsHasBeenSet;
267  Aws::String m_marker;
268  bool m_markerHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace RDS
273 } // namespace Aws
DescribeDBClusterParametersRequest & WithDBClusterParameterGroupName(const char *value)
DescribeDBClusterParametersRequest & WithMarker(const char *value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
DescribeDBClusterParametersRequest & AddFilters(Filter &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeDBClusterParametersRequest & WithSource(const Aws::String &value)
DescribeDBClusterParametersRequest & WithMarker(const Aws::String &value)
DescribeDBClusterParametersRequest & AddFilters(const Filter &value)
DescribeDBClusterParametersRequest & WithSource(const char *value)
DescribeDBClusterParametersRequest & WithMarker(Aws::String &&value)
DescribeDBClusterParametersRequest & WithDBClusterParameterGroupName(Aws::String &&value)
DescribeDBClusterParametersRequest & WithSource(Aws::String &&value)
DescribeDBClusterParametersRequest & WithMaxRecords(int value)
DescribeDBClusterParametersRequest & WithFilters(Aws::Vector< Filter > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBClusterParametersRequest & WithDBClusterParameterGroupName(const Aws::String &value)
DescribeDBClusterParametersRequest & WithFilters(const Aws::Vector< Filter > &value)
JSON (JavaScript Object Notation).