AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeReplicationTasksRequest.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 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
44  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
45 
51  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
52 
58  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = value; }
59 
65  inline DescribeReplicationTasksRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
66 
72  inline DescribeReplicationTasksRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(value); return *this;}
73 
79  inline DescribeReplicationTasksRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
80 
86  inline DescribeReplicationTasksRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
87 
94  inline long GetMaxRecords() const{ return m_maxRecords; }
95 
102  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
103 
110  inline DescribeReplicationTasksRequest& WithMaxRecords(long value) { SetMaxRecords(value); return *this;}
111 
117  inline const Aws::String& GetMarker() const{ return m_marker; }
118 
124  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
125 
131  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
132 
138  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
139 
145  inline DescribeReplicationTasksRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
146 
152  inline DescribeReplicationTasksRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
153 
159  inline DescribeReplicationTasksRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
160 
161  private:
162  Aws::Vector<Filter> m_filters;
163  bool m_filtersHasBeenSet;
164  long m_maxRecords;
165  bool m_maxRecordsHasBeenSet;
166  Aws::String m_marker;
167  bool m_markerHasBeenSet;
168  };
169 
170 } // namespace Model
171 } // namespace DatabaseMigrationService
172 } // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeReplicationTasksRequest & WithFilters(Aws::Vector< Filter > &&value)
#define AWS_DATABASEMIGRATIONSERVICE_API
DescribeReplicationTasksRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeReplicationTasksRequest & WithFilters(const Aws::Vector< Filter > &value)
JSON (JavaScript Object Notation).