AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeMetadataModelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
10#include <aws/dms/model/OriginTypeValue.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DatabaseMigrationService {
16namespace Model {
17
21 public:
22 AWS_DATABASEMIGRATIONSERVICE_API DescribeMetadataModelRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeMetadataModel"; }
29
30 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
42 inline const Aws::String& GetSelectionRules() const { return m_selectionRules; }
43 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
44 template <typename SelectionRulesT = Aws::String>
45 void SetSelectionRules(SelectionRulesT&& value) {
46 m_selectionRulesHasBeenSet = true;
47 m_selectionRules = std::forward<SelectionRulesT>(value);
48 }
49 template <typename SelectionRulesT = Aws::String>
51 SetSelectionRules(std::forward<SelectionRulesT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetMigrationProjectIdentifier() const { return m_migrationProjectIdentifier; }
61 inline bool MigrationProjectIdentifierHasBeenSet() const { return m_migrationProjectIdentifierHasBeenSet; }
62 template <typename MigrationProjectIdentifierT = Aws::String>
63 void SetMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) {
64 m_migrationProjectIdentifierHasBeenSet = true;
65 m_migrationProjectIdentifier = std::forward<MigrationProjectIdentifierT>(value);
66 }
67 template <typename MigrationProjectIdentifierT = Aws::String>
68 DescribeMetadataModelRequest& WithMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) {
69 SetMigrationProjectIdentifier(std::forward<MigrationProjectIdentifierT>(value));
70 return *this;
71 }
73
75
79 inline OriginTypeValue GetOrigin() const { return m_origin; }
80 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
81 inline void SetOrigin(OriginTypeValue value) {
82 m_originHasBeenSet = true;
83 m_origin = value;
84 }
86 SetOrigin(value);
87 return *this;
88 }
90 private:
91 Aws::String m_selectionRules;
92
93 Aws::String m_migrationProjectIdentifier;
94
96 bool m_selectionRulesHasBeenSet = false;
97 bool m_migrationProjectIdentifierHasBeenSet = false;
98 bool m_originHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace DatabaseMigrationService
103} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API DescribeMetadataModelRequest()=default
DescribeMetadataModelRequest & WithSelectionRules(SelectionRulesT &&value)
DescribeMetadataModelRequest & WithOrigin(OriginTypeValue value)
DescribeMetadataModelRequest & WithMigrationProjectIdentifier(MigrationProjectIdentifierT &&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