AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
51 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
52 inline DescribeReplicationTasksRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
53 inline DescribeReplicationTasksRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
54 inline DescribeReplicationTasksRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
55 inline DescribeReplicationTasksRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(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 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
80 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
81 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
82 inline DescribeReplicationTasksRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline DescribeReplicationTasksRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline DescribeReplicationTasksRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
86
88
94 inline bool GetWithoutSettings() const{ return m_withoutSettings; }
95 inline bool WithoutSettingsHasBeenSet() const { return m_withoutSettingsHasBeenSet; }
96 inline void SetWithoutSettings(bool value) { m_withoutSettingsHasBeenSet = true; m_withoutSettings = value; }
97 inline DescribeReplicationTasksRequest& WithWithoutSettings(bool value) { SetWithoutSettings(value); return *this;}
99 private:
100
101 Aws::Vector<Filter> m_filters;
102 bool m_filtersHasBeenSet = false;
103
104 int m_maxRecords;
105 bool m_maxRecordsHasBeenSet = false;
106
107 Aws::String m_marker;
108 bool m_markerHasBeenSet = false;
109
110 bool m_withoutSettings;
111 bool m_withoutSettingsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DatabaseMigrationService
116} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeReplicationTasksRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeReplicationTasksRequest & WithMarker(const Aws::String &value)
DescribeReplicationTasksRequest & WithFilters(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