AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDataMigrationsRequest.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
24 {
25 public:
26 AWS_DATABASEMIGRATIONSERVICE_API DescribeDataMigrationsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeDataMigrations"; }
33
34 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
44 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
45 template<typename FiltersT = Aws::Vector<Filter>>
46 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
47 template<typename FiltersT = Aws::Vector<Filter>>
48 DescribeDataMigrationsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
49 template<typename FiltersT = Filter>
50 DescribeDataMigrationsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
52
54
60 inline int GetMaxRecords() const { return m_maxRecords; }
61 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
62 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
63 inline DescribeDataMigrationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
65
67
72 inline const Aws::String& GetMarker() const { return m_marker; }
73 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
74 template<typename MarkerT = Aws::String>
75 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
76 template<typename MarkerT = Aws::String>
77 DescribeDataMigrationsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
79
81
87 inline bool GetWithoutSettings() const { return m_withoutSettings; }
88 inline bool WithoutSettingsHasBeenSet() const { return m_withoutSettingsHasBeenSet; }
89 inline void SetWithoutSettings(bool value) { m_withoutSettingsHasBeenSet = true; m_withoutSettings = value; }
90 inline DescribeDataMigrationsRequest& WithWithoutSettings(bool value) { SetWithoutSettings(value); return *this;}
92
94
100 inline bool GetWithoutStatistics() const { return m_withoutStatistics; }
101 inline bool WithoutStatisticsHasBeenSet() const { return m_withoutStatisticsHasBeenSet; }
102 inline void SetWithoutStatistics(bool value) { m_withoutStatisticsHasBeenSet = true; m_withoutStatistics = value; }
105 private:
106
107 Aws::Vector<Filter> m_filters;
108 bool m_filtersHasBeenSet = false;
109
110 int m_maxRecords{0};
111 bool m_maxRecordsHasBeenSet = false;
112
113 Aws::String m_marker;
114 bool m_markerHasBeenSet = false;
115
116 bool m_withoutSettings{false};
117 bool m_withoutSettingsHasBeenSet = false;
118
119 bool m_withoutStatistics{false};
120 bool m_withoutStatisticsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace DatabaseMigrationService
125} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API DescribeDataMigrationsRequest()=default
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