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

The properties of the custom terminology being imported.

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

The properties of the custom terminology being imported.

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

The properties of the custom terminology being imported.

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

The properties of the custom terminology being imported.

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

The properties of the custom terminology being imported.

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

The Amazon S3 location of a file that provides any errors or warnings that * were produced by your input file. This file was created when Amazon Translate * attempted to create a terminology resource. The location is returned as a * presigned URL to that has a 30 minute expiration.

*/ inline const TerminologyDataLocation& GetAuxiliaryDataLocation() const{ return m_auxiliaryDataLocation; } /** *

The Amazon S3 location of a file that provides any errors or warnings that * were produced by your input file. This file was created when Amazon Translate * attempted to create a terminology resource. The location is returned as a * presigned URL to that has a 30 minute expiration.

*/ inline void SetAuxiliaryDataLocation(const TerminologyDataLocation& value) { m_auxiliaryDataLocation = value; } /** *

The Amazon S3 location of a file that provides any errors or warnings that * were produced by your input file. This file was created when Amazon Translate * attempted to create a terminology resource. The location is returned as a * presigned URL to that has a 30 minute expiration.

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

The Amazon S3 location of a file that provides any errors or warnings that * were produced by your input file. This file was created when Amazon Translate * attempted to create a terminology resource. The location is returned as a * presigned URL to that has a 30 minute expiration.

*/ inline ImportTerminologyResult& WithAuxiliaryDataLocation(const TerminologyDataLocation& value) { SetAuxiliaryDataLocation(value); return *this;} /** *

The Amazon S3 location of a file that provides any errors or warnings that * were produced by your input file. This file was created when Amazon Translate * attempted to create a terminology resource. The location is returned as a * presigned URL to that has a 30 minute expiration.

*/ inline ImportTerminologyResult& WithAuxiliaryDataLocation(TerminologyDataLocation&& value) { SetAuxiliaryDataLocation(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 ImportTerminologyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ImportTerminologyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ImportTerminologyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TerminologyProperties m_terminologyProperties; TerminologyDataLocation m_auxiliaryDataLocation; Aws::String m_requestId; }; } // namespace Model } // namespace Translate } // namespace Aws