/** * 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 ListPipelineRequest structure.

See Also:

AWS * API Reference

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline ListPipelinesRequest& 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 ListPipelinesRequest& 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 ListPipelinesRequest& 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 ListPipelinesRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;} private: Aws::String m_ascending; bool m_ascendingHasBeenSet = false; Aws::String m_pageToken; bool m_pageTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws