73 lines
2.2 KiB
C
73 lines
2.2 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/polly/Polly_EXPORTS.h>
|
|||
|
|
#include <aws/polly/model/SynthesisTask.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Polly
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_POLLY_API GetSpeechSynthesisTaskResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetSpeechSynthesisTaskResult();
|
|||
|
|
GetSpeechSynthesisTaskResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetSpeechSynthesisTaskResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SynthesisTask object that provides information from the requested task,
|
|||
|
|
* including output format, creation time, task status, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline const SynthesisTask& GetSynthesisTask() const{ return m_synthesisTask; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SynthesisTask object that provides information from the requested task,
|
|||
|
|
* including output format, creation time, task status, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSynthesisTask(const SynthesisTask& value) { m_synthesisTask = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SynthesisTask object that provides information from the requested task,
|
|||
|
|
* including output format, creation time, task status, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSynthesisTask(SynthesisTask&& value) { m_synthesisTask = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SynthesisTask object that provides information from the requested task,
|
|||
|
|
* including output format, creation time, task status, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSpeechSynthesisTaskResult& WithSynthesisTask(const SynthesisTask& value) { SetSynthesisTask(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>SynthesisTask object that provides information from the requested task,
|
|||
|
|
* including output format, creation time, task status, and so on.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSpeechSynthesisTaskResult& WithSynthesisTask(SynthesisTask&& value) { SetSynthesisTask(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
SynthesisTask m_synthesisTask;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Polly
|
|||
|
|
} // namespace Aws
|