/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Batch { namespace Model { class AWS_BATCH_API DescribeJobsResult { public: DescribeJobsResult(); DescribeJobsResult(const Aws::AmazonWebServiceResult& result); DescribeJobsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of jobs.

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

The list of jobs.

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

The list of jobs.

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

The list of jobs.

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

The list of jobs.

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

The list of jobs.

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

The list of jobs.

*/ inline DescribeJobsResult& AddJobs(JobDetail&& value) { m_jobs.push_back(std::move(value)); return *this; } private: Aws::Vector m_jobs; }; } // namespace Model } // namespace Batch } // namespace Aws