/** * 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 GetTableVersionResult { public: AWS_GLUE_API GetTableVersionResult(); AWS_GLUE_API GetTableVersionResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API GetTableVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The requested table version.

*/ inline const TableVersion& GetTableVersion() const{ return m_tableVersion; } /** *

The requested table version.

*/ inline void SetTableVersion(const TableVersion& value) { m_tableVersion = value; } /** *

The requested table version.

*/ inline void SetTableVersion(TableVersion&& value) { m_tableVersion = std::move(value); } /** *

The requested table version.

*/ inline GetTableVersionResult& WithTableVersion(const TableVersion& value) { SetTableVersion(value); return *this;} /** *

The requested table version.

*/ inline GetTableVersionResult& WithTableVersion(TableVersion&& value) { SetTableVersion(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 GetTableVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetTableVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetTableVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TableVersion m_tableVersion; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws