AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
StartMetadataModelCreationRequest.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/MetadataModelProperties.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DatabaseMigrationService {
16namespace Model {
17
21 public:
22 AWS_DATABASEMIGRATIONSERVICE_API StartMetadataModelCreationRequest() = 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 "StartMetadataModelCreation"; }
29
30 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetMigrationProjectIdentifier() const { return m_migrationProjectIdentifier; }
39 inline bool MigrationProjectIdentifierHasBeenSet() const { return m_migrationProjectIdentifierHasBeenSet; }
40 template <typename MigrationProjectIdentifierT = Aws::String>
41 void SetMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) {
42 m_migrationProjectIdentifierHasBeenSet = true;
43 m_migrationProjectIdentifier = std::forward<MigrationProjectIdentifierT>(value);
44 }
45 template <typename MigrationProjectIdentifierT = Aws::String>
47 SetMigrationProjectIdentifier(std::forward<MigrationProjectIdentifierT>(value));
48 return *this;
49 }
51
53
63 inline const Aws::String& GetSelectionRules() const { return m_selectionRules; }
64 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
65 template <typename SelectionRulesT = Aws::String>
66 void SetSelectionRules(SelectionRulesT&& value) {
67 m_selectionRulesHasBeenSet = true;
68 m_selectionRules = std::forward<SelectionRulesT>(value);
69 }
70 template <typename SelectionRulesT = Aws::String>
72 SetSelectionRules(std::forward<SelectionRulesT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetMetadataModelName() const { return m_metadataModelName; }
82 inline bool MetadataModelNameHasBeenSet() const { return m_metadataModelNameHasBeenSet; }
83 template <typename MetadataModelNameT = Aws::String>
84 void SetMetadataModelName(MetadataModelNameT&& value) {
85 m_metadataModelNameHasBeenSet = true;
86 m_metadataModelName = std::forward<MetadataModelNameT>(value);
87 }
88 template <typename MetadataModelNameT = Aws::String>
90 SetMetadataModelName(std::forward<MetadataModelNameT>(value));
91 return *this;
92 }
94
96
99 inline const MetadataModelProperties& GetProperties() const { return m_properties; }
100 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
101 template <typename PropertiesT = MetadataModelProperties>
102 void SetProperties(PropertiesT&& value) {
103 m_propertiesHasBeenSet = true;
104 m_properties = std::forward<PropertiesT>(value);
105 }
106 template <typename PropertiesT = MetadataModelProperties>
108 SetProperties(std::forward<PropertiesT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_migrationProjectIdentifier;
114
115 Aws::String m_selectionRules;
116
117 Aws::String m_metadataModelName;
118
119 MetadataModelProperties m_properties;
120 bool m_migrationProjectIdentifierHasBeenSet = false;
121 bool m_selectionRulesHasBeenSet = false;
122 bool m_metadataModelNameHasBeenSet = false;
123 bool m_propertiesHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace DatabaseMigrationService
128} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
StartMetadataModelCreationRequest & WithMetadataModelName(MetadataModelNameT &&value)
StartMetadataModelCreationRequest & WithSelectionRules(SelectionRulesT &&value)
StartMetadataModelCreationRequest & WithMigrationProjectIdentifier(MigrationProjectIdentifierT &&value)
AWS_DATABASEMIGRATIONSERVICE_API StartMetadataModelCreationRequest()=default
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String