AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaConversionRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/ErrorDetails.h>
10#include <aws/dms/model/ExportSqlDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest();
38 AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetStatus() const{ return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
51 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
52 inline SchemaConversionRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
53 inline SchemaConversionRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
54 inline SchemaConversionRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
56
58
61 inline const Aws::String& GetRequestIdentifier() const{ return m_requestIdentifier; }
62 inline bool RequestIdentifierHasBeenSet() const { return m_requestIdentifierHasBeenSet; }
63 inline void SetRequestIdentifier(const Aws::String& value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier = value; }
64 inline void SetRequestIdentifier(Aws::String&& value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier = std::move(value); }
65 inline void SetRequestIdentifier(const char* value) { m_requestIdentifierHasBeenSet = true; m_requestIdentifier.assign(value); }
67 inline SchemaConversionRequest& WithRequestIdentifier(Aws::String&& value) { SetRequestIdentifier(std::move(value)); return *this;}
68 inline SchemaConversionRequest& WithRequestIdentifier(const char* value) { SetRequestIdentifier(value); return *this;}
70
72
75 inline const Aws::String& GetMigrationProjectArn() const{ return m_migrationProjectArn; }
76 inline bool MigrationProjectArnHasBeenSet() const { return m_migrationProjectArnHasBeenSet; }
77 inline void SetMigrationProjectArn(const Aws::String& value) { m_migrationProjectArnHasBeenSet = true; m_migrationProjectArn = value; }
78 inline void SetMigrationProjectArn(Aws::String&& value) { m_migrationProjectArnHasBeenSet = true; m_migrationProjectArn = std::move(value); }
79 inline void SetMigrationProjectArn(const char* value) { m_migrationProjectArnHasBeenSet = true; m_migrationProjectArn.assign(value); }
81 inline SchemaConversionRequest& WithMigrationProjectArn(Aws::String&& value) { SetMigrationProjectArn(std::move(value)); return *this;}
82 inline SchemaConversionRequest& WithMigrationProjectArn(const char* value) { SetMigrationProjectArn(value); return *this;}
84
86
87 inline const ErrorDetails& GetError() const{ return m_error; }
88 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
89 inline void SetError(const ErrorDetails& value) { m_errorHasBeenSet = true; m_error = value; }
90 inline void SetError(ErrorDetails&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
91 inline SchemaConversionRequest& WithError(const ErrorDetails& value) { SetError(value); return *this;}
92 inline SchemaConversionRequest& WithError(ErrorDetails&& value) { SetError(std::move(value)); return *this;}
94
96
97 inline const ExportSqlDetails& GetExportSqlDetails() const{ return m_exportSqlDetails; }
98 inline bool ExportSqlDetailsHasBeenSet() const { return m_exportSqlDetailsHasBeenSet; }
99 inline void SetExportSqlDetails(const ExportSqlDetails& value) { m_exportSqlDetailsHasBeenSet = true; m_exportSqlDetails = value; }
100 inline void SetExportSqlDetails(ExportSqlDetails&& value) { m_exportSqlDetailsHasBeenSet = true; m_exportSqlDetails = std::move(value); }
102 inline SchemaConversionRequest& WithExportSqlDetails(ExportSqlDetails&& value) { SetExportSqlDetails(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_status;
107 bool m_statusHasBeenSet = false;
108
109 Aws::String m_requestIdentifier;
110 bool m_requestIdentifierHasBeenSet = false;
111
112 Aws::String m_migrationProjectArn;
113 bool m_migrationProjectArnHasBeenSet = false;
114
115 ErrorDetails m_error;
116 bool m_errorHasBeenSet = false;
117
118 ExportSqlDetails m_exportSqlDetails;
119 bool m_exportSqlDetailsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace DatabaseMigrationService
124} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaConversionRequest & WithRequestIdentifier(Aws::String &&value)
SchemaConversionRequest & WithExportSqlDetails(const ExportSqlDetails &value)
SchemaConversionRequest & WithExportSqlDetails(ExportSqlDetails &&value)
SchemaConversionRequest & WithRequestIdentifier(const char *value)
SchemaConversionRequest & WithMigrationProjectArn(const char *value)
SchemaConversionRequest & WithStatus(const Aws::String &value)
SchemaConversionRequest & WithRequestIdentifier(const Aws::String &value)
SchemaConversionRequest & WithStatus(Aws::String &&value)
SchemaConversionRequest & WithError(const ErrorDetails &value)
AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API SchemaConversionRequest()
SchemaConversionRequest & WithMigrationProjectArn(Aws::String &&value)
SchemaConversionRequest & WithError(ErrorDetails &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaConversionRequest & WithMigrationProjectArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue