AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeReplicationSubnetGroupsRequest.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
20 #include <aws/dms/model/Filter.h>
21 
22 namespace Aws
23 {
24 namespace DatabaseMigrationService
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
43  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
44 
48  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
49 
53  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
54 
58  inline DescribeReplicationSubnetGroupsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
59 
63  inline DescribeReplicationSubnetGroupsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
64 
68  inline DescribeReplicationSubnetGroupsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
69 
73  inline DescribeReplicationSubnetGroupsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
74 
81  inline int GetMaxRecords() const{ return m_maxRecords; }
82 
89  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
90 
97  inline DescribeReplicationSubnetGroupsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
98 
104  inline const Aws::String& GetMarker() const{ return m_marker; }
105 
111  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
112 
118  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
119 
125  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
126 
132  inline DescribeReplicationSubnetGroupsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
133 
139  inline DescribeReplicationSubnetGroupsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
140 
146  inline DescribeReplicationSubnetGroupsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
147 
148  private:
149  Aws::Vector<Filter> m_filters;
150  bool m_filtersHasBeenSet;
151  int m_maxRecords;
152  bool m_maxRecordsHasBeenSet;
153  Aws::String m_marker;
154  bool m_markerHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace DatabaseMigrationService
159 } // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
#define AWS_DATABASEMIGRATIONSERVICE_API
DescribeReplicationSubnetGroupsRequest & WithFilters(const Aws::Vector< Filter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeReplicationSubnetGroupsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeReplicationSubnetGroupsRequest & WithMarker(const Aws::String &value)
JSON (JavaScript Object Notation).