/** * 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 Translate { namespace Model { class AWS_TRANSLATE_API GetTerminologyResult { public: GetTerminologyResult(); GetTerminologyResult(const Aws::AmazonWebServiceResult& result); GetTerminologyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The properties of the custom terminology being retrieved.

*/ inline const TerminologyProperties& GetTerminologyProperties() const{ return m_terminologyProperties; } /** *

The properties of the custom terminology being retrieved.

*/ inline void SetTerminologyProperties(const TerminologyProperties& value) { m_terminologyProperties = value; } /** *

The properties of the custom terminology being retrieved.

*/ inline void SetTerminologyProperties(TerminologyProperties&& value) { m_terminologyProperties = std::move(value); } /** *

The properties of the custom terminology being retrieved.

*/ inline GetTerminologyResult& WithTerminologyProperties(const TerminologyProperties& value) { SetTerminologyProperties(value); return *this;} /** *

The properties of the custom terminology being retrieved.

*/ inline GetTerminologyResult& WithTerminologyProperties(TerminologyProperties&& value) { SetTerminologyProperties(std::move(value)); return *this;} /** *

The data location of the custom terminology being retrieved. The custom * terminology file is returned in a presigned url that has a 30 minute * expiration.

*/ inline const TerminologyDataLocation& GetTerminologyDataLocation() const{ return m_terminologyDataLocation; } /** *

The data location of the custom terminology being retrieved. The custom * terminology file is returned in a presigned url that has a 30 minute * expiration.

*/ inline void SetTerminologyDataLocation(const TerminologyDataLocation& value) { m_terminologyDataLocation = value; } /** *

The data location of the custom terminology being retrieved. The custom * terminology file is returned in a presigned url that has a 30 minute * expiration.

*/ inline void SetTerminologyDataLocation(TerminologyDataLocation&& value) { m_terminologyDataLocation = std::move(value); } /** *

The data location of the custom terminology being retrieved. The custom * terminology file is returned in a presigned url that has a 30 minute * expiration.

*/ inline GetTerminologyResult& WithTerminologyDataLocation(const TerminologyDataLocation& value) { SetTerminologyDataLocation(value); return *this;} /** *

The data location of the custom terminology being retrieved. The custom * terminology file is returned in a presigned url that has a 30 minute * expiration.

*/ inline GetTerminologyResult& WithTerminologyDataLocation(TerminologyDataLocation&& value) { SetTerminologyDataLocation(std::move(value)); return *this;} private: TerminologyProperties m_terminologyProperties; TerminologyDataLocation m_terminologyDataLocation; }; } // namespace Model } // namespace Translate } // namespace Aws