/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Object representing any Kubernetes overrides to a job definition that's used
* in a SubmitJob API operation.See Also:
AWS
* API Reference
The override of the Docker image that's used to start the container.
*/ inline const Aws::String& GetImage() const{ return m_image; } /** *The override of the Docker image that's used to start the container.
*/ inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; } /** *The override of the Docker image that's used to start the container.
*/ inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; } /** *The override of the Docker image that's used to start the container.
*/ inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); } /** *The override of the Docker image that's used to start the container.
*/ inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); } /** *The override of the Docker image that's used to start the container.
*/ inline EksContainerOverride& WithImage(const Aws::String& value) { SetImage(value); return *this;} /** *The override of the Docker image that's used to start the container.
*/ inline EksContainerOverride& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;} /** *The override of the Docker image that's used to start the container.
*/ inline EksContainerOverride& WithImage(const char* value) { SetImage(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 EksContainerOverride& WithCommand(const Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline EksContainerOverride& WithCommand(Aws::VectorThe command to send to the container that overrides the default command from * the Docker image or the job definition.
*/ inline EksContainerOverride& 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 EksContainerOverride& 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 EksContainerOverride& AddCommand(const char* value) { m_commandHasBeenSet = true; m_command.push_back(value); return *this; } /** *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline const Aws::VectorThe arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; } /** *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline void SetArgs(const Aws::VectorThe arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline void SetArgs(Aws::VectorThe arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline EksContainerOverride& WithArgs(const Aws::VectorThe arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline EksContainerOverride& WithArgs(Aws::VectorThe arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline EksContainerOverride& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; } /** *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline EksContainerOverride& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; } /** *The arguments to the entrypoint to send to the container that overrides the * default arguments from the Docker image or the job definition. For more * information, see CMD in the * Dockerfile reference and Define * a command an arguments for a pod in the Kubernetes documentation.
*/ inline EksContainerOverride& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.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 job * definition.
Environment variables cannot start with
* "AWS_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 job * definition.
Environment variables cannot start with
* "AWS_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 job * definition.
Environment variables cannot start with
* "AWS_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 job * definition.
Environment variables cannot start with
* "AWS_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 job * definition.
Environment variables cannot start with
* "AWS_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 job * definition.
Environment variables cannot start with
* "AWS_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 job * definition.
Environment variables cannot start with
* "AWS_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 job * definition.
Environment variables cannot start with
* "AWS_BATCH
". This naming convention is reserved for variables that
* Batch sets.
The type and amount of resources to assign to a container. These override the
* settings in the job definition. The supported resources include
* memory
, cpu
, and nvidia.com/gpu
. For more
* information, see Resource
* management for pods and containers in the Kubernetes
* documentation.
The type and amount of resources to assign to a container. These override the
* settings in the job definition. The supported resources include
* memory
, cpu
, and nvidia.com/gpu
. For more
* information, see Resource
* management for pods and containers in the Kubernetes
* documentation.
The type and amount of resources to assign to a container. These override the
* settings in the job definition. The supported resources include
* memory
, cpu
, and nvidia.com/gpu
. For more
* information, see Resource
* management for pods and containers in the Kubernetes
* documentation.
The type and amount of resources to assign to a container. These override the
* settings in the job definition. The supported resources include
* memory
, cpu
, and nvidia.com/gpu
. For more
* information, see Resource
* management for pods and containers in the Kubernetes
* documentation.
The type and amount of resources to assign to a container. These override the
* settings in the job definition. The supported resources include
* memory
, cpu
, and nvidia.com/gpu
. For more
* information, see Resource
* management for pods and containers in the Kubernetes
* documentation.
The type and amount of resources to assign to a container. These override the
* settings in the job definition. The supported resources include
* memory
, cpu
, and nvidia.com/gpu
. For more
* information, see Resource
* management for pods and containers in the Kubernetes
* documentation.