AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExportMetadataModelAssessmentRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/dms/model/AssessmentReportType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DatabaseMigrationService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATABASEMIGRATIONSERVICE_API ExportMetadataModelAssessmentRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ExportMetadataModelAssessment"; }
33
34 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetMigrationProjectIdentifier() const { return m_migrationProjectIdentifier; }
44 inline bool MigrationProjectIdentifierHasBeenSet() const { return m_migrationProjectIdentifierHasBeenSet; }
45 template<typename MigrationProjectIdentifierT = Aws::String>
46 void SetMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier = std::forward<MigrationProjectIdentifierT>(value); }
47 template<typename MigrationProjectIdentifierT = Aws::String>
48 ExportMetadataModelAssessmentRequest& WithMigrationProjectIdentifier(MigrationProjectIdentifierT&& value) { SetMigrationProjectIdentifier(std::forward<MigrationProjectIdentifierT>(value)); return *this;}
50
52
55 inline const Aws::String& GetSelectionRules() const { return m_selectionRules; }
56 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
57 template<typename SelectionRulesT = Aws::String>
58 void SetSelectionRules(SelectionRulesT&& value) { m_selectionRulesHasBeenSet = true; m_selectionRules = std::forward<SelectionRulesT>(value); }
59 template<typename SelectionRulesT = Aws::String>
60 ExportMetadataModelAssessmentRequest& WithSelectionRules(SelectionRulesT&& value) { SetSelectionRules(std::forward<SelectionRulesT>(value)); return *this;}
62
64
67 inline const Aws::String& GetFileName() const { return m_fileName; }
68 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
69 template<typename FileNameT = Aws::String>
70 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
71 template<typename FileNameT = Aws::String>
72 ExportMetadataModelAssessmentRequest& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
74
76
79 inline const Aws::Vector<AssessmentReportType>& GetAssessmentReportTypes() const { return m_assessmentReportTypes; }
80 inline bool AssessmentReportTypesHasBeenSet() const { return m_assessmentReportTypesHasBeenSet; }
81 template<typename AssessmentReportTypesT = Aws::Vector<AssessmentReportType>>
82 void SetAssessmentReportTypes(AssessmentReportTypesT&& value) { m_assessmentReportTypesHasBeenSet = true; m_assessmentReportTypes = std::forward<AssessmentReportTypesT>(value); }
83 template<typename AssessmentReportTypesT = Aws::Vector<AssessmentReportType>>
84 ExportMetadataModelAssessmentRequest& WithAssessmentReportTypes(AssessmentReportTypesT&& value) { SetAssessmentReportTypes(std::forward<AssessmentReportTypesT>(value)); return *this;}
85 inline ExportMetadataModelAssessmentRequest& AddAssessmentReportTypes(AssessmentReportType value) { m_assessmentReportTypesHasBeenSet = true; m_assessmentReportTypes.push_back(value); return *this; }
87 private:
88
89 Aws::String m_migrationProjectIdentifier;
90 bool m_migrationProjectIdentifierHasBeenSet = false;
91
92 Aws::String m_selectionRules;
93 bool m_selectionRulesHasBeenSet = false;
94
95 Aws::String m_fileName;
96 bool m_fileNameHasBeenSet = false;
97
98 Aws::Vector<AssessmentReportType> m_assessmentReportTypes;
99 bool m_assessmentReportTypesHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace DatabaseMigrationService
104} // namespace Aws
ExportMetadataModelAssessmentRequest & AddAssessmentReportTypes(AssessmentReportType value)
ExportMetadataModelAssessmentRequest & WithAssessmentReportTypes(AssessmentReportTypesT &&value)
ExportMetadataModelAssessmentRequest & WithMigrationProjectIdentifier(MigrationProjectIdentifierT &&value)
ExportMetadataModelAssessmentRequest & WithSelectionRules(SelectionRulesT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API ExportMetadataModelAssessmentRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector