AWS SDK for C++  1.9.124
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::TaskOverride Class Reference

#include <TaskOverride.h>

Public Member Functions

 TaskOverride ()
 
 TaskOverride (Aws::Utils::Json::JsonView jsonValue)
 
TaskOverrideoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< ContainerOverride > & GetContainerOverrides () const
 
bool ContainerOverridesHasBeenSet () const
 
void SetContainerOverrides (const Aws::Vector< ContainerOverride > &value)
 
void SetContainerOverrides (Aws::Vector< ContainerOverride > &&value)
 
TaskOverrideWithContainerOverrides (const Aws::Vector< ContainerOverride > &value)
 
TaskOverrideWithContainerOverrides (Aws::Vector< ContainerOverride > &&value)
 
TaskOverrideAddContainerOverrides (const ContainerOverride &value)
 
TaskOverrideAddContainerOverrides (ContainerOverride &&value)
 
const Aws::StringGetCpu () const
 
bool CpuHasBeenSet () const
 
void SetCpu (const Aws::String &value)
 
void SetCpu (Aws::String &&value)
 
void SetCpu (const char *value)
 
TaskOverrideWithCpu (const Aws::String &value)
 
TaskOverrideWithCpu (Aws::String &&value)
 
TaskOverrideWithCpu (const char *value)
 
const Aws::Vector< InferenceAcceleratorOverride > & GetInferenceAcceleratorOverrides () const
 
bool InferenceAcceleratorOverridesHasBeenSet () const
 
void SetInferenceAcceleratorOverrides (const Aws::Vector< InferenceAcceleratorOverride > &value)
 
void SetInferenceAcceleratorOverrides (Aws::Vector< InferenceAcceleratorOverride > &&value)
 
TaskOverrideWithInferenceAcceleratorOverrides (const Aws::Vector< InferenceAcceleratorOverride > &value)
 
TaskOverrideWithInferenceAcceleratorOverrides (Aws::Vector< InferenceAcceleratorOverride > &&value)
 
TaskOverrideAddInferenceAcceleratorOverrides (const InferenceAcceleratorOverride &value)
 
TaskOverrideAddInferenceAcceleratorOverrides (InferenceAcceleratorOverride &&value)
 
const Aws::StringGetExecutionRoleArn () const
 
bool ExecutionRoleArnHasBeenSet () const
 
void SetExecutionRoleArn (const Aws::String &value)
 
void SetExecutionRoleArn (Aws::String &&value)
 
void SetExecutionRoleArn (const char *value)
 
TaskOverrideWithExecutionRoleArn (const Aws::String &value)
 
TaskOverrideWithExecutionRoleArn (Aws::String &&value)
 
TaskOverrideWithExecutionRoleArn (const char *value)
 
const Aws::StringGetMemory () const
 
bool MemoryHasBeenSet () const
 
void SetMemory (const Aws::String &value)
 
void SetMemory (Aws::String &&value)
 
void SetMemory (const char *value)
 
TaskOverrideWithMemory (const Aws::String &value)
 
TaskOverrideWithMemory (Aws::String &&value)
 
TaskOverrideWithMemory (const char *value)
 
const Aws::StringGetTaskRoleArn () const
 
bool TaskRoleArnHasBeenSet () const
 
void SetTaskRoleArn (const Aws::String &value)
 
void SetTaskRoleArn (Aws::String &&value)
 
void SetTaskRoleArn (const char *value)
 
TaskOverrideWithTaskRoleArn (const Aws::String &value)
 
TaskOverrideWithTaskRoleArn (Aws::String &&value)
 
TaskOverrideWithTaskRoleArn (const char *value)
 
const EphemeralStorageGetEphemeralStorage () const
 
bool EphemeralStorageHasBeenSet () const
 
void SetEphemeralStorage (const EphemeralStorage &value)
 
void SetEphemeralStorage (EphemeralStorage &&value)
 
TaskOverrideWithEphemeralStorage (const EphemeralStorage &value)
 
TaskOverrideWithEphemeralStorage (EphemeralStorage &&value)
 

Detailed Description

The overrides associated with a task.

See Also:

AWS API Reference

Definition at line 35 of file TaskOverride.h.

Constructor & Destructor Documentation

◆ TaskOverride() [1/2]

