/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class RegisterSchemaVersionResult { public: AWS_GLUE_API RegisterSchemaVersionResult(); AWS_GLUE_API RegisterSchemaVersionResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API RegisterSchemaVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique ID that represents the version of this schema.

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

The unique ID that represents the version of this schema.

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

The unique ID that represents the version of this schema.

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

The unique ID that represents the version of this schema.

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

The unique ID that represents the version of this schema.

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

The unique ID that represents the version of this schema.

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

The unique ID that represents the version of this schema.

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

The version of this schema (for sync flow only, in case this is the first * version).

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

The version of this schema (for sync flow only, in case this is the first * version).

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

The version of this schema (for sync flow only, in case this is the first * version).

*/ inline RegisterSchemaVersionResult& 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 void SetStatus(const SchemaVersionStatus& value) { m_status = value; } /** *

The status of the schema version.

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

The status of the schema version.

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

The status of the schema version.

*/ inline RegisterSchemaVersionResult& WithStatus(SchemaVersionStatus&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline RegisterSchemaVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RegisterSchemaVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RegisterSchemaVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_schemaVersionId; long long m_versionNumber; SchemaVersionStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws