AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMigrationProjectIdentifier(const Aws::String& value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier = value; }
46 inline void SetMigrationProjectIdentifier(Aws::String&& value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier = std::move(value); }
47 inline void SetMigrationProjectIdentifier(const char* value) { m_migrationProjectIdentifierHasBeenSet = true; m_migrationProjectIdentifier.assign(value); }
52
54
57 inline const Aws::String& GetSelectionRules() const{ return m_selectionRules; }
58 inline bool SelectionRulesHasBeenSet() const { return m_selectionRulesHasBeenSet; }
59 inline void SetSelectionRules(const Aws::String& value) { m_selectionRulesHasBeenSet = true; m_selectionRules = value; }
60 inline void SetSelectionRules(Aws::String&& value) { m_selectionRulesHasBeenSet = true; m_selectionRules = std::move(value); }
61 inline void SetSelectionRules(const char* value) { m_selectionRulesHasBeenSet = true; m_selectionRules.assign(value); }
63 inline ExportMetadataModelAssessmentRequest& WithSelectionRules(Aws::String&& value) { SetSelectionRules(std::move(value)); return *this;}
64 inline ExportMetadataModelAssessmentRequest& WithSelectionRules(const char* value) { SetSelectionRules(value); return *this;}
66
68
71 inline const Aws::String& GetFileName() const{ return m_fileName; }
72 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
73 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
74 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
75 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
76 inline ExportMetadataModelAssessmentRequest& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
77 inline ExportMetadataModelAssessmentRequest& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
78 inline ExportMetadataModelAssessmentRequest& WithFileName(const char* value) { SetFileName(value); return *this;}
80
82
85 inline const Aws::Vector<AssessmentReportType>& GetAssessmentReportTypes() const{ return m_assessmentReportTypes; }
86 inline bool AssessmentReportTypesHasBeenSet() const { return m_assessmentReportTypesHasBeenSet; }
87 inline void SetAssessmentReportTypes(const Aws::Vector<AssessmentReportType>& value) { m_assessmentReportTypesHasBeenSet = true; m_assessmentReportTypes = value; }
88 inline void SetAssessmentReportTypes(Aws::Vector<AssessmentReportType>&& value) { m_assessmentReportTypesHasBeenSet = true; m_assessmentReportTypes = std::move(value); }
91 inline ExportMetadataModelAssessmentRequest& AddAssessmentReportTypes(const AssessmentReportType& value) { m_assessmentReportTypesHasBeenSet = true; m_assessmentReportTypes.push_back(value); return *this; }
92 inline ExportMetadataModelAssessmentRequest& AddAssessmentReportTypes(AssessmentReportType&& value) { m_assessmentReportTypesHasBeenSet = true; m_assessmentReportTypes.push_back(std::move(value)); return *this; }
94 private:
95
96 Aws::String m_migrationProjectIdentifier;
97 bool m_migrationProjectIdentifierHasBeenSet = false;
98
99 Aws::String m_selectionRules;
100 bool m_selectionRulesHasBeenSet = false;
101
102 Aws::String m_fileName;
103 bool m_fileNameHasBeenSet = false;
104
105 Aws::Vector<AssessmentReportType> m_assessmentReportTypes;
106 bool m_assessmentReportTypesHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace DatabaseMigrationService
111} // namespace Aws
ExportMetadataModelAssessmentRequest & AddAssessmentReportTypes(AssessmentReportType &&value)
ExportMetadataModelAssessmentRequest & WithMigrationProjectIdentifier(const Aws::String &value)
ExportMetadataModelAssessmentRequest & AddAssessmentReportTypes(const AssessmentReportType &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ExportMetadataModelAssessmentRequest & WithMigrationProjectIdentifier(const char *value)
ExportMetadataModelAssessmentRequest & WithSelectionRules(const Aws::String &value)
ExportMetadataModelAssessmentRequest & WithMigrationProjectIdentifier(Aws::String &&value)
ExportMetadataModelAssessmentRequest & WithFileName(const Aws::String &value)
ExportMetadataModelAssessmentRequest & WithAssessmentReportTypes(Aws::Vector< AssessmentReportType > &&value)
ExportMetadataModelAssessmentRequest & WithAssessmentReportTypes(const Aws::Vector< AssessmentReportType > &value)
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
std::vector< T, Aws::Allocator< T > > Vector