/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The overrides that are sent to a container.See Also:
AWS
* API Reference
The command to send to the container that overrides the default command from * the Docker image or the task definition.
*/ inline const Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the task 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 task definition.
*/ inline void SetCommand(const Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the task definition.
*/ inline void SetCommand(Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the task definition.
*/ inline BatchContainerOverrides& WithCommand(const Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the task definition.
*/ inline BatchContainerOverrides& WithCommand(Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the task definition.
*/ inline BatchContainerOverrides& 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 task definition.
*/ inline BatchContainerOverrides& 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 task definition.
*/ inline BatchContainerOverrides& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(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 task * definition.
Environment variables cannot start with
* "Batch
". This naming convention is reserved for variables that
* Batch sets.
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 task * definition.
Environment variables cannot start with
* "Batch
". This naming convention is reserved for variables that
* Batch sets.
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 task * definition.
Environment variables cannot start with
* "Batch
". This naming convention is reserved for variables that
* Batch sets.
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 task * definition.
Environment variables cannot start with
* "Batch
". This naming convention is reserved for variables that
* Batch sets.
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 task * definition.
Environment variables cannot start with
* "Batch
". This naming convention is reserved for variables that
* Batch sets.
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 task * definition.
Environment variables cannot start with
* "Batch
". This naming convention is reserved for variables that
* Batch sets.
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 task * definition.
Environment variables cannot start with
* "Batch
". This naming convention is reserved for variables that
* Batch sets.
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 task * definition.
Environment variables cannot start with
* "Batch
". This naming convention is reserved for variables that
* Batch sets.
The instance type to use for a multi-node parallel job.
This * parameter isn't applicable to single-node container jobs or jobs that run on * Fargate resources, and shouldn't be provided.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type to use for a multi-node parallel job.
This * parameter isn't applicable to single-node container jobs or jobs that run on * Fargate resources, and shouldn't be provided.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type to use for a multi-node parallel job.
This * parameter isn't applicable to single-node container jobs or jobs that run on * Fargate resources, and shouldn't be provided.
*/ 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 isn't applicable to single-node container jobs or jobs that run on * Fargate resources, and shouldn't be provided.
*/ 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 isn't applicable to single-node container jobs or jobs that run on * Fargate resources, and shouldn't be provided.
*/ 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 isn't applicable to single-node container jobs or jobs that run on * Fargate resources, and shouldn't be provided.
*/ inline BatchContainerOverrides& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type to use for a multi-node parallel job.
This * parameter isn't applicable to single-node container jobs or jobs that run on * Fargate resources, and shouldn't be provided.
*/ inline BatchContainerOverrides& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type to use for a multi-node parallel job.
This * parameter isn't applicable to single-node container jobs or jobs that run on * Fargate resources, and shouldn't be provided.
*/ inline BatchContainerOverrides& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The type and amount of resources to assign to a container. This overrides the
* settings in the job definition. The supported resources include
* GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
* settings in the job definition. The supported resources include
* GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
* settings in the job definition. The supported resources include
* GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
* settings in the job definition. The supported resources include
* GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
* settings in the job definition. The supported resources include
* GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
* settings in the job definition. The supported resources include
* GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
* settings in the job definition. The supported resources include
* GPU
, MEMORY
, and VCPU
.
The type and amount of resources to assign to a container. This overrides the
* settings in the job definition. The supported resources include
* GPU
, MEMORY
, and VCPU
.