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

SynthesisTask object that provides information and attributes about a newly * submitted speech synthesis task.

*/ inline const SynthesisTask& GetSynthesisTask() const{ return m_synthesisTask; } /** *

SynthesisTask object that provides information and attributes about a newly * submitted speech synthesis task.

*/ inline void SetSynthesisTask(const SynthesisTask& value) { m_synthesisTask = value; } /** *

SynthesisTask object that provides information and attributes about a newly * submitted speech synthesis task.

*/ inline void SetSynthesisTask(SynthesisTask&& value) { m_synthesisTask = std::move(value); } /** *

SynthesisTask object that provides information and attributes about a newly * submitted speech synthesis task.

*/ inline StartSpeechSynthesisTaskResult& WithSynthesisTask(const SynthesisTask& value) { SetSynthesisTask(value); return *this;} /** *

SynthesisTask object that provides information and attributes about a newly * submitted speech synthesis task.

*/ inline StartSpeechSynthesisTaskResult& WithSynthesisTask(SynthesisTask&& value) { SetSynthesisTask(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 StartSpeechSynthesisTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartSpeechSynthesisTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartSpeechSynthesisTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: SynthesisTask m_synthesisTask; Aws::String m_requestId; }; } // namespace Model } // namespace Polly } // namespace Aws