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

The difference between schemas as a string in JsonPatch format.

*/ inline const Aws::String& GetDiff() const{ return m_diff; } /** *

The difference between schemas as a string in JsonPatch format.

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

The difference between schemas as a string in JsonPatch format.

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

The difference between schemas as a string in JsonPatch format.

*/ inline void SetDiff(const char* value) { m_diff.assign(value); } /** *

The difference between schemas as a string in JsonPatch format.

*/ inline GetSchemaVersionsDiffResult& WithDiff(const Aws::String& value) { SetDiff(value); return *this;} /** *

The difference between schemas as a string in JsonPatch format.

*/ inline GetSchemaVersionsDiffResult& WithDiff(Aws::String&& value) { SetDiff(std::move(value)); return *this;} /** *

The difference between schemas as a string in JsonPatch format.

*/ inline GetSchemaVersionsDiffResult& WithDiff(const char* value) { SetDiff(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 GetSchemaVersionsDiffResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSchemaVersionsDiffResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSchemaVersionsDiffResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_diff; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws