/** * 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 Glue { namespace Model { class AWS_GLUE_API GetJobRunsResult { public: GetJobRunsResult(); GetJobRunsResult(const Aws::AmazonWebServiceResult& result); GetJobRunsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of job-run metadata objects.

*/ inline const Aws::Vector& GetJobRuns() const{ return m_jobRuns; } /** *

A list of job-run metadata objects.

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

A list of job-run metadata objects.

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

A list of job-run metadata objects.

*/ inline GetJobRunsResult& WithJobRuns(const Aws::Vector& value) { SetJobRuns(value); return *this;} /** *

A list of job-run metadata objects.

*/ inline GetJobRunsResult& WithJobRuns(Aws::Vector&& value) { SetJobRuns(std::move(value)); return *this;} /** *

A list of job-run metadata objects.

*/ inline GetJobRunsResult& AddJobRuns(const JobRun& value) { m_jobRuns.push_back(value); return *this; } /** *

A list of job-run metadata objects.

*/ inline GetJobRunsResult& AddJobRuns(JobRun&& value) { m_jobRuns.push_back(std::move(value)); return *this; } /** *

A continuation token, if not all requested job runs have been returned.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A continuation token, if not all requested job runs have been returned.

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

A continuation token, if not all requested job runs have been returned.

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

A continuation token, if not all requested job runs have been returned.

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

A continuation token, if not all requested job runs have been returned.

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

A continuation token, if not all requested job runs have been returned.

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

A continuation token, if not all requested job runs have been returned.

*/ inline GetJobRunsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_jobRuns; Aws::String m_nextToken; }; } // namespace Model } // namespace Glue } // namespace Aws