/** * 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 { namespace Batch { namespace Model { /** *

Contains the parameters for DescribeJobs.

See * Also:

AWS * API Reference

*/ class DescribeJobsRequest : public BatchRequest { public: AWS_BATCH_API DescribeJobsRequest(); // 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 "DescribeJobs"; } AWS_BATCH_API Aws::String SerializePayload() const override; /** *

A list of up to 100 job IDs.

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

A list of up to 100 job IDs.

*/ inline bool JobsHasBeenSet() const { return m_jobsHasBeenSet; } /** *

A list of up to 100 job IDs.

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

A list of up to 100 job IDs.

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

A list of up to 100 job IDs.

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

A list of up to 100 job IDs.

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

A list of up to 100 job IDs.

*/ inline DescribeJobsRequest& AddJobs(const Aws::String& value) { m_jobsHasBeenSet = true; m_jobs.push_back(value); return *this; } /** *

A list of up to 100 job IDs.

*/ inline DescribeJobsRequest& AddJobs(Aws::String&& value) { m_jobsHasBeenSet = true; m_jobs.push_back(std::move(value)); return *this; } /** *

A list of up to 100 job IDs.

*/ inline DescribeJobsRequest& AddJobs(const char* value) { m_jobsHasBeenSet = true; m_jobs.push_back(value); return *this; } private: Aws::Vector m_jobs; bool m_jobsHasBeenSet = false; }; } // namespace Model } // namespace Batch } // namespace Aws