/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ElasticTranscoder { namespace Model { /** *

A list of the pipelines associated with the current AWS * account.

See Also:

AWS * API Reference

*/ class ListPipelinesResult { public: AWS_ELASTICTRANSCODER_API ListPipelinesResult(); AWS_ELASTICTRANSCODER_API ListPipelinesResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICTRANSCODER_API ListPipelinesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of Pipeline objects.

*/ inline const Aws::Vector& GetPipelines() const{ return m_pipelines; } /** *

An array of Pipeline objects.

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

An array of Pipeline objects.

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

An array of Pipeline objects.

*/ inline ListPipelinesResult& WithPipelines(const Aws::Vector& value) { SetPipelines(value); return *this;} /** *

An array of Pipeline objects.

*/ inline ListPipelinesResult& WithPipelines(Aws::Vector&& value) { SetPipelines(std::move(value)); return *this;} /** *

An array of Pipeline objects.

*/ inline ListPipelinesResult& AddPipelines(const Pipeline& value) { m_pipelines.push_back(value); return *this; } /** *

An array of Pipeline objects.

*/ inline ListPipelinesResult& AddPipelines(Pipeline&& value) { m_pipelines.push_back(std::move(value)); return *this; } /** *

A value that you use to access the second and subsequent pages of results, if * any. When the pipelines fit on one page or when you've reached the last page of * results, the value of NextPageToken is null.

*/ inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; } /** *

A value that you use to access the second and subsequent pages of results, if * any. When the pipelines fit on one page or when you've reached the last page of * results, the value of NextPageToken is null.

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

A value that you use to access the second and subsequent pages of results, if * any. When the pipelines fit on one page or when you've reached the last page of * results, the value of NextPageToken is null.

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

A value that you use to access the second and subsequent pages of results, if * any. When the pipelines fit on one page or when you've reached the last page of * results, the value of NextPageToken is null.

*/ inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); } /** *

A value that you use to access the second and subsequent pages of results, if * any. When the pipelines fit on one page or when you've reached the last page of * results, the value of NextPageToken is null.

*/ inline ListPipelinesResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;} /** *

A value that you use to access the second and subsequent pages of results, if * any. When the pipelines fit on one page or when you've reached the last page of * results, the value of NextPageToken is null.

*/ inline ListPipelinesResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;} /** *

A value that you use to access the second and subsequent pages of results, if * any. When the pipelines fit on one page or when you've reached the last page of * results, the value of NextPageToken is null.

*/ inline ListPipelinesResult& WithNextPageToken(const char* value) { SetNextPageToken(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 ListPipelinesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListPipelinesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListPipelinesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_pipelines; Aws::String m_nextPageToken; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws