/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace TranscribeService { namespace Model { /** */ class ListCallAnalyticsJobsRequest : public TranscribeServiceRequest { public: AWS_TRANSCRIBESERVICE_API ListCallAnalyticsJobsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListCallAnalyticsJobs"; } AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override; AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Returns only Call Analytics jobs with the specified status. Jobs are ordered * by creation date, with the newest job first. If you don't include * Status, all Call Analytics jobs are returned.

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

Returns only Call Analytics jobs with the specified status. Jobs are ordered * by creation date, with the newest job first. If you don't include * Status, all Call Analytics jobs are returned.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Returns only Call Analytics jobs with the specified status. Jobs are ordered * by creation date, with the newest job first. If you don't include * Status, all Call Analytics jobs are returned.

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

Returns only Call Analytics jobs with the specified status. Jobs are ordered * by creation date, with the newest job first. If you don't include * Status, all Call Analytics jobs are returned.

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

Returns only Call Analytics jobs with the specified status. Jobs are ordered * by creation date, with the newest job first. If you don't include * Status, all Call Analytics jobs are returned.

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

Returns only Call Analytics jobs with the specified status. Jobs are ordered * by creation date, with the newest job first. If you don't include * Status, all Call Analytics jobs are returned.

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

Returns only the Call Analytics jobs that contain the specified string. The * search is not case sensitive.

*/ inline const Aws::String& GetJobNameContains() const{ return m_jobNameContains; } /** *

Returns only the Call Analytics jobs that contain the specified string. The * search is not case sensitive.

*/ inline bool JobNameContainsHasBeenSet() const { return m_jobNameContainsHasBeenSet; } /** *

Returns only the Call Analytics jobs that contain the specified string. The * search is not case sensitive.

*/ inline void SetJobNameContains(const Aws::String& value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains = value; } /** *

Returns only the Call Analytics jobs that contain the specified string. The * search is not case sensitive.

*/ inline void SetJobNameContains(Aws::String&& value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains = std::move(value); } /** *

Returns only the Call Analytics jobs that contain the specified string. The * search is not case sensitive.

*/ inline void SetJobNameContains(const char* value) { m_jobNameContainsHasBeenSet = true; m_jobNameContains.assign(value); } /** *

Returns only the Call Analytics jobs that contain the specified string. The * search is not case sensitive.

*/ inline ListCallAnalyticsJobsRequest& WithJobNameContains(const Aws::String& value) { SetJobNameContains(value); return *this;} /** *

Returns only the Call Analytics jobs that contain the specified string. The * search is not case sensitive.

*/ inline ListCallAnalyticsJobsRequest& WithJobNameContains(Aws::String&& value) { SetJobNameContains(std::move(value)); return *this;} /** *

Returns only the Call Analytics jobs that contain the specified string. The * search is not case sensitive.

*/ inline ListCallAnalyticsJobsRequest& WithJobNameContains(const char* value) { SetJobNameContains(value); return *this;} /** *

If your ListCallAnalyticsJobs request returns more results than * can be displayed, NextToken is displayed in the response with an * associated string. To get the next page of results, copy this string and repeat * your request, 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 your ListCallAnalyticsJobs request returns more results than * can be displayed, NextToken is displayed in the response with an * associated string. To get the next page of results, copy this string and repeat * your request, including NextToken with the value of the copied * string. Repeat as needed to view all your results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

If your ListCallAnalyticsJobs request returns more results than * can be displayed, NextToken is displayed in the response with an * associated string. To get the next page of results, copy this string and repeat * your request, 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_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

If your ListCallAnalyticsJobs request returns more results than * can be displayed, NextToken is displayed in the response with an * associated string. To get the next page of results, copy this string and repeat * your request, including NextToken with the value of the copied * string. Repeat as needed to view all your results.

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

If your ListCallAnalyticsJobs request returns more results than * can be displayed, NextToken is displayed in the response with an * associated string. To get the next page of results, copy this string and repeat * your request, including NextToken with the value of the copied * string. Repeat as needed to view all your results.

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

If your ListCallAnalyticsJobs request returns more results than * can be displayed, NextToken is displayed in the response with an * associated string. To get the next page of results, copy this string and repeat * your request, including NextToken with the value of the copied * string. Repeat as needed to view all your results.

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

If your ListCallAnalyticsJobs request returns more results than * can be displayed, NextToken is displayed in the response with an * associated string. To get the next page of results, copy this string and repeat * your request, including NextToken with the value of the copied * string. Repeat as needed to view all your results.

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

If your ListCallAnalyticsJobs request returns more results than * can be displayed, NextToken is displayed in the response with an * associated string. To get the next page of results, copy this string and repeat * your request, including NextToken with the value of the copied * string. Repeat as needed to view all your results.

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

The maximum number of Call Analytics jobs to return in each page of results. * If there are fewer results than the value that you specify, only the actual * results are returned. If you don't specify a value, a default of 5 is used.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of Call Analytics jobs to return in each page of results. * If there are fewer results than the value that you specify, only the actual * results are returned. If you don't specify a value, a default of 5 is used.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of Call Analytics jobs to return in each page of results. * If there are fewer results than the value that you specify, only the actual * results are returned. If you don't specify a value, a default of 5 is used.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of Call Analytics jobs to return in each page of results. * If there are fewer results than the value that you specify, only the actual * results are returned. If you don't specify a value, a default of 5 is used.

*/ inline ListCallAnalyticsJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: CallAnalyticsJobStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_jobNameContains; bool m_jobNameContainsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws