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

An object that contains the properties associated with an asynchronous batch * translation job.

*/ inline const TextTranslationJobProperties& GetTextTranslationJobProperties() const{ return m_textTranslationJobProperties; } /** *

An object that contains the properties associated with an asynchronous batch * translation job.

*/ inline void SetTextTranslationJobProperties(const TextTranslationJobProperties& value) { m_textTranslationJobProperties = value; } /** *

An object that contains the properties associated with an asynchronous batch * translation job.

*/ inline void SetTextTranslationJobProperties(TextTranslationJobProperties&& value) { m_textTranslationJobProperties = std::move(value); } /** *

An object that contains the properties associated with an asynchronous batch * translation job.

*/ inline DescribeTextTranslationJobResult& WithTextTranslationJobProperties(const TextTranslationJobProperties& value) { SetTextTranslationJobProperties(value); return *this;} /** *

An object that contains the properties associated with an asynchronous batch * translation job.

*/ inline DescribeTextTranslationJobResult& WithTextTranslationJobProperties(TextTranslationJobProperties&& value) { SetTextTranslationJobProperties(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 DescribeTextTranslationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTextTranslationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTextTranslationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TextTranslationJobProperties m_textTranslationJobProperties; Aws::String m_requestId; }; } // namespace Model } // namespace Translate } // namespace Aws