AWS SDK for C++

AWS SDK for C++ Version 1.11.874

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
45 inline const Aws::String& GetSelectionRules() const { return m_selectionRules; }
46 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
47 template <typename SelectionRulesT = Aws::String>
48 void SetSelectionRules(SelectionRulesT&& value) {
49 m_selectionRulesHasBeenSet = true;
50 m_selectionRules = std::forward<SelectionRulesT>(value);
51 }
52 template <typename SelectionRulesT = Aws::String>
54 SetSelectionRules(std::forward<SelectionRulesT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetMigrationProjectIdentifier() const { return m_migrationProjectIdentifier; }
64 inline bool MigrationProjectIdentifierHasBeenSet() const { return m_migrationProjectIdentifierHasBeenSet; }
65 template <typename MigrationProjectIdentifierT = Aws::String>
66 void SetMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) {
67 m_migrationProjectIdentifierHasBeenSet = true;
68 m_migrationProjectIdentifier = std::forward<MigrationProjectIdentifierT>(value);
69 }
70 template <typename MigrationProjectIdentifierT = Aws::String>
71 DescribeMetadataModelRequest& WithMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) {
72 SetMigrationProjectIdentifier(std::forward<MigrationProjectIdentifierT>(value));
73 return *this;
74 }
76
78
82 inline OriginTypeValue GetOrigin() const { return m_origin; }
83 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
84 inline void SetOrigin(OriginTypeValue value) {
85 m_originHasBeenSet = true;
86 m_origin = value;
87 }
89 SetOrigin(value);
90 return *this;
91 }
93 private:
94 Aws::String m_selectionRules;
95
96 Aws::String m_migrationProjectIdentifier;
97
99 bool m_selectionRulesHasBeenSet = false;
100 bool m_migrationProjectIdentifierHasBeenSet = false;
101 bool m_originHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace DatabaseMigrationService
106} // 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