/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A job run that was used in the predicate of a conditional trigger that
* triggered this job run.See Also:
AWS
* API Reference
The name of the job definition used by the predecessor job run.
*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *The name of the job definition used by the predecessor job run.
*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *The name of the job definition used by the predecessor job run.
*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *The name of the job definition used by the predecessor job run.
*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *The name of the job definition used by the predecessor job run.
*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *The name of the job definition used by the predecessor job run.
*/ inline Predecessor& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *The name of the job definition used by the predecessor job run.
*/ inline Predecessor& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *The name of the job definition used by the predecessor job run.
*/ inline Predecessor& WithJobName(const char* value) { SetJobName(value); return *this;} /** *The job-run ID of the predecessor job run.
*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *The job-run ID of the predecessor job run.
*/ inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } /** *The job-run ID of the predecessor job run.
*/ inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; } /** *The job-run ID of the predecessor job run.
*/ inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); } /** *The job-run ID of the predecessor job run.
*/ inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); } /** *The job-run ID of the predecessor job run.
*/ inline Predecessor& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *The job-run ID of the predecessor job run.
*/ inline Predecessor& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *The job-run ID of the predecessor job run.
*/ inline Predecessor& WithRunId(const char* value) { SetRunId(value); return *this;} private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws