/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace ElasticTranscoder { namespace Model { /** *

The ListJobsByPipelineRequest structure.

See * Also:

AWS * API Reference

*/ class ListJobsByPipelineRequest : public ElasticTranscoderRequest { public: AWS_ELASTICTRANSCODER_API ListJobsByPipelineRequest(); // 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 "ListJobsByPipeline"; } AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override; AWS_ELASTICTRANSCODER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the pipeline for which you want to get job information.

*/ inline const Aws::String& GetPipelineId() const{ return m_pipelineId; } /** *

The ID of the pipeline for which you want to get job information.

*/ inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; } /** *

The ID of the pipeline for which you want to get job information.

*/ inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; } /** *

The ID of the pipeline for which you want to get job information.

*/ inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); } /** *

The ID of the pipeline for which you want to get job information.

*/ inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); } /** *

The ID of the pipeline for which you want to get job information.

*/ inline ListJobsByPipelineRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;} /** *

The ID of the pipeline for which you want to get job information.

*/ inline ListJobsByPipelineRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;} /** *

The ID of the pipeline for which you want to get job information.

*/ inline ListJobsByPipelineRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;} /** *

To list jobs in chronological order by the date and time that they were * submitted, enter true. To list jobs in reverse chronological order, * enter false.

*/ inline const Aws::String& GetAscending() const{ return m_ascending; } /** *

To list jobs in chronological order by the date and time that they were * submitted, enter true. To list jobs in reverse chronological order, * enter false.

*/ inline bool AscendingHasBeenSet() const { return m_ascendingHasBeenSet; } /** *

To list jobs in chronological order by the date and time that they were * submitted, enter true. To list jobs in reverse chronological order, * enter false.

*/ inline void SetAscending(const Aws::String& value) { m_ascendingHasBeenSet = true; m_ascending = value; } /** *

To list jobs in chronological order by the date and time that they were * submitted, enter true. To list jobs in reverse chronological order, * enter false.

*/ inline void SetAscending(Aws::String&& value) { m_ascendingHasBeenSet = true; m_ascending = std::move(value); } /** *

To list jobs in chronological order by the date and time that they were * submitted, enter true. To list jobs in reverse chronological order, * enter false.

*/ inline void SetAscending(const char* value) { m_ascendingHasBeenSet = true; m_ascending.assign(value); } /** *

To list jobs in chronological order by the date and time that they were * submitted, enter true. To list jobs in reverse chronological order, * enter false.

*/ inline ListJobsByPipelineRequest& WithAscending(const Aws::String& value) { SetAscending(value); return *this;} /** *

To list jobs in chronological order by the date and time that they were * submitted, enter true. To list jobs in reverse chronological order, * enter false.

*/ inline ListJobsByPipelineRequest& WithAscending(Aws::String&& value) { SetAscending(std::move(value)); return *this;} /** *

To list jobs in chronological order by the date and time that they were * submitted, enter true. To list jobs in reverse chronological order, * enter false.

*/ inline ListJobsByPipelineRequest& WithAscending(const char* value) { SetAscending(value); return *this;} /** *

When Elastic Transcoder returns more than one page of results, use * pageToken in subsequent GET requests to get each * successive page of results.

*/ inline const Aws::String& GetPageToken() const{ return m_pageToken; } /** *

When Elastic Transcoder returns more than one page of results, use * pageToken in subsequent GET requests to get each * successive page of results.

*/ inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; } /** *

When Elastic Transcoder returns more than one page of results, use * pageToken in subsequent GET requests to get each * successive page of results.

*/ inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; } /** *

When Elastic Transcoder returns more than one page of results, use * pageToken in subsequent GET requests to get each * successive page of results.

*/ inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); } /** *

When Elastic Transcoder returns more than one page of results, use * pageToken in subsequent GET requests to get each * successive page of results.

*/ inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); } /** *

When Elastic Transcoder returns more than one page of results, use * pageToken in subsequent GET requests to get each * successive page of results.

*/ inline ListJobsByPipelineRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;} /** *

When Elastic Transcoder returns more than one page of results, use * pageToken in subsequent GET requests to get each * successive page of results.

*/ inline ListJobsByPipelineRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;} /** *

When Elastic Transcoder returns more than one page of results, use * pageToken in subsequent GET requests to get each * successive page of results.

*/ inline ListJobsByPipelineRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;} private: Aws::String m_pipelineId; bool m_pipelineIdHasBeenSet = false; Aws::String m_ascending; bool m_ascendingHasBeenSet = false; Aws::String m_pageToken; bool m_pageTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws