AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeReplicationTasksRequest.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 DescribeReplicationTasksRequest() = default;
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 "DescribeReplicationTasks"; }
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
48 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
49 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
50 template<typename FiltersT = Aws::Vector<Filter>>
51 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
52 template<typename FiltersT = Aws::Vector<Filter>>
53 DescribeReplicationTasksRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
54 template<typename FiltersT = Filter>
55 DescribeReplicationTasksRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
57
59
65 inline int GetMaxRecords() const { return m_maxRecords; }
66 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
67 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
68 inline DescribeReplicationTasksRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
70
72
77 inline const Aws::String& GetMarker() const { return m_marker; }
78 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
79 template<typename MarkerT = Aws::String>
80 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
81 template<typename MarkerT = Aws::String>
82 DescribeReplicationTasksRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
84
86
92 inline bool GetWithoutSettings() const { return m_withoutSettings; }
93 inline bool WithoutSettingsHasBeenSet() const { return m_withoutSettingsHasBeenSet; }
94 inline void SetWithoutSettings(bool value) { m_withoutSettingsHasBeenSet = true; m_withoutSettings = value; }
95 inline DescribeReplicationTasksRequest& WithWithoutSettings(bool value) { SetWithoutSettings(value); return *this;}
97 private:
98
99 Aws::Vector<Filter> m_filters;
100 bool m_filtersHasBeenSet = false;
101
102 int m_maxRecords{0};
103 bool m_maxRecordsHasBeenSet = false;
104
105 Aws::String m_marker;
106 bool m_markerHasBeenSet = false;
107
108 bool m_withoutSettings{false};
109 bool m_withoutSettingsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace DatabaseMigrationService
114} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API DescribeReplicationTasksRequest()=default
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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