7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/MigrationError.h>
11#include <aws/opensearch/model/MigrationSource.h>
22namespace OpenSearchService {
44 template <
typename MigrationIdT = Aws::String>
46 m_migrationIdHasBeenSet =
true;
47 m_migrationId = std::forward<MigrationIdT>(value);
49 template <
typename MigrationIdT = Aws::String>
62 template <
typename StatusT = Aws::String>
64 m_statusHasBeenSet =
true;
65 m_status = std::forward<StatusT>(value);
67 template <
typename StatusT = Aws::String>
81 template <
typename ApplicationIdT = Aws::String>
83 m_applicationIdHasBeenSet =
true;
84 m_applicationId = std::forward<ApplicationIdT>(value);
86 template <
typename ApplicationIdT = Aws::String>
99 template <
typename SourceT = MigrationSource>
101 m_sourceHasBeenSet =
true;
102 m_source = std::forward<SourceT>(value);
104 template <
typename SourceT = MigrationSource>
118 m_exportedCountHasBeenSet =
true;
119 m_exportedCount = value;
135 m_importedCountHasBeenSet =
true;
136 m_importedCount = value;
150 template <
typename ErrorT = MigrationError>
152 m_errorHasBeenSet =
true;
153 m_error = std::forward<ErrorT>(value);
155 template <
typename ErrorT = MigrationError>
157 SetError(std::forward<ErrorT>(value));
168 template <
typename CreatedAtT = Aws::Utils::DateTime>
170 m_createdAtHasBeenSet =
true;
171 m_createdAt = std::forward<CreatedAtT>(value);
173 template <
typename CreatedAtT = Aws::Utils::DateTime>
186 template <
typename UpdatedAtT = Aws::Utils::DateTime>
188 m_updatedAtHasBeenSet =
true;
189 m_updatedAt = std::forward<UpdatedAtT>(value);
191 template <
typename UpdatedAtT = Aws::Utils::DateTime>
206 int m_exportedCount{0};
208 int m_importedCount{0};
210 MigrationError m_error;
215 bool m_migrationIdHasBeenSet =
false;
216 bool m_statusHasBeenSet =
false;
217 bool m_applicationIdHasBeenSet =
false;
218 bool m_sourceHasBeenSet =
false;
219 bool m_exportedCountHasBeenSet =
false;
220 bool m_importedCountHasBeenSet =
false;
221 bool m_errorHasBeenSet =
false;
222 bool m_createdAtHasBeenSet =
false;
223 bool m_updatedAtHasBeenSet =
false;
const MigrationError & GetError() const
bool ExportedCountHasBeenSet() const
MigrationSummary & WithExportedCount(int value)
void SetError(ErrorT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetSource(SourceT &&value)
int GetExportedCount() const
AWS_OPENSEARCHSERVICE_API MigrationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API MigrationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool ErrorHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MigrationSummary & WithCreatedAt(CreatedAtT &&value)
const MigrationSource & GetSource() const
bool SourceHasBeenSet() const
void SetMigrationId(MigrationIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool ImportedCountHasBeenSet() const
void SetExportedCount(int value)
MigrationSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetStatus() const
MigrationSummary & WithApplicationId(ApplicationIdT &&value)
void SetImportedCount(int value)
MigrationSummary & WithStatus(StatusT &&value)
const Aws::String & GetMigrationId() const
void SetApplicationId(ApplicationIdT &&value)
void SetStatus(StatusT &&value)
int GetImportedCount() const
const Aws::String & GetApplicationId() const
bool CreatedAtHasBeenSet() const
AWS_OPENSEARCHSERVICE_API MigrationSummary()=default
MigrationSummary & WithSource(SourceT &&value)
bool MigrationIdHasBeenSet() const
MigrationSummary & WithMigrationId(MigrationIdT &&value)
MigrationSummary & WithImportedCount(int value)
bool StatusHasBeenSet() const
MigrationSummary & WithError(ErrorT &&value)
bool ApplicationIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue