/** * 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 { /** *

An object that contains minimal details for a schema.

See * Also:

AWS * API Reference

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

the name of the registry where the schema resides.

*/ inline const Aws::String& GetRegistryName() const{ return m_registryName; } /** *

the name of the registry where the schema resides.

*/ inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; } /** *

the name of the registry where the schema resides.

*/ inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; } /** *

the name of the registry where the schema resides.

*/ inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); } /** *

the name of the registry where the schema resides.

*/ inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); } /** *

the name of the registry where the schema resides.

*/ inline SchemaListItem& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *

the name of the registry where the schema resides.

*/ inline SchemaListItem& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} /** *

the name of the registry where the schema resides.

*/ inline SchemaListItem& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} /** *

The name of the schema.

*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *

The name of the schema.

*/ inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; } /** *

The name of the schema.

*/ inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; } /** *

The name of the schema.

*/ inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); } /** *

The name of the schema.

*/ inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); } /** *

The name of the schema.

*/ inline SchemaListItem& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The name of the schema.

*/ inline SchemaListItem& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *

The name of the schema.

*/ inline SchemaListItem& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; } /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline SchemaListItem& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline SchemaListItem& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline SchemaListItem& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *

A description for the schema.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description for the schema.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description for the schema.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description for the schema.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description for the schema.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description for the schema.

*/ inline SchemaListItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description for the schema.

*/ inline SchemaListItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description for the schema.

*/ inline SchemaListItem& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The status of the schema.

*/ inline const SchemaStatus& GetSchemaStatus() const{ return m_schemaStatus; } /** *

The status of the schema.

*/ inline bool SchemaStatusHasBeenSet() const { return m_schemaStatusHasBeenSet; } /** *

The status of the schema.

*/ inline void SetSchemaStatus(const SchemaStatus& value) { m_schemaStatusHasBeenSet = true; m_schemaStatus = value; } /** *

The status of the schema.

*/ inline void SetSchemaStatus(SchemaStatus&& value) { m_schemaStatusHasBeenSet = true; m_schemaStatus = std::move(value); } /** *

The status of the schema.

*/ inline SchemaListItem& WithSchemaStatus(const SchemaStatus& value) { SetSchemaStatus(value); return *this;} /** *

The status of the schema.

*/ inline SchemaListItem& WithSchemaStatus(SchemaStatus&& value) { SetSchemaStatus(std::move(value)); return *this;} /** *

The date and time that a schema was created.

*/ inline const Aws::String& GetCreatedTime() const{ return m_createdTime; } /** *

The date and time that a schema was created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The date and time that a schema was created.

*/ inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The date and time that a schema was created.

*/ inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The date and time that a schema was created.

*/ inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); } /** *

The date and time that a schema was created.

*/ inline SchemaListItem& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;} /** *

The date and time that a schema was created.

*/ inline SchemaListItem& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The date and time that a schema was created.

*/ inline SchemaListItem& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} /** *

The date and time that a schema was updated.

*/ inline const Aws::String& GetUpdatedTime() const{ return m_updatedTime; } /** *

The date and time that a schema was updated.

*/ inline bool UpdatedTimeHasBeenSet() const { return m_updatedTimeHasBeenSet; } /** *

The date and time that a schema was updated.

*/ inline void SetUpdatedTime(const Aws::String& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = value; } /** *

The date and time that a schema was updated.

*/ inline void SetUpdatedTime(Aws::String&& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = std::move(value); } /** *

The date and time that a schema was updated.

*/ inline void SetUpdatedTime(const char* value) { m_updatedTimeHasBeenSet = true; m_updatedTime.assign(value); } /** *

The date and time that a schema was updated.

*/ inline SchemaListItem& WithUpdatedTime(const Aws::String& value) { SetUpdatedTime(value); return *this;} /** *

The date and time that a schema was updated.

*/ inline SchemaListItem& WithUpdatedTime(Aws::String&& value) { SetUpdatedTime(std::move(value)); return *this;} /** *

The date and time that a schema was updated.

*/ inline SchemaListItem& WithUpdatedTime(const char* value) { SetUpdatedTime(value); return *this;} private: Aws::String m_registryName; bool m_registryNameHasBeenSet = false; Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; SchemaStatus m_schemaStatus; bool m_schemaStatusHasBeenSet = false; Aws::String m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_updatedTime; bool m_updatedTimeHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws