AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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