AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeEngineDefaultClusterParametersRequest.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 
42  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
43 
48  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
49 
54  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
55 
60  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
61 
66  inline DescribeEngineDefaultClusterParametersRequest& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
67 
72  inline DescribeEngineDefaultClusterParametersRequest& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(value); return *this;}
73 
78  inline DescribeEngineDefaultClusterParametersRequest& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
79 
83  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
84 
88  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
89 
93  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
94 
98  inline DescribeEngineDefaultClusterParametersRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
99 
103  inline DescribeEngineDefaultClusterParametersRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
104 
108  inline DescribeEngineDefaultClusterParametersRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
109 
113  inline DescribeEngineDefaultClusterParametersRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
114 
121  inline long GetMaxRecords() const{ return m_maxRecords; }
122 
129  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
130 
137  inline DescribeEngineDefaultClusterParametersRequest& WithMaxRecords(long value) { SetMaxRecords(value); return *this;}
138 
145  inline const Aws::String& GetMarker() const{ return m_marker; }
146 
153  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
154 
161  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
162 
169  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
170 
177  inline DescribeEngineDefaultClusterParametersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
178 
185  inline DescribeEngineDefaultClusterParametersRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
186 
193  inline DescribeEngineDefaultClusterParametersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
194 
195  private:
196  Aws::String m_dBParameterGroupFamily;
197  bool m_dBParameterGroupFamilyHasBeenSet;
198  Aws::Vector<Filter> m_filters;
199  bool m_filtersHasBeenSet;
200  long m_maxRecords;
201  bool m_maxRecordsHasBeenSet;
202  Aws::String m_marker;
203  bool m_markerHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace RDS
208 } // namespace Aws
DescribeEngineDefaultClusterParametersRequest & WithDBParameterGroupFamily(const char *value)
DescribeEngineDefaultClusterParametersRequest & WithFilters(const Aws::Vector< Filter > &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:34
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeEngineDefaultClusterParametersRequest & WithMarker(Aws::String &&value)
DescribeEngineDefaultClusterParametersRequest & WithDBParameterGroupFamily(Aws::String &&value)
DescribeEngineDefaultClusterParametersRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeEngineDefaultClusterParametersRequest & AddFilters(const Filter &value)
DescribeEngineDefaultClusterParametersRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeEngineDefaultClusterParametersRequest & WithMarker(const char *value)
DescribeEngineDefaultClusterParametersRequest & AddFilters(Filter &&value)
DescribeEngineDefaultClusterParametersRequest & WithMaxRecords(long value)
DescribeEngineDefaultClusterParametersRequest & WithDBParameterGroupFamily(const Aws::String &value)
JSON (JavaScript Object Notation).