/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace TranscribeService { namespace Model { class ListCallAnalyticsJobsResult { public: AWS_TRANSCRIBESERVICE_API ListCallAnalyticsJobsResult(); AWS_TRANSCRIBESERVICE_API ListCallAnalyticsJobsResult(const Aws::AmazonWebServiceResult& result); AWS_TRANSCRIBESERVICE_API ListCallAnalyticsJobsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Lists all Call Analytics jobs that have the status specified in your request. * Jobs are ordered by creation date, with the newest job first.

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

Lists all Call Analytics jobs that have the status specified in your request. * Jobs are ordered by creation date, with the newest job first.

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

Lists all Call Analytics jobs that have the status specified in your request. * Jobs are ordered by creation date, with the newest job first.

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

Lists all Call Analytics jobs that have the status specified in your request. * Jobs are ordered by creation date, with the newest job first.

*/ inline ListCallAnalyticsJobsResult& WithStatus(const CallAnalyticsJobStatus& value) { SetStatus(value); return *this;} /** *

Lists all Call Analytics jobs that have the status specified in your request. * Jobs are ordered by creation date, with the newest job first.

*/ inline ListCallAnalyticsJobsResult& WithStatus(CallAnalyticsJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

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

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

*/ inline ListCallAnalyticsJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

*/ inline ListCallAnalyticsJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If NextToken is present in your response, it indicates that not * all results are displayed. To view the next set of results, copy the string * associated with the NextToken parameter in your results output, * then run your request again including NextToken with the value of * the copied string. Repeat as needed to view all your results.

*/ inline ListCallAnalyticsJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Provides a summary of information about each result.

*/ inline const Aws::Vector& GetCallAnalyticsJobSummaries() const{ return m_callAnalyticsJobSummaries; } /** *

Provides a summary of information about each result.

*/ inline void SetCallAnalyticsJobSummaries(const Aws::Vector& value) { m_callAnalyticsJobSummaries = value; } /** *

Provides a summary of information about each result.

*/ inline void SetCallAnalyticsJobSummaries(Aws::Vector&& value) { m_callAnalyticsJobSummaries = std::move(value); } /** *

Provides a summary of information about each result.

*/ inline ListCallAnalyticsJobsResult& WithCallAnalyticsJobSummaries(const Aws::Vector& value) { SetCallAnalyticsJobSummaries(value); return *this;} /** *

Provides a summary of information about each result.

*/ inline ListCallAnalyticsJobsResult& WithCallAnalyticsJobSummaries(Aws::Vector&& value) { SetCallAnalyticsJobSummaries(std::move(value)); return *this;} /** *

Provides a summary of information about each result.

*/ inline ListCallAnalyticsJobsResult& AddCallAnalyticsJobSummaries(const CallAnalyticsJobSummary& value) { m_callAnalyticsJobSummaries.push_back(value); return *this; } /** *

Provides a summary of information about each result.

*/ inline ListCallAnalyticsJobsResult& AddCallAnalyticsJobSummaries(CallAnalyticsJobSummary&& value) { m_callAnalyticsJobSummaries.push_back(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 ListCallAnalyticsJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCallAnalyticsJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCallAnalyticsJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CallAnalyticsJobStatus m_status; Aws::String m_nextToken; Aws::Vector m_callAnalyticsJobSummaries; Aws::String m_requestId; }; } // namespace Model } // namespace TranscribeService } // namespace Aws