/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

A structure containing migration status information.

See Also:

* AWS * API Reference

*/ class CatalogImportStatus { public: AWS_GLUE_API CatalogImportStatus(); AWS_GLUE_API CatalogImportStatus(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API CatalogImportStatus& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

True if the migration has completed, or False * otherwise.

*/ inline bool GetImportCompleted() const{ return m_importCompleted; } /** *

True if the migration has completed, or False * otherwise.

*/ inline bool ImportCompletedHasBeenSet() const { return m_importCompletedHasBeenSet; } /** *

True if the migration has completed, or False * otherwise.

*/ inline void SetImportCompleted(bool value) { m_importCompletedHasBeenSet = true; m_importCompleted = value; } /** *

True if the migration has completed, or False * otherwise.

*/ inline CatalogImportStatus& WithImportCompleted(bool value) { SetImportCompleted(value); return *this;} /** *

The time that the migration was started.

*/ inline const Aws::Utils::DateTime& GetImportTime() const{ return m_importTime; } /** *

The time that the migration was started.

*/ inline bool ImportTimeHasBeenSet() const { return m_importTimeHasBeenSet; } /** *

The time that the migration was started.

*/ inline void SetImportTime(const Aws::Utils::DateTime& value) { m_importTimeHasBeenSet = true; m_importTime = value; } /** *

The time that the migration was started.

*/ inline void SetImportTime(Aws::Utils::DateTime&& value) { m_importTimeHasBeenSet = true; m_importTime = std::move(value); } /** *

The time that the migration was started.

*/ inline CatalogImportStatus& WithImportTime(const Aws::Utils::DateTime& value) { SetImportTime(value); return *this;} /** *

The time that the migration was started.

*/ inline CatalogImportStatus& WithImportTime(Aws::Utils::DateTime&& value) { SetImportTime(std::move(value)); return *this;} /** *

The name of the person who initiated the migration.

*/ inline const Aws::String& GetImportedBy() const{ return m_importedBy; } /** *

The name of the person who initiated the migration.

*/ inline bool ImportedByHasBeenSet() const { return m_importedByHasBeenSet; } /** *

The name of the person who initiated the migration.

*/ inline void SetImportedBy(const Aws::String& value) { m_importedByHasBeenSet = true; m_importedBy = value; } /** *

The name of the person who initiated the migration.

*/ inline void SetImportedBy(Aws::String&& value) { m_importedByHasBeenSet = true; m_importedBy = std::move(value); } /** *

The name of the person who initiated the migration.

*/ inline void SetImportedBy(const char* value) { m_importedByHasBeenSet = true; m_importedBy.assign(value); } /** *

The name of the person who initiated the migration.

*/ inline CatalogImportStatus& WithImportedBy(const Aws::String& value) { SetImportedBy(value); return *this;} /** *

The name of the person who initiated the migration.

*/ inline CatalogImportStatus& WithImportedBy(Aws::String&& value) { SetImportedBy(std::move(value)); return *this;} /** *

The name of the person who initiated the migration.

*/ inline CatalogImportStatus& WithImportedBy(const char* value) { SetImportedBy(value); return *this;} private: bool m_importCompleted; bool m_importCompletedHasBeenSet = false; Aws::Utils::DateTime m_importTime; bool m_importTimeHasBeenSet = false; Aws::String m_importedBy; bool m_importedByHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws