AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
DescribeMetadataModelConversionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationServiceRequest.h>
10#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
11#include <aws/dms/model/Filter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DatabaseMigrationService {
17namespace Model {
18
22 public:
23 AWS_DATABASEMIGRATIONSERVICE_API DescribeMetadataModelConversionsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeMetadataModelConversions"; }
30
31 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
32
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetMigrationProjectIdentifier() const { return m_migrationProjectIdentifier; }
40 inline bool MigrationProjectIdentifierHasBeenSet() const { return m_migrationProjectIdentifierHasBeenSet; }
41 template <typename MigrationProjectIdentifierT = Aws::String>
42 void SetMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) {
43 m_migrationProjectIdentifierHasBeenSet = true;
44 m_migrationProjectIdentifier = std::forward<MigrationProjectIdentifierT>(value);
45 }
46 template <typename MigrationProjectIdentifierT = Aws::String>
48 SetMigrationProjectIdentifier(std::forward<MigrationProjectIdentifierT>(value));
49 return *this;
50 }
52
54
62 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
63 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
64 template <typename FiltersT = Aws::Vector<Filter>>
65 void SetFilters(FiltersT&& value) {
66 m_filtersHasBeenSet = true;
67 m_filters = std::forward<FiltersT>(value);
68 }
69 template <typename FiltersT = Aws::Vector<Filter>>
71 SetFilters(std::forward<FiltersT>(value));
72 return *this;
73 }
74 template <typename FiltersT = Filter>
76 m_filtersHasBeenSet = true;
77 m_filters.emplace_back(std::forward<FiltersT>(value));
78 return *this;
79 }
81
83
93 inline const Aws::String& GetMarker() const { return m_marker; }
94 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
95 template <typename MarkerT = Aws::String>
96 void SetMarker(MarkerT&& value) {
97 m_markerHasBeenSet = true;
98 m_marker = std::forward<MarkerT>(value);
99 }
100 template <typename MarkerT = Aws::String>
102 SetMarker(std::forward<MarkerT>(value));
103 return *this;
104 }
106
108
114 inline int GetMaxRecords() const { return m_maxRecords; }
115 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
116 inline void SetMaxRecords(int value) {
117 m_maxRecordsHasBeenSet = true;
118 m_maxRecords = value;
119 }
121 SetMaxRecords(value);
122 return *this;
123 }
125 private:
126 Aws::String m_migrationProjectIdentifier;
127
128 Aws::Vector<Filter> m_filters;
129
130 Aws::String m_marker;
131
132 int m_maxRecords{0};
133 bool m_migrationProjectIdentifierHasBeenSet = false;
134 bool m_filtersHasBeenSet = false;
135 bool m_markerHasBeenSet = false;
136 bool m_maxRecordsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace DatabaseMigrationService
141} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API DescribeMetadataModelConversionsRequest()=default
DescribeMetadataModelConversionsRequest & WithMigrationProjectIdentifier(MigrationProjectIdentifierT &&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