AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
42 inline const Aws::String& GetStatus() const { return m_status; }
43 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
44 template <typename StatusT = Aws::String>
45 void SetStatus(StatusT&& value) {
46 m_statusHasBeenSet = true;
47 m_status = std::forward<StatusT>(value);
48 }
49 template <typename StatusT = Aws::String>
51 SetStatus(std::forward<StatusT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetRequestIdentifier() const { return m_requestIdentifier; }
61 inline bool RequestIdentifierHasBeenSet() const { return m_requestIdentifierHasBeenSet; }
62 template <typename RequestIdentifierT = Aws::String>
63 void SetRequestIdentifier(RequestIdentifierT&& value) {
64 m_requestIdentifierHasBeenSet = true;
65 m_requestIdentifier = std::forward<RequestIdentifierT>(value);
66 }
67 template <typename RequestIdentifierT = Aws::String>
68 SchemaConversionRequest& WithRequestIdentifier(RequestIdentifierT&& value) {
69 SetRequestIdentifier(std::forward<RequestIdentifierT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetMigrationProjectArn() const { return m_migrationProjectArn; }
79 inline bool MigrationProjectArnHasBeenSet() const { return m_migrationProjectArnHasBeenSet; }
80 template <typename MigrationProjectArnT = Aws::String>
81 void SetMigrationProjectArn(MigrationProjectArnT&& value) {
82 m_migrationProjectArnHasBeenSet = true;
83 m_migrationProjectArn = std::forward<MigrationProjectArnT>(value);
84 }
85 template <typename MigrationProjectArnT = Aws::String>
86 SchemaConversionRequest& WithMigrationProjectArn(MigrationProjectArnT&& value) {
87 SetMigrationProjectArn(std::forward<MigrationProjectArnT>(value));
88 return *this;
89 }
91
93
94 inline const ErrorDetails& GetError() const { return m_error; }
95 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
96 template <typename ErrorT = ErrorDetails>
97 void SetError(ErrorT&& value) {
98 m_errorHasBeenSet = true;
99 m_error = std::forward<ErrorT>(value);
100 }
101 template <typename ErrorT = ErrorDetails>
103 SetError(std::forward<ErrorT>(value));
104 return *this;
105 }
107
109
110 inline const ExportSqlDetails& GetExportSqlDetails() const { return m_exportSqlDetails; }
111 inline bool ExportSqlDetailsHasBeenSet() const { return m_exportSqlDetailsHasBeenSet; }
112 template <typename ExportSqlDetailsT = ExportSqlDetails>
113 void SetExportSqlDetails(ExportSqlDetailsT&& value) {
114 m_exportSqlDetailsHasBeenSet = true;
115 m_exportSqlDetails = std::forward<ExportSqlDetailsT>(value);
116 }
117 template <typename ExportSqlDetailsT = ExportSqlDetails>
118 SchemaConversionRequest& WithExportSqlDetails(ExportSqlDetailsT&& value) {
119 SetExportSqlDetails(std::forward<ExportSqlDetailsT>(value));
120 return *this;
121 }
123
125
126 inline const Progress& GetProgress() const { return m_progress; }
127 inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
128 template <typename ProgressT = Progress>
129 void SetProgress(ProgressT&& value) {
130 m_progressHasBeenSet = true;
131 m_progress = std::forward<ProgressT>(value);
132 }
133 template <typename ProgressT = Progress>
135 SetProgress(std::forward<ProgressT>(value));
136 return *this;
137 }
139 private:
140 Aws::String m_status;
141
142 Aws::String m_requestIdentifier;
143
144 Aws::String m_migrationProjectArn;
145
146 ErrorDetails m_error;
147
148 ExportSqlDetails m_exportSqlDetails;
149
150 Progress m_progress;
151 bool m_statusHasBeenSet = false;
152 bool m_requestIdentifierHasBeenSet = false;
153 bool m_migrationProjectArnHasBeenSet = false;
154 bool m_errorHasBeenSet = false;
155 bool m_exportSqlDetailsHasBeenSet = false;
156 bool m_progressHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace DatabaseMigrationService
161} // 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