AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeDBParametersRequest.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 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
43  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
44 
51  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
52 
59  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
60 
67  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
68 
75  inline DescribeDBParametersRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
76 
83  inline DescribeDBParametersRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(value); return *this;}
84 
91  inline DescribeDBParametersRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
92 
97  inline const Aws::String& GetSource() const{ return m_source; }
98 
103  inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
104 
109  inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = value; }
110 
115  inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
116 
121  inline DescribeDBParametersRequest& WithSource(const Aws::String& value) { SetSource(value); return *this;}
122 
127  inline DescribeDBParametersRequest& WithSource(Aws::String&& value) { SetSource(value); return *this;}
128 
133  inline DescribeDBParametersRequest& WithSource(const char* value) { SetSource(value); return *this;}
134 
138  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
139 
143  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
144 
148  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
149 
153  inline DescribeDBParametersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
154 
158  inline DescribeDBParametersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
159 
163  inline DescribeDBParametersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
164 
168  inline DescribeDBParametersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
169 
176  inline int GetMaxRecords() const{ return m_maxRecords; }
177 
184  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
185 
192  inline DescribeDBParametersRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
193 
200  inline const Aws::String& GetMarker() const{ return m_marker; }
201 
208  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
209 
216  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
217 
224  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
225 
232  inline DescribeDBParametersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
233 
240  inline DescribeDBParametersRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
241 
248  inline DescribeDBParametersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
249 
250  private:
251  Aws::String m_dBParameterGroupName;
252  bool m_dBParameterGroupNameHasBeenSet;
253  Aws::String m_source;
254  bool m_sourceHasBeenSet;
255  Aws::Vector<Filter> m_filters;
256  bool m_filtersHasBeenSet;
257  int m_maxRecords;
258  bool m_maxRecordsHasBeenSet;
259  Aws::String m_marker;
260  bool m_markerHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace RDS
265 } // namespace Aws
DescribeDBParametersRequest & WithMarker(const Aws::String &value)
const Aws::Vector< Filter > & GetFilters() const
DescribeDBParametersRequest & WithDBParameterGroupName(const Aws::String &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
DescribeDBParametersRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBParametersRequest & WithSource(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeDBParametersRequest & WithDBParameterGroupName(Aws::String &&value)
DescribeDBParametersRequest & WithDBParameterGroupName(const char *value)
DescribeDBParametersRequest & WithSource(const Aws::String &value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBParametersRequest & WithMaxRecords(int value)
DescribeDBParametersRequest & AddFilters(const Filter &value)
DescribeDBParametersRequest & WithSource(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBParametersRequest & WithMarker(const char *value)
DescribeDBParametersRequest & WithMarker(Aws::String &&value)
DescribeDBParametersRequest & AddFilters(Filter &&value)
DescribeDBParametersRequest & WithFilters(Aws::Vector< Filter > &&value)
JSON (JavaScript Object Notation).