AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeDBParameterGroupsRequest.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& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
45 
52  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
53 
60  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
61 
68  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
69 
76  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
77 
84  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(value); return *this;}
85 
92  inline DescribeDBParameterGroupsRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
93 
97  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
98 
102  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
103 
107  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
108 
112  inline DescribeDBParameterGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
113 
117  inline DescribeDBParameterGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
118 
122  inline DescribeDBParameterGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
123 
127  inline DescribeDBParameterGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
128 
135  inline long GetMaxRecords() const{ return m_maxRecords; }
136 
143  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
144 
151  inline DescribeDBParameterGroupsRequest& WithMaxRecords(long value) { SetMaxRecords(value); return *this;}
152 
159  inline const Aws::String& GetMarker() const{ return m_marker; }
160 
167  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
168 
175  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
176 
183  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
184 
191  inline DescribeDBParameterGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
192 
199  inline DescribeDBParameterGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
200 
207  inline DescribeDBParameterGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
208 
209  private:
210  Aws::String m_dBParameterGroupName;
211  bool m_dBParameterGroupNameHasBeenSet;
212  Aws::Vector<Filter> m_filters;
213  bool m_filtersHasBeenSet;
214  long m_maxRecords;
215  bool m_maxRecordsHasBeenSet;
216  Aws::String m_marker;
217  bool m_markerHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace RDS
222 } // namespace Aws
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:34
DescribeDBParameterGroupsRequest & WithMarker(Aws::String &&value)
DescribeDBParameterGroupsRequest & AddFilters(const Filter &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeDBParameterGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBParameterGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBParameterGroupsRequest & AddFilters(Filter &&value)
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(Aws::String &&value)
DescribeDBParameterGroupsRequest & WithMarker(const char *value)
DescribeDBParameterGroupsRequest & WithDBParameterGroupName(const char *value)
DescribeDBParameterGroupsRequest & WithMarker(const Aws::String &value)
JSON (JavaScript Object Notation).
DescribeDBParameterGroupsRequest & WithMaxRecords(long value)