AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMigrationProjectIdentifier(const Aws::String& value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier = value; }
45 inline void SetMigrationProjectIdentifier(Aws::String&& value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier = std::move(value); }
46 inline void SetMigrationProjectIdentifier(const char* value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier.assign(value); }
51
53
56 inline const Aws::String& GetSelectionRules() const{ return m_selectionRules; }
57 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
58 inline void SetSelectionRules(const Aws::String& value) { m_selectionRulesHasBeenSet = true; m_selectionRules = value; }
59 inline void SetSelectionRules(Aws::String&& value) { m_selectionRulesHasBeenSet = true; m_selectionRules = std::move(value); }
60 inline void SetSelectionRules(const char* value) { m_selectionRulesHasBeenSet = true; m_selectionRules.assign(value); }
62 inline StartMetadataModelImportRequest& WithSelectionRules(Aws::String&& value) { SetSelectionRules(std::move(value)); return *this;}
63 inline StartMetadataModelImportRequest& WithSelectionRules(const char* value) { SetSelectionRules(value); return *this;}
65
67
70 inline const OriginTypeValue& GetOrigin() const{ return m_origin; }
71 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
72 inline void SetOrigin(const OriginTypeValue& value) { m_originHasBeenSet = true; m_origin = value; }
73 inline void SetOrigin(OriginTypeValue&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
74 inline StartMetadataModelImportRequest& WithOrigin(const OriginTypeValue& value) { SetOrigin(value); return *this;}
75 inline StartMetadataModelImportRequest& WithOrigin(OriginTypeValue&& value) { SetOrigin(std::move(value)); return *this;}
77
79
83 inline bool GetRefresh() const{ return m_refresh; }
84 inline bool RefreshHasBeenSet() const { return m_refreshHasBeenSet; }
85 inline void SetRefresh(bool value) { m_refreshHasBeenSet = true; m_refresh = value; }
86 inline StartMetadataModelImportRequest& WithRefresh(bool value) { SetRefresh(value); return *this;}
88 private:
89
90 Aws::String m_migrationProjectIdentifier;
91 bool m_migrationProjectIdentifierHasBeenSet = false;
92
93 Aws::String m_selectionRules;
94 bool m_selectionRulesHasBeenSet = false;
95
96 OriginTypeValue m_origin;
97 bool m_originHasBeenSet = false;
98
99 bool m_refresh;
100 bool m_refreshHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace DatabaseMigrationService
105} // namespace Aws
StartMetadataModelImportRequest & WithSelectionRules(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartMetadataModelImportRequest & WithSelectionRules(Aws::String &&value)
StartMetadataModelImportRequest & WithOrigin(OriginTypeValue &&value)
StartMetadataModelImportRequest & WithOrigin(const OriginTypeValue &value)
StartMetadataModelImportRequest & WithMigrationProjectIdentifier(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
StartMetadataModelImportRequest & WithMigrationProjectIdentifier(Aws::String &&value)
StartMetadataModelImportRequest & WithMigrationProjectIdentifier(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String