Aws::ECS::Model::TaskOverride::TaskOverride ( )

◆ TaskOverride() [2/2]

Aws::ECS::Model::TaskOverride::TaskOverride ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddContainerOverrides() [1/2]

TaskOverride& Aws::ECS::Model::TaskOverride::AddContainerOverrides ( const ContainerOverride value)
inline

One or more container overrides sent to a task.

Definition at line 77 of file TaskOverride.h.

◆ AddContainerOverrides() [2/2]

TaskOverride& Aws::ECS::Model::TaskOverride::AddContainerOverrides ( ContainerOverride &&  value)
inline

One or more container overrides sent to a task.

Definition at line 82 of file TaskOverride.h.

◆ AddInferenceAcceleratorOverrides() [1/2]

TaskOverride& Aws::ECS::Model::TaskOverride::AddInferenceAcceleratorOverrides ( const InferenceAcceleratorOverride value)
inline

The Elastic Inference accelerator override for the task.

Definition at line 159 of file TaskOverride.h.

◆ AddInferenceAcceleratorOverrides() [2/2]

TaskOverride& Aws::ECS::Model::TaskOverride::AddInferenceAcceleratorOverrides ( InferenceAcceleratorOverride &&  value)
inline

The Elastic Inference accelerator override for the task.

Definition at line 164 of file TaskOverride.h.

◆ ContainerOverridesHasBeenSet()

bool Aws::ECS::Model::TaskOverride::ContainerOverridesHasBeenSet ( ) const
inline

One or more container overrides sent to a task.

Definition at line 52 of file TaskOverride.h.

◆ CpuHasBeenSet()

bool Aws::ECS::Model::TaskOverride::CpuHasBeenSet ( ) const
inline

The cpu override for the task.

Definition at line 93 of file TaskOverride.h.

◆ EphemeralStorageHasBeenSet()

bool Aws::ECS::Model::TaskOverride::EphemeralStorageHasBeenSet ( ) const
inline

The ephemeral storage setting override for the task.

This parameter is only supported for tasks hosted on Fargate using platform version 1.4.0 or later.

Definition at line 374 of file TaskOverride.h.

◆ ExecutionRoleArnHasBeenSet()

bool Aws::ECS::Model::TaskOverride::ExecutionRoleArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Definition at line 183 of file TaskOverride.h.

◆ GetContainerOverrides()

const Aws::Vector<ContainerOverride>& Aws::ECS::Model::TaskOverride::GetContainerOverrides ( ) const
inline

One or more container overrides sent to a task.

Definition at line 47 of file TaskOverride.h.

◆ GetCpu()

const Aws::String& Aws::ECS::Model::TaskOverride::GetCpu ( ) const
inline

The cpu override for the task.

Definition at line 88 of file TaskOverride.h.

◆ GetEphemeralStorage()

const EphemeralStorage& Aws::ECS::Model::TaskOverride::GetEphemeralStorage ( ) const
inline

The ephemeral storage setting override for the task.

This parameter is only supported for tasks hosted on Fargate using platform version 1.4.0 or later.

Definition at line 367 of file TaskOverride.h.

◆ GetExecutionRoleArn()

const Aws::String& Aws::ECS::Model::TaskOverride::GetExecutionRoleArn ( ) const
inline

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Definition at line 174 of file TaskOverride.h.

◆ GetInferenceAcceleratorOverrides()

const Aws::Vector<InferenceAcceleratorOverride>& Aws::ECS::Model::TaskOverride::GetInferenceAcceleratorOverrides ( ) const
inline

The Elastic Inference accelerator override for the task.

Definition at line 129 of file TaskOverride.h.

◆ GetMemory()

const Aws::String& Aws::ECS::Model::TaskOverride::GetMemory ( ) const
inline

The memory override for the task.

Definition at line 243 of file TaskOverride.h.

◆ GetTaskRoleArn()

const Aws::String& Aws::ECS::Model::TaskOverride::GetTaskRoleArn ( ) const
inline

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Definition at line 289 of file TaskOverride.h.

◆ InferenceAcceleratorOverridesHasBeenSet()

bool Aws::ECS::Model::TaskOverride::InferenceAcceleratorOverridesHasBeenSet ( ) const
inline

The Elastic Inference accelerator override for the task.

