/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The overrides that should be sent to a container.See Also:
* AWS
* API Reference
The number of vCPUs to reserve for the container. This value overrides the * value set in the job definition.
*/ inline int GetVcpus() const{ return m_vcpus; } /** *The number of vCPUs to reserve for the container. This value overrides the * value set in the job definition.
*/ inline bool VcpusHasBeenSet() const { return m_vcpusHasBeenSet; } /** *The number of vCPUs to reserve for the container. This value overrides the * value set in the job definition.
*/ inline void SetVcpus(int value) { m_vcpusHasBeenSet = true; m_vcpus = value; } /** *The number of vCPUs to reserve for the container. This value overrides the * value set in the job definition.
*/ inline ContainerOverrides& WithVcpus(int value) { SetVcpus(value); return *this;} /** *The number of MiB of memory reserved for the job. This value overrides the * value set in the job definition.
*/ inline int GetMemory() const{ return m_memory; } /** *The number of MiB of memory reserved for the job. This value overrides the * value set in the job definition.
*/ inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; } /** *The number of MiB of memory reserved for the job. This value overrides the * value set in the job definition.
*/ inline void SetMemory(int value) { m_memoryHasBeenSet = true; m_memory = value; } /** *The number of MiB of memory reserved for the job. This value overrides the * value set in the job definition.
*/ inline ContainerOverrides& WithMemory(int value) { SetMemory(value); return *this;} /** *The command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline const Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; } /** *The command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline void SetCommand(const Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline void SetCommand(Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline ContainerOverrides& WithCommand(const Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline ContainerOverrides& WithCommand(Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline ContainerOverrides& AddCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; } /** *The command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline ContainerOverrides& AddCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command.push_back(std::move(value)); return *this; } /** *The command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline ContainerOverrides& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; } /** *The instance type to use for a multi-node parallel job. This parameter is not * valid for single-node container jobs.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type to use for a multi-node parallel job. This parameter is not * valid for single-node container jobs.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type to use for a multi-node parallel job. This parameter is not * valid for single-node container jobs.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type to use for a multi-node parallel job. This parameter is not * valid for single-node container jobs.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type to use for a multi-node parallel job. This parameter is not * valid for single-node container jobs.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type to use for a multi-node parallel job. This parameter is not * valid for single-node container jobs.
*/ inline ContainerOverrides& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type to use for a multi-node parallel job. This parameter is not * valid for single-node container jobs.
*/ inline ContainerOverrides& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type to use for a multi-node parallel job. This parameter is not * valid for single-node container jobs.
*/ inline ContainerOverrides& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The environment variables to send to the container. You can add new * environment variables, which are added to the container at launch, or you can * override the existing environment variables from the Docker image or the job * definition.
Environment variables must not start with
* AWS_BATCH; this naming convention is reserved for variables that
* are set by the AWS Batch service.
The environment variables to send to the container. You can add new * environment variables, which are added to the container at launch, or you can * override the existing environment variables from the Docker image or the job * definition.
Environment variables must not start with
* AWS_BATCH; this naming convention is reserved for variables that
* are set by the AWS Batch service.
The environment variables to send to the container. You can add new * environment variables, which are added to the container at launch, or you can * override the existing environment variables from the Docker image or the job * definition.
Environment variables must not start with
* AWS_BATCH; this naming convention is reserved for variables that
* are set by the AWS Batch service.
The environment variables to send to the container. You can add new * environment variables, which are added to the container at launch, or you can * override the existing environment variables from the Docker image or the job * definition.
Environment variables must not start with
* AWS_BATCH; this naming convention is reserved for variables that
* are set by the AWS Batch service.
The environment variables to send to the container. You can add new * environment variables, which are added to the container at launch, or you can * override the existing environment variables from the Docker image or the job * definition.
Environment variables must not start with
* AWS_BATCH; this naming convention is reserved for variables that
* are set by the AWS Batch service.
The environment variables to send to the container. You can add new * environment variables, which are added to the container at launch, or you can * override the existing environment variables from the Docker image or the job * definition.
Environment variables must not start with
* AWS_BATCH; this naming convention is reserved for variables that
* are set by the AWS Batch service.
The environment variables to send to the container. You can add new * environment variables, which are added to the container at launch, or you can * override the existing environment variables from the Docker image or the job * definition.
Environment variables must not start with
* AWS_BATCH; this naming convention is reserved for variables that
* are set by the AWS Batch service.
The environment variables to send to the container. You can add new * environment variables, which are added to the container at launch, or you can * override the existing environment variables from the Docker image or the job * definition.
Environment variables must not start with
* AWS_BATCH; this naming convention is reserved for variables that
* are set by the AWS Batch service.
The type and amount of a resource to assign to a container. This value
* overrides the value set in the job definition. Currently, the only supported
* resource is GPU.
The type and amount of a resource to assign to a container. This value
* overrides the value set in the job definition. Currently, the only supported
* resource is GPU.
The type and amount of a resource to assign to a container. This value
* overrides the value set in the job definition. Currently, the only supported
* resource is GPU.
The type and amount of a resource to assign to a container. This value
* overrides the value set in the job definition. Currently, the only supported
* resource is GPU.
The type and amount of a resource to assign to a container. This value
* overrides the value set in the job definition. Currently, the only supported
* resource is GPU.
The type and amount of a resource to assign to a container. This value
* overrides the value set in the job definition. Currently, the only supported
* resource is GPU.
The type and amount of a resource to assign to a container. This value
* overrides the value set in the job definition. Currently, the only supported
* resource is GPU.
The type and amount of a resource to assign to a container. This value
* overrides the value set in the job definition. Currently, the only supported
* resource is GPU.