/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The type and amount of a resource to assign to a container. Currently, the
* only supported resource type is GPU.See Also:
AWS
* API Reference
The number of physical GPUs to reserve for the container. The number of GPUs * reserved for all containers in a job should not exceed the number of available * GPUs on the compute resource that the job is launched on.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The number of physical GPUs to reserve for the container. The number of GPUs * reserved for all containers in a job should not exceed the number of available * GPUs on the compute resource that the job is launched on.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The number of physical GPUs to reserve for the container. The number of GPUs * reserved for all containers in a job should not exceed the number of available * GPUs on the compute resource that the job is launched on.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The number of physical GPUs to reserve for the container. The number of GPUs * reserved for all containers in a job should not exceed the number of available * GPUs on the compute resource that the job is launched on.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The number of physical GPUs to reserve for the container. The number of GPUs * reserved for all containers in a job should not exceed the number of available * GPUs on the compute resource that the job is launched on.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The number of physical GPUs to reserve for the container. The number of GPUs * reserved for all containers in a job should not exceed the number of available * GPUs on the compute resource that the job is launched on.
*/ inline ResourceRequirement& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The number of physical GPUs to reserve for the container. The number of GPUs * reserved for all containers in a job should not exceed the number of available * GPUs on the compute resource that the job is launched on.
*/ inline ResourceRequirement& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The number of physical GPUs to reserve for the container. The number of GPUs * reserved for all containers in a job should not exceed the number of available * GPUs on the compute resource that the job is launched on.
*/ inline ResourceRequirement& WithValue(const char* value) { SetValue(value); return *this;} /** *The type of resource to assign to a container. Currently, the only supported
* resource type is GPU.
The type of resource to assign to a container. Currently, the only supported
* resource type is GPU.
The type of resource to assign to a container. Currently, the only supported
* resource type is GPU.
The type of resource to assign to a container. Currently, the only supported
* resource type is GPU.
The type of resource to assign to a container. Currently, the only supported
* resource type is GPU.
The type of resource to assign to a container. Currently, the only supported
* resource type is GPU.