AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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
58 inline const Aws::String& GetSelectionRules() const { return m_selectionRules; }
59 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
60 template <typename SelectionRulesT = Aws::String>
61 void SetSelectionRules(SelectionRulesT&& value) {
62 m_selectionRulesHasBeenSet = true;
63 m_selectionRules = std::forward<SelectionRulesT>(value);
64 }
65 template <typename SelectionRulesT = Aws::String>
67 SetSelectionRules(std::forward<SelectionRulesT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetMetadataModelName() const { return m_metadataModelName; }
77 inline bool MetadataModelNameHasBeenSet() const { return m_metadataModelNameHasBeenSet; }
78 template <typename MetadataModelNameT = Aws::String>
79 void SetMetadataModelName(MetadataModelNameT&& value) {
80 m_metadataModelNameHasBeenSet = true;
81 m_metadataModelName = std::forward<MetadataModelNameT>(value);
82 }
83 template <typename MetadataModelNameT = Aws::String>
85 SetMetadataModelName(std::forward<MetadataModelNameT>(value));
86 return *this;
87 }
89
91
95 inline const MetadataModelProperties& GetProperties() const { return m_properties; }
96 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
97 template <typename PropertiesT = MetadataModelProperties>
98 void SetProperties(PropertiesT&& value) {
99 m_propertiesHasBeenSet = true;
100 m_properties = std::forward<PropertiesT>(value);
101 }
102 template <typename PropertiesT = MetadataModelProperties>
104 SetProperties(std::forward<PropertiesT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_migrationProjectIdentifier;
110
111 Aws::String m_selectionRules;
112
113 Aws::String m_metadataModelName;
114
115 MetadataModelProperties m_properties;
116 bool m_migrationProjectIdentifierHasBeenSet = false;
117 bool m_selectionRulesHasBeenSet = false;
118 bool m_metadataModelNameHasBeenSet = false;
119 bool m_propertiesHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace DatabaseMigrationService
124} // 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