AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReplicationsRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dms/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DatabaseMigrationService
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeReplications"; }
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
47 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
48 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
49 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
50 inline DescribeReplicationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
51 inline DescribeReplicationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
52 inline DescribeReplicationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
53 inline DescribeReplicationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
55
57
63 inline int GetMaxRecords() const{ return m_maxRecords; }
64 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
65 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
66 inline DescribeReplicationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
68
70
75 inline const Aws::String& GetMarker() const{ return m_marker; }
76 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
77 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
78 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
79 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
80 inline DescribeReplicationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
81 inline DescribeReplicationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
82 inline DescribeReplicationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
84 private:
85
86 Aws::Vector<Filter> m_filters;
87 bool m_filtersHasBeenSet = false;
88
89 int m_maxRecords;
90 bool m_maxRecordsHasBeenSet = false;
91
92 Aws::String m_marker;
93 bool m_markerHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace DatabaseMigrationService
98} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
DescribeReplicationsRequest & WithFilters(Aws::Vector< Filter > &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeReplicationsRequest & WithMarker(const Aws::String &value)
DescribeReplicationsRequest & WithFilters(const Aws::Vector< Filter > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector