/** * 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 { /** *

The ListJobsByPipelineResponse structure.

See * Also:

AWS * API Reference

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

An array of Job objects that are in the specified pipeline.

*/ inline const Aws::Vector& GetJobs() const{ return m_jobs; } /** *

An array of Job objects that are in the specified pipeline.

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

An array of Job objects that are in the specified pipeline.

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

An array of Job objects that are in the specified pipeline.

*/ inline ListJobsByPipelineResult& WithJobs(const Aws::Vector& value) { SetJobs(value); return *this;} /** *

An array of Job objects that are in the specified pipeline.

*/ inline ListJobsByPipelineResult& WithJobs(Aws::Vector&& value) { SetJobs(std::move(value)); return *this;} /** *

An array of Job objects that are in the specified pipeline.

*/ inline ListJobsByPipelineResult& AddJobs(const Job& value) { m_jobs.push_back(value); return *this; } /** *

An array of Job objects that are in the specified pipeline.

*/ inline ListJobsByPipelineResult& AddJobs(Job&& value) { m_jobs.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 jobs in the specified pipeline 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 jobs in the specified pipeline 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 jobs in the specified pipeline 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 jobs in the specified pipeline 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 jobs in the specified pipeline fit on one page or when you've * reached the last page of results, the value of NextPageToken is * null.

*/ inline ListJobsByPipelineResult& 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 jobs in the specified pipeline fit on one page or when you've * reached the last page of results, the value of NextPageToken is * null.

*/ inline ListJobsByPipelineResult& 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 jobs in the specified pipeline fit on one page or when you've * reached the last page of results, the value of NextPageToken is * null.

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