/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Polly { namespace Model { class AWS_POLLY_API StartSpeechSynthesisTaskResult { public: StartSpeechSynthesisTaskResult(); StartSpeechSynthesisTaskResult(const Aws::AmazonWebServiceResult& result); 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;} private: SynthesisTask m_synthesisTask; }; } // namespace Model } // namespace Polly } // namespace Aws