AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
40 inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
41 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
42 template <typename FiltersT = Aws::Vector<Filter>>
43 void SetFilters(FiltersT&& value) {
44 m_filtersHasBeenSet = true;
45 m_filters = std::forward<FiltersT>(value);
46 }
47 template <typename FiltersT = Aws::Vector<Filter>>
49 SetFilters(std::forward<FiltersT>(value));
50 return *this;
51 }
52 template <typename FiltersT = Filter>
54 m_filtersHasBeenSet = true;
55 m_filters.emplace_back(std::forward<FiltersT>(value));
56 return *this;
57 }
59
61
67 inline const Aws::String& GetMarker() const { return m_marker; }
68 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
69 template <typename MarkerT = Aws::String>
70 void SetMarker(MarkerT&& value) {
71 m_markerHasBeenSet = true;
72 m_marker = std::forward<MarkerT>(value);
73 }
74 template <typename MarkerT = Aws::String>
76 SetMarker(std::forward<MarkerT>(value));
77 return *this;
78 }
80
82
88 inline int GetMaxRecords() const { return m_maxRecords; }
89 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
90 inline void SetMaxRecords(int value) {
91 m_maxRecordsHasBeenSet = true;
92 m_maxRecords = value;
93 }
95 SetMaxRecords(value);
96 return *this;
97 }
99
101
104 inline const Aws::String& GetMigrationProjectIdentifier() const { return m_migrationProjectIdentifier; }
105 inline bool MigrationProjectIdentifierHasBeenSet() const { return m_migrationProjectIdentifierHasBeenSet; }
106 template <typename MigrationProjectIdentifierT = Aws::String>
107 void SetMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) {
108 m_migrationProjectIdentifierHasBeenSet = true;
109 m_migrationProjectIdentifier = std::forward<MigrationProjectIdentifierT>(value);
110 }
111 template <typename MigrationProjectIdentifierT = Aws::String>
113 SetMigrationProjectIdentifier(std::forward<MigrationProjectIdentifierT>(value));
114 return *this;
115 }
117 private:
118 Aws::Vector<Filter> m_filters;
119
120 Aws::String m_marker;
121
122 int m_maxRecords{0};
123
124 Aws::String m_migrationProjectIdentifier;
125 bool m_filtersHasBeenSet = false;
126 bool m_markerHasBeenSet = false;
127 bool m_maxRecordsHasBeenSet = false;
128 bool m_migrationProjectIdentifierHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace DatabaseMigrationService
133} // 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