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

The custom name that you assigned to the parallel data resource.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The custom name that you assigned to the parallel data resource.

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

The custom name that you assigned to the parallel data resource.

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

The custom name that you assigned to the parallel data resource.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The custom name that you assigned to the parallel data resource.

*/ inline CreateParallelDataResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The custom name that you assigned to the parallel data resource.

*/ inline CreateParallelDataResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The custom name that you assigned to the parallel data resource.

*/ inline CreateParallelDataResult& WithName(const char* value) { SetName(value); return *this;} /** *

The status of the parallel data resource. When the resource is ready for you * to use, the status is ACTIVE.

*/ inline const ParallelDataStatus& GetStatus() const{ return m_status; } /** *

The status of the parallel data resource. When the resource is ready for you * to use, the status is ACTIVE.

*/ inline void SetStatus(const ParallelDataStatus& value) { m_status = value; } /** *

The status of the parallel data resource. When the resource is ready for you * to use, the status is ACTIVE.

*/ inline void SetStatus(ParallelDataStatus&& value) { m_status = std::move(value); } /** *

The status of the parallel data resource. When the resource is ready for you * to use, the status is ACTIVE.

*/ inline CreateParallelDataResult& WithStatus(const ParallelDataStatus& value) { SetStatus(value); return *this;} /** *

The status of the parallel data resource. When the resource is ready for you * to use, the status is ACTIVE.

*/ inline CreateParallelDataResult& WithStatus(ParallelDataStatus&& value) { SetStatus(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 CreateParallelDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateParallelDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateParallelDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; ParallelDataStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace Translate } // namespace Aws