AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
SchemaConversionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9#include <aws/dms/model/ErrorDetails.h>
10#include <aws/dms/model/ExportSqlDetails.h>
11#include <aws/dms/model/Progress.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService {
23namespace Model {
24
32 public:
33 AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest() = default;
34 AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
50 inline const Aws::String& GetStatus() const { return m_status; }
51 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 template <typename StatusT = Aws::String>
53 void SetStatus(StatusT&& value) {
54 m_statusHasBeenSet = true;
55 m_status = std::forward<StatusT>(value);
56 }
57 template <typename StatusT = Aws::String>
59 SetStatus(std::forward<StatusT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetRequestIdentifier() const { return m_requestIdentifier; }
69 inline bool RequestIdentifierHasBeenSet() const { return m_requestIdentifierHasBeenSet; }
70 template <typename RequestIdentifierT = Aws::String>
71 void SetRequestIdentifier(RequestIdentifierT&& value) {
72 m_requestIdentifierHasBeenSet = true;
73 m_requestIdentifier = std::forward<RequestIdentifierT>(value);
74 }
75 template <typename RequestIdentifierT = Aws::String>
76 SchemaConversionRequest& WithRequestIdentifier(RequestIdentifierT&& value) {
77 SetRequestIdentifier(std::forward<RequestIdentifierT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetMigrationProjectArn() const { return m_migrationProjectArn; }
87 inline bool MigrationProjectArnHasBeenSet() const { return m_migrationProjectArnHasBeenSet; }
88 template <typename MigrationProjectArnT = Aws::String>
89 void SetMigrationProjectArn(MigrationProjectArnT&& value) {
90 m_migrationProjectArnHasBeenSet = true;
91 m_migrationProjectArn = std::forward<MigrationProjectArnT>(value);
92 }
93 template <typename MigrationProjectArnT = Aws::String>
94 SchemaConversionRequest& WithMigrationProjectArn(MigrationProjectArnT&& value) {
95 SetMigrationProjectArn(std::forward<MigrationProjectArnT>(value));
96 return *this;
97 }
99
101
102 inline const ErrorDetails& GetError() const { return m_error; }
103 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
104 template <typename ErrorT = ErrorDetails>
105 void SetError(ErrorT&& value) {
106 m_errorHasBeenSet = true;
107 m_error = std::forward<ErrorT>(value);
108 }
109 template <typename ErrorT = ErrorDetails>
111 SetError(std::forward<ErrorT>(value));
112 return *this;
113 }
115
117
122 inline const ExportSqlDetails& GetExportSqlDetails() const { return m_exportSqlDetails; }
123 inline bool ExportSqlDetailsHasBeenSet() const { return m_exportSqlDetailsHasBeenSet; }
124 template <typename ExportSqlDetailsT = ExportSqlDetails>
125 void SetExportSqlDetails(ExportSqlDetailsT&& value) {
126 m_exportSqlDetailsHasBeenSet = true;
127 m_exportSqlDetails = std::forward<ExportSqlDetailsT>(value);
128 }
129 template <typename ExportSqlDetailsT = ExportSqlDetails>
130 SchemaConversionRequest& WithExportSqlDetails(ExportSqlDetailsT&& value) {
131 SetExportSqlDetails(std::forward<ExportSqlDetailsT>(value));
132 return *this;
133 }
135
137
138 inline const Progress& GetProgress() const { return m_progress; }
139 inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
140 template <typename ProgressT = Progress>
141 void SetProgress(ProgressT&& value) {
142 m_progressHasBeenSet = true;
143 m_progress = std::forward<ProgressT>(value);
144 }
145 template <typename ProgressT = Progress>
147 SetProgress(std::forward<ProgressT>(value));
148 return *this;
149 }
151 private:
152 Aws::String m_status;
153
154 Aws::String m_requestIdentifier;
155
156 Aws::String m_migrationProjectArn;
157
158 ErrorDetails m_error;
159
160 ExportSqlDetails m_exportSqlDetails;
161
162 Progress m_progress;
163 bool m_statusHasBeenSet = false;
164 bool m_requestIdentifierHasBeenSet = false;
165 bool m_migrationProjectArnHasBeenSet = false;
166 bool m_errorHasBeenSet = false;
167 bool m_exportSqlDetailsHasBeenSet = false;
168 bool m_progressHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace DatabaseMigrationService
173} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaConversionRequest & WithMigrationProjectArn(MigrationProjectArnT &&value)
SchemaConversionRequest & WithExportSqlDetails(ExportSqlDetailsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest()=default
SchemaConversionRequest & WithRequestIdentifier(RequestIdentifierT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue