AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeDBSubnetGroupsRequest.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 
41  inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; }
42 
46  inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
47 
51  inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; }
52 
56  inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); }
57 
61  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;}
62 
66  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(value); return *this;}
67 
71  inline DescribeDBSubnetGroupsRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;}
72 
76  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
77 
81  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
82 
86  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
87 
91  inline DescribeDBSubnetGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
92 
96  inline DescribeDBSubnetGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
97 
101  inline DescribeDBSubnetGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
102 
106  inline DescribeDBSubnetGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
107 
114  inline long GetMaxRecords() const{ return m_maxRecords; }
115 
122  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
123 
130  inline DescribeDBSubnetGroupsRequest& WithMaxRecords(long value) { SetMaxRecords(value); return *this;}
131 
137  inline const Aws::String& GetMarker() const{ return m_marker; }
138 
144  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
145 
151  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
152 
158  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
159 
165  inline DescribeDBSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
166 
172  inline DescribeDBSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
173 
179  inline DescribeDBSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
180 
181  private:
182  Aws::String m_dBSubnetGroupName;
183  bool m_dBSubnetGroupNameHasBeenSet;
184  Aws::Vector<Filter> m_filters;
185  bool m_filtersHasBeenSet;
186  long m_maxRecords;
187  bool m_maxRecordsHasBeenSet;
188  Aws::String m_marker;
189  bool m_markerHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace RDS
194 } // namespace Aws
DescribeDBSubnetGroupsRequest & WithMarker(const char *value)
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const char *value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:34
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBSubnetGroupsRequest & WithMaxRecords(long value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeDBSubnetGroupsRequest & WithMarker(Aws::String &&value)
DescribeDBSubnetGroupsRequest & WithMarker(const Aws::String &value)
DescribeDBSubnetGroupsRequest & AddFilters(Filter &&value)
DescribeDBSubnetGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBSubnetGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBSubnetGroupsRequest & AddFilters(const Filter &value)
JSON (JavaScript Object Notation).
DescribeDBSubnetGroupsRequest & WithDBSubnetGroupName(const Aws::String &value)