Definition at line 134 of file TaskOverride.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECS::Model::TaskOverride::Jsonize ( ) const

◆ MemoryHasBeenSet()

bool Aws::ECS::Model::TaskOverride::MemoryHasBeenSet ( ) const
inline

The memory override for the task.

Definition at line 248 of file TaskOverride.h.

◆ operator=()

TaskOverride& Aws::ECS::Model::TaskOverride::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetContainerOverrides() [1/2]

void Aws::ECS::Model::TaskOverride::SetContainerOverrides ( Aws::Vector< ContainerOverride > &&  value)
inline

One or more container overrides sent to a task.

Definition at line 62 of file TaskOverride.h.

◆ SetContainerOverrides() [2/2]

void Aws::ECS::Model::TaskOverride::SetContainerOverrides ( const Aws::Vector< ContainerOverride > &  value)
inline

One or more container overrides sent to a task.

Definition at line 57 of file TaskOverride.h.

◆ SetCpu() [1/3]

void Aws::ECS::Model::TaskOverride::SetCpu ( Aws::String &&  value)
inline

The cpu override for the task.

Definition at line 103 of file TaskOverride.h.

◆ SetCpu() [2/3]

void Aws::ECS::Model::TaskOverride::SetCpu ( const Aws::String value)
inline

The cpu override for the task.

Definition at line 98 of file TaskOverride.h.

◆ SetCpu() [3/3]

void Aws::ECS::Model::TaskOverride::SetCpu ( const char *  value)
inline

The cpu override for the task.

Definition at line 108 of file TaskOverride.h.

◆ SetEphemeralStorage() [1/2]

void Aws::ECS::Model::TaskOverride::SetEphemeralStorage ( const EphemeralStorage value)
inline

The ephemeral storage setting override for the task.

This parameter is only supported for tasks hosted on Fargate using platform version 1.4.0 or later.

Definition at line 381 of file TaskOverride.h.

◆ SetEphemeralStorage() [2/2]

void Aws::ECS::Model::TaskOverride::SetEphemeralStorage ( EphemeralStorage &&  value)
inline

The ephemeral storage setting override for the task.

This parameter is only supported for tasks hosted on Fargate using platform version 1.4.0 or later.

Definition at line 388 of file TaskOverride.h.

◆ SetExecutionRoleArn() [1/3]

void Aws::ECS::Model::TaskOverride::SetExecutionRoleArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Definition at line 201 of file TaskOverride.h.

◆ SetExecutionRoleArn() [2/3]

void Aws::ECS::Model::TaskOverride::SetExecutionRoleArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Definition at line 192 of file TaskOverride.h.

◆ SetExecutionRoleArn() [3/3]

void Aws::ECS::Model::TaskOverride::SetExecutionRoleArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Definition at line 210 of file TaskOverride.h.

◆ SetInferenceAcceleratorOverrides() [1/2]

void Aws::ECS::Model::TaskOverride::SetInferenceAcceleratorOverrides ( Aws::Vector< InferenceAcceleratorOverride > &&  value)
inline

The Elastic Inference accelerator override for the task.

Definition at line 144 of file TaskOverride.h.

◆ SetInferenceAcceleratorOverrides() [2/2]

void Aws::ECS::Model::TaskOverride::SetInferenceAcceleratorOverrides ( const Aws::Vector< InferenceAcceleratorOverride > &  value)
inline

The Elastic Inference accelerator override for the task.

Definition at line 139 of file TaskOverride.h.

◆ SetMemory() [1/3]

void Aws::ECS::Model::TaskOverride::SetMemory ( Aws::String &&  value)
inline

The memory override for the task.

Definition at line 258 of file TaskOverride.h.

◆ SetMemory() [2/3]

void Aws::ECS::Model::TaskOverride::SetMemory ( const Aws::String value)
inline

The memory override for the task.

Definition at line 253 of file TaskOverride.h.

◆ SetMemory() [3/3]

void Aws::ECS::Model::TaskOverride::SetMemory ( const char *  value)
inline

The memory override for the task.

Definition at line 263 of file TaskOverride.h.

◆ SetTaskRoleArn() [1/3]

void Aws::ECS::Model::TaskOverride::SetTaskRoleArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Definition at line 319 of file TaskOverride.h.

◆ SetTaskRoleArn() [2/3]

