AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaResponse.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/ServerShortInfoResponse.h>
10#include <aws/dms/model/DatabaseShortInfoResponse.h>
11#include <aws/dms/model/SchemaShortInfoResponse.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DatabaseMigrationService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DATABASEMIGRATIONSERVICE_API SchemaResponse();
39 AWS_DATABASEMIGRATIONSERVICE_API SchemaResponse(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API SchemaResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline long long GetCodeLineCount() const{ return m_codeLineCount; }
50 inline bool CodeLineCountHasBeenSet() const { return m_codeLineCountHasBeenSet; }
51 inline void SetCodeLineCount(long long value) { m_codeLineCountHasBeenSet = true; m_codeLineCount = value; }
52 inline SchemaResponse& WithCodeLineCount(long long value) { SetCodeLineCount(value); return *this;}
54
56
60 inline long long GetCodeSize() const{ return m_codeSize; }
61 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
62 inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
63 inline SchemaResponse& WithCodeSize(long long value) { SetCodeSize(value); return *this;}
65
67
71 inline const Aws::String& GetComplexity() const{ return m_complexity; }
72 inline bool ComplexityHasBeenSet() const { return m_complexityHasBeenSet; }
73 inline void SetComplexity(const Aws::String& value) { m_complexityHasBeenSet = true; m_complexity = value; }
74 inline void SetComplexity(Aws::String&& value) { m_complexityHasBeenSet = true; m_complexity = std::move(value); }
75 inline void SetComplexity(const char* value) { m_complexityHasBeenSet = true; m_complexity.assign(value); }
76 inline SchemaResponse& WithComplexity(const Aws::String& value) { SetComplexity(value); return *this;}
77 inline SchemaResponse& WithComplexity(Aws::String&& value) { SetComplexity(std::move(value)); return *this;}
78 inline SchemaResponse& WithComplexity(const char* value) { SetComplexity(value); return *this;}
80
82
85 inline const ServerShortInfoResponse& GetServer() const{ return m_server; }
86 inline bool ServerHasBeenSet() const { return m_serverHasBeenSet; }
87 inline void SetServer(const ServerShortInfoResponse& value) { m_serverHasBeenSet = true; m_server = value; }
88 inline void SetServer(ServerShortInfoResponse&& value) { m_serverHasBeenSet = true; m_server = std::move(value); }
89 inline SchemaResponse& WithServer(const ServerShortInfoResponse& value) { SetServer(value); return *this;}
90 inline SchemaResponse& WithServer(ServerShortInfoResponse&& value) { SetServer(std::move(value)); return *this;}
92
94
97 inline const DatabaseShortInfoResponse& GetDatabaseInstance() const{ return m_databaseInstance; }
98 inline bool DatabaseInstanceHasBeenSet() const { return m_databaseInstanceHasBeenSet; }
99 inline void SetDatabaseInstance(const DatabaseShortInfoResponse& value) { m_databaseInstanceHasBeenSet = true; m_databaseInstance = value; }
100 inline void SetDatabaseInstance(DatabaseShortInfoResponse&& value) { m_databaseInstanceHasBeenSet = true; m_databaseInstance = std::move(value); }
102 inline SchemaResponse& WithDatabaseInstance(DatabaseShortInfoResponse&& value) { SetDatabaseInstance(std::move(value)); return *this;}
104
106
109 inline const Aws::String& GetSchemaId() const{ return m_schemaId; }
110 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
111 inline void SetSchemaId(const Aws::String& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; }
112 inline void SetSchemaId(Aws::String&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); }
113 inline void SetSchemaId(const char* value) { m_schemaIdHasBeenSet = true; m_schemaId.assign(value); }
114 inline SchemaResponse& WithSchemaId(const Aws::String& value) { SetSchemaId(value); return *this;}
115 inline SchemaResponse& WithSchemaId(Aws::String&& value) { SetSchemaId(std::move(value)); return *this;}
116 inline SchemaResponse& WithSchemaId(const char* value) { SetSchemaId(value); return *this;}
118
120
123 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
124 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
125 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
126 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
127 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
128 inline SchemaResponse& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
129 inline SchemaResponse& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
130 inline SchemaResponse& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
132
134
135 inline const SchemaShortInfoResponse& GetOriginalSchema() const{ return m_originalSchema; }
136 inline bool OriginalSchemaHasBeenSet() const { return m_originalSchemaHasBeenSet; }
137 inline void SetOriginalSchema(const SchemaShortInfoResponse& value) { m_originalSchemaHasBeenSet = true; m_originalSchema = value; }
138 inline void SetOriginalSchema(SchemaShortInfoResponse&& value) { m_originalSchemaHasBeenSet = true; m_originalSchema = std::move(value); }
139 inline SchemaResponse& WithOriginalSchema(const SchemaShortInfoResponse& value) { SetOriginalSchema(value); return *this;}
140 inline SchemaResponse& WithOriginalSchema(SchemaShortInfoResponse&& value) { SetOriginalSchema(std::move(value)); return *this;}
142
144
148 inline double GetSimilarity() const{ return m_similarity; }
149 inline bool SimilarityHasBeenSet() const { return m_similarityHasBeenSet; }
150 inline void SetSimilarity(double value) { m_similarityHasBeenSet = true; m_similarity = value; }
151 inline SchemaResponse& WithSimilarity(double value) { SetSimilarity(value); return *this;}
153 private:
154
155 long long m_codeLineCount;
156 bool m_codeLineCountHasBeenSet = false;
157
158 long long m_codeSize;
159 bool m_codeSizeHasBeenSet = false;
160
161 Aws::String m_complexity;
162 bool m_complexityHasBeenSet = false;
163
165 bool m_serverHasBeenSet = false;
166
167 DatabaseShortInfoResponse m_databaseInstance;
168 bool m_databaseInstanceHasBeenSet = false;
169
170 Aws::String m_schemaId;
171 bool m_schemaIdHasBeenSet = false;
172
173 Aws::String m_schemaName;
174 bool m_schemaNameHasBeenSet = false;
175
176 SchemaShortInfoResponse m_originalSchema;
177 bool m_originalSchemaHasBeenSet = false;
178
179 double m_similarity;
180 bool m_similarityHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace DatabaseMigrationService
185} // namespace Aws
SchemaResponse & WithComplexity(const char *value)
SchemaResponse & WithCodeSize(long long value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API SchemaResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaResponse & WithSchemaName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API SchemaResponse(Aws::Utils::Json::JsonView jsonValue)
void SetOriginalSchema(SchemaShortInfoResponse &&value)
void SetDatabaseInstance(const DatabaseShortInfoResponse &value)
SchemaResponse & WithDatabaseInstance(const DatabaseShortInfoResponse &value)
void SetOriginalSchema(const SchemaShortInfoResponse &value)
SchemaResponse & WithComplexity(Aws::String &&value)
void SetServer(ServerShortInfoResponse &&value)
SchemaResponse & WithSchemaName(Aws::String &&value)
const ServerShortInfoResponse & GetServer() const
AWS_DATABASEMIGRATIONSERVICE_API SchemaResponse()
SchemaResponse & WithOriginalSchema(const SchemaShortInfoResponse &value)
void SetServer(const ServerShortInfoResponse &value)
SchemaResponse & WithSchemaId(const char *value)
SchemaResponse & WithCodeLineCount(long long value)
SchemaResponse & WithServer(const ServerShortInfoResponse &value)
SchemaResponse & WithOriginalSchema(SchemaShortInfoResponse &&value)
SchemaResponse & WithComplexity(const Aws::String &value)
void SetDatabaseInstance(DatabaseShortInfoResponse &&value)
SchemaResponse & WithSchemaId(const Aws::String &value)
SchemaResponse & WithDatabaseInstance(DatabaseShortInfoResponse &&value)
SchemaResponse & WithSchemaId(Aws::String &&value)
SchemaResponse & WithServer(ServerShortInfoResponse &&value)
SchemaResponse & WithSchemaName(const char *value)
const DatabaseShortInfoResponse & GetDatabaseInstance() const
const SchemaShortInfoResponse & GetOriginalSchema() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue