/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pipes { namespace Model { /** *

An object that represents an Batch job dependency.

See Also:

* AWS * API Reference

*/ class BatchJobDependency { public: AWS_PIPES_API BatchJobDependency(); AWS_PIPES_API BatchJobDependency(Aws::Utils::Json::JsonView jsonValue); AWS_PIPES_API BatchJobDependency& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The job ID of the Batch job that's associated with this dependency.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The job ID of the Batch job that's associated with this dependency.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The job ID of the Batch job that's associated with this dependency.

*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *

The job ID of the Batch job that's associated with this dependency.

*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *

The job ID of the Batch job that's associated with this dependency.

*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *

The job ID of the Batch job that's associated with this dependency.

*/ inline BatchJobDependency& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The job ID of the Batch job that's associated with this dependency.

*/ inline BatchJobDependency& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The job ID of the Batch job that's associated with this dependency.

*/ inline BatchJobDependency& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The type of the job dependency.

*/ inline const BatchJobDependencyType& GetType() const{ return m_type; } /** *

The type of the job dependency.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of the job dependency.

*/ inline void SetType(const BatchJobDependencyType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of the job dependency.

*/ inline void SetType(BatchJobDependencyType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of the job dependency.

*/ inline BatchJobDependency& WithType(const BatchJobDependencyType& value) { SetType(value); return *this;} /** *

The type of the job dependency.

*/ inline BatchJobDependency& WithType(BatchJobDependencyType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; BatchJobDependencyType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Pipes } // namespace Aws