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

Provides detailed information about the current Call Analytics job, including * job status and, if applicable, failure reason.

*/ inline const CallAnalyticsJob& GetCallAnalyticsJob() const{ return m_callAnalyticsJob; } /** *

Provides detailed information about the current Call Analytics job, including * job status and, if applicable, failure reason.

*/ inline void SetCallAnalyticsJob(const CallAnalyticsJob& value) { m_callAnalyticsJob = value; } /** *

Provides detailed information about the current Call Analytics job, including * job status and, if applicable, failure reason.

*/ inline void SetCallAnalyticsJob(CallAnalyticsJob&& value) { m_callAnalyticsJob = std::move(value); } /** *

Provides detailed information about the current Call Analytics job, including * job status and, if applicable, failure reason.

*/ inline StartCallAnalyticsJobResult& WithCallAnalyticsJob(const CallAnalyticsJob& value) { SetCallAnalyticsJob(value); return *this;} /** *

Provides detailed information about the current Call Analytics job, including * job status and, if applicable, failure reason.

*/ inline StartCallAnalyticsJobResult& WithCallAnalyticsJob(CallAnalyticsJob&& value) { SetCallAnalyticsJob(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 StartCallAnalyticsJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartCallAnalyticsJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartCallAnalyticsJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CallAnalyticsJob m_callAnalyticsJob; Aws::String m_requestId; }; } // namespace Model } // namespace TranscribeService } // namespace Aws