void Aws::ECS::Model::TaskOverride::SetTaskRoleArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Definition at line 309 of file TaskOverride.h.

◆ SetTaskRoleArn() [3/3]

void Aws::ECS::Model::TaskOverride::SetTaskRoleArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Definition at line 329 of file TaskOverride.h.

◆ TaskRoleArnHasBeenSet()

bool Aws::ECS::Model::TaskOverride::TaskRoleArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Definition at line 299 of file TaskOverride.h.

◆ WithContainerOverrides() [1/2]

TaskOverride& Aws::ECS::Model::TaskOverride::WithContainerOverrides ( Aws::Vector< ContainerOverride > &&  value)
inline

One or more container overrides sent to a task.

Definition at line 72 of file TaskOverride.h.

◆ WithContainerOverrides() [2/2]

TaskOverride& Aws::ECS::Model::TaskOverride::WithContainerOverrides ( const Aws::Vector< ContainerOverride > &  value)
inline

One or more container overrides sent to a task.

Definition at line 67 of file TaskOverride.h.

◆ WithCpu() [1/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithCpu ( Aws::String &&  value)
inline

The cpu override for the task.

Definition at line 118 of file TaskOverride.h.

◆ WithCpu() [2/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithCpu ( const Aws::String value)
inline

The cpu override for the task.

Definition at line 113 of file TaskOverride.h.

◆ WithCpu() [3/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithCpu ( const char *  value)
inline

The cpu override for the task.

Definition at line 123 of file TaskOverride.h.

◆ WithEphemeralStorage() [1/2]

TaskOverride& Aws::ECS::Model::TaskOverride::WithEphemeralStorage ( const EphemeralStorage value)
inline

The ephemeral storage setting override for the task.

This parameter is only supported for tasks hosted on Fargate using platform version 1.4.0 or later.

Definition at line 395 of file TaskOverride.h.

◆ WithEphemeralStorage() [2/2]

TaskOverride& Aws::ECS::Model::TaskOverride::WithEphemeralStorage ( EphemeralStorage &&  value)
inline

The ephemeral storage setting override for the task.

This parameter is only supported for tasks hosted on Fargate using platform version 1.4.0 or later.

Definition at line 402 of file TaskOverride.h.

◆ WithExecutionRoleArn() [1/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithExecutionRoleArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Definition at line 228 of file TaskOverride.h.

◆ WithExecutionRoleArn() [2/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithExecutionRoleArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Definition at line 219 of file TaskOverride.h.

◆ WithExecutionRoleArn() [3/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithExecutionRoleArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.

Definition at line 237 of file TaskOverride.h.

◆ WithInferenceAcceleratorOverrides() [1/2]

TaskOverride& Aws::ECS::Model::TaskOverride::WithInferenceAcceleratorOverrides ( Aws::Vector< InferenceAcceleratorOverride > &&  value)
inline

The Elastic Inference accelerator override for the task.

Definition at line 154 of file TaskOverride.h.

◆ WithInferenceAcceleratorOverrides() [2/2]

TaskOverride& Aws::ECS::Model::TaskOverride::WithInferenceAcceleratorOverrides ( const Aws::Vector< InferenceAcceleratorOverride > &  value)
inline

The Elastic Inference accelerator override for the task.

Definition at line 149 of file TaskOverride.h.

◆ WithMemory() [1/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithMemory ( Aws::String &&  value)
inline

The memory override for the task.

Definition at line 273 of file TaskOverride.h.

◆ WithMemory() [2/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithMemory ( const Aws::String value)
inline

The memory override for the task.

Definition at line 268 of file TaskOverride.h.

◆ WithMemory() [3/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithMemory ( const char *  value)
inline

The memory override for the task.

Definition at line 278 of file TaskOverride.h.

◆ WithTaskRoleArn() [1/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithTaskRoleArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Definition at line 349 of file TaskOverride.h.

◆ WithTaskRoleArn() [2/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithTaskRoleArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Definition at line 339 of file TaskOverride.h.

◆ WithTaskRoleArn() [3/3]

TaskOverride& Aws::ECS::Model::TaskOverride::WithTaskRoleArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.

Definition at line 359 of file TaskOverride.h.


The documentation for this class was generated from the following file: