AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
DescribeMetadataModelCreationsRequest.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 DescribeMetadataModelCreationsRequest() = 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 "DescribeMetadataModelCreations"; }
30
31 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
32
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
44 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
45 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
46 template <typename FiltersT = Aws::Vector<Filter>>
47 void SetFilters(FiltersT&& value) {
48 m_filtersHasBeenSet = true;
49 m_filters = std::forward<FiltersT>(value);
50 }
51 template <typename FiltersT = Aws::Vector<Filter>>
53 SetFilters(std::forward<FiltersT>(value));
54 return *this;
55 }
56 template <typename FiltersT = Filter>
58 m_filtersHasBeenSet = true;
59 m_filters.emplace_back(std::forward<FiltersT>(value));
60 return *this;
61 }
63
65
75 inline const Aws::String& GetMarker() const { return m_marker; }
76 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
77 template <typename MarkerT = Aws::String>
78 void SetMarker(MarkerT&& value) {
79 m_markerHasBeenSet = true;
80 m_marker = std::forward<MarkerT>(value);
81 }
82 template <typename MarkerT = Aws::String>
84 SetMarker(std::forward<MarkerT>(value));
85 return *this;
86 }
88
90
96 inline int GetMaxRecords() const { return m_maxRecords; }
97 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
98 inline void SetMaxRecords(int value) {
99 m_maxRecordsHasBeenSet = true;
100 m_maxRecords = value;
101 }
103 SetMaxRecords(value);
104 return *this;
105 }
107
109
112 inline const Aws::String& GetMigrationProjectIdentifier() const { return m_migrationProjectIdentifier; }
113 inline bool MigrationProjectIdentifierHasBeenSet() const { return m_migrationProjectIdentifierHasBeenSet; }
114 template <typename MigrationProjectIdentifierT = Aws::String>
115 void SetMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) {
116 m_migrationProjectIdentifierHasBeenSet = true;
117 m_migrationProjectIdentifier = std::forward<MigrationProjectIdentifierT>(value);
118 }
119 template <typename MigrationProjectIdentifierT = Aws::String>
121 SetMigrationProjectIdentifier(std::forward<MigrationProjectIdentifierT>(value));
122 return *this;
123 }
125 private:
126 Aws::Vector<Filter> m_filters;
127
128 Aws::String m_marker;
129
130 int m_maxRecords{0};
131
132 Aws::String m_migrationProjectIdentifier;
133 bool m_filtersHasBeenSet = false;
134 bool m_markerHasBeenSet = false;
135 bool m_maxRecordsHasBeenSet = false;
136 bool m_migrationProjectIdentifierHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace DatabaseMigrationService
141} // namespace Aws
DescribeMetadataModelCreationsRequest & WithMigrationProjectIdentifier(MigrationProjectIdentifierT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API DescribeMetadataModelCreationsRequest()=default
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