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

An object that contains overrides for the Kubernetes resources of a * job.

See Also:

AWS * API Reference

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

The overrides for the Kubernetes pod resources of a job.

*/ inline const EksPodPropertiesOverride& GetPodProperties() const{ return m_podProperties; } /** *

The overrides for the Kubernetes pod resources of a job.

*/ inline bool PodPropertiesHasBeenSet() const { return m_podPropertiesHasBeenSet; } /** *

The overrides for the Kubernetes pod resources of a job.

*/ inline void SetPodProperties(const EksPodPropertiesOverride& value) { m_podPropertiesHasBeenSet = true; m_podProperties = value; } /** *

The overrides for the Kubernetes pod resources of a job.

*/ inline void SetPodProperties(EksPodPropertiesOverride&& value) { m_podPropertiesHasBeenSet = true; m_podProperties = std::move(value); } /** *

The overrides for the Kubernetes pod resources of a job.

*/ inline EksPropertiesOverride& WithPodProperties(const EksPodPropertiesOverride& value) { SetPodProperties(value); return *this;} /** *

The overrides for the Kubernetes pod resources of a job.

*/ inline EksPropertiesOverride& WithPodProperties(EksPodPropertiesOverride&& value) { SetPodProperties(std::move(value)); return *this;} private: EksPodPropertiesOverride m_podProperties; bool m_podPropertiesHasBeenSet = false; }; } // namespace Model } // namespace Batch } // namespace Aws