/** * 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 Glue { namespace Model { /** */ class BatchStopJobRunRequest : public GlueRequest { public: AWS_GLUE_API BatchStopJobRunRequest(); // 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 "BatchStopJobRun"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the job definition for which to stop job runs.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the job definition for which to stop job runs.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The name of the job definition for which to stop job runs.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The name of the job definition for which to stop job runs.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The name of the job definition for which to stop job runs.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The name of the job definition for which to stop job runs.

*/ inline BatchStopJobRunRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the job definition for which to stop job runs.

*/ inline BatchStopJobRunRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the job definition for which to stop job runs.

*/ inline BatchStopJobRunRequest& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline const Aws::Vector& GetJobRunIds() const{ return m_jobRunIds; } /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline bool JobRunIdsHasBeenSet() const { return m_jobRunIdsHasBeenSet; } /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline void SetJobRunIds(const Aws::Vector& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds = value; } /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline void SetJobRunIds(Aws::Vector&& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds = std::move(value); } /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline BatchStopJobRunRequest& WithJobRunIds(const Aws::Vector& value) { SetJobRunIds(value); return *this;} /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline BatchStopJobRunRequest& WithJobRunIds(Aws::Vector&& value) { SetJobRunIds(std::move(value)); return *this;} /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline BatchStopJobRunRequest& AddJobRunIds(const Aws::String& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds.push_back(value); return *this; } /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline BatchStopJobRunRequest& AddJobRunIds(Aws::String&& value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds.push_back(std::move(value)); return *this; } /** *

A list of the JobRunIds that should be stopped for that job * definition.

*/ inline BatchStopJobRunRequest& AddJobRunIds(const char* value) { m_jobRunIdsHasBeenSet = true; m_jobRunIds.push_back(value); return *this; } private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::Vector m_jobRunIds; bool m_jobRunIdsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws