/** * 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 containing the details about a schema version.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the schema.

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

The Amazon Resource Name (ARN) of the schema.

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

The Amazon Resource Name (ARN) of the schema.

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

The Amazon Resource Name (ARN) of the schema.

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

The Amazon Resource Name (ARN) of the schema.

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

The Amazon Resource Name (ARN) of the schema.

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

The Amazon Resource Name (ARN) of the schema.

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

The Amazon Resource Name (ARN) of the schema.

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

The unique identifier of the schema version.

*/ inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; } /** *

The unique identifier of the schema version.

*/ inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; } /** *

The unique identifier of the schema version.

*/ inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = value; } /** *

The unique identifier of the schema version.

*/ inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::move(value); } /** *

The unique identifier of the schema version.

*/ inline void SetSchemaVersionId(const char* value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId.assign(value); } /** *

The unique identifier of the schema version.

*/ inline SchemaVersionListItem& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;} /** *

The unique identifier of the schema version.

*/ inline SchemaVersionListItem& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;} /** *

The unique identifier of the schema version.

*/ inline SchemaVersionListItem& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;} /** *

The version number of the schema.

*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *

The version number of the schema.

*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *

The version number of the schema.

*/ inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *

The version number of the schema.

*/ inline SchemaVersionListItem& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} /** *

The status of the schema version.

*/ inline const SchemaVersionStatus& GetStatus() const{ return m_status; } /** *

The status of the schema version.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the schema version.

*/ inline void SetStatus(const SchemaVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the schema version.

*/ inline void SetStatus(SchemaVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the schema version.

*/ inline SchemaVersionListItem& WithStatus(const SchemaVersionStatus& value) { SetStatus(value); return *this;} /** *

The status of the schema version.

*/ inline SchemaVersionListItem& WithStatus(SchemaVersionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The date and time the schema version was created.

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

The date and time the schema version was created.

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

The date and time the schema version was created.

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

The date and time the schema version was created.

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

The date and time the schema version was created.

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

The date and time the schema version was created.

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

The date and time the schema version was created.

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

The date and time the schema version was created.

*/ inline SchemaVersionListItem& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} private: Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_schemaVersionId; bool m_schemaVersionIdHasBeenSet = false; long long m_versionNumber; bool m_versionNumberHasBeenSet = false; SchemaVersionStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_createdTime; bool m_createdTimeHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws