AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
46 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
47 inline DescribeDataMigrationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
48 inline DescribeDataMigrationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
49 inline DescribeDataMigrationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
50 inline DescribeDataMigrationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(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 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
75 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
76 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
77 inline DescribeDataMigrationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
78 inline DescribeDataMigrationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
79 inline DescribeDataMigrationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
81
83
89 inline bool GetWithoutSettings() const{ return m_withoutSettings; }
90 inline bool WithoutSettingsHasBeenSet() const { return m_withoutSettingsHasBeenSet; }
91 inline void SetWithoutSettings(bool value) { m_withoutSettingsHasBeenSet = true; m_withoutSettings = value; }
92 inline DescribeDataMigrationsRequest& WithWithoutSettings(bool value) { SetWithoutSettings(value); return *this;}
94
96
102 inline bool GetWithoutStatistics() const{ return m_withoutStatistics; }
103 inline bool WithoutStatisticsHasBeenSet() const { return m_withoutStatisticsHasBeenSet; }
104 inline void SetWithoutStatistics(bool value) { m_withoutStatisticsHasBeenSet = true; m_withoutStatistics = value; }
107 private:
108
109 Aws::Vector<Filter> m_filters;
110 bool m_filtersHasBeenSet = false;
111
112 int m_maxRecords;
113 bool m_maxRecordsHasBeenSet = false;
114
115 Aws::String m_marker;
116 bool m_markerHasBeenSet = false;
117
118 bool m_withoutSettings;
119 bool m_withoutSettingsHasBeenSet = false;
120
121 bool m_withoutStatistics;
122 bool m_withoutStatisticsHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace DatabaseMigrationService
127} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeDataMigrationsRequest & WithMarker(const Aws::String &value)
DescribeDataMigrationsRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDataMigrationsRequest & WithFilters(const Aws::Vector< Filter > &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() 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