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

#include <PlatformDevice.h>

Public Member Functions

 PlatformDevice ()
 
 PlatformDevice (Aws::Utils::Json::JsonView jsonValue)
 
PlatformDeviceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
PlatformDeviceWithId (const Aws::String &value)
 
PlatformDeviceWithId (Aws::String &&value)
 
PlatformDeviceWithId (const char *value)
 
const PlatformDeviceTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const PlatformDeviceType &value)
 
void SetType (PlatformDeviceType &&value)
 
PlatformDeviceWithType (const PlatformDeviceType &value)
 
PlatformDeviceWithType (PlatformDeviceType &&value)
 

Detailed Description

The devices that are available on the container instance. The only supported device type is a GPU.

See Also:

AWS API Reference

Definition at line 33 of file PlatformDevice.h.

Constructor & Destructor Documentation

◆ PlatformDevice() [1/2]

Aws::ECS::Model::PlatformDevice::PlatformDevice ( )

◆ PlatformDevice() [2/2]

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

Member Function Documentation

◆ GetId()

const Aws::String& Aws::ECS::Model::PlatformDevice::GetId ( ) const
inline

The ID for the GPU(s) on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Definition at line 47 of file PlatformDevice.h.

◆ GetType()

const PlatformDeviceType& Aws::ECS::Model::PlatformDevice::GetType ( ) const
inline

The type of device that is available on the container instance. The only supported value is GPU.

Definition at line 103 of file PlatformDevice.h.

◆ IdHasBeenSet()

bool Aws::ECS::Model::PlatformDevice::IdHasBeenSet ( ) const
inline

The ID for the GPU(s) on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Definition at line 54 of file PlatformDevice.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetId() [1/3]

void Aws::ECS::Model::PlatformDevice::SetId ( const Aws::String value)
inline

The ID for the GPU(s) on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Definition at line 61 of file PlatformDevice.h.

◆ SetId() [2/3]

void Aws::ECS::Model::PlatformDevice::SetId ( Aws::String &&  value)
inline

The ID for the GPU(s) on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Definition at line 68 of file PlatformDevice.h.

◆ SetId() [3/3]

void Aws::ECS::Model::PlatformDevice::SetId ( const char *  value)
inline

The ID for the GPU(s) on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Definition at line 75 of file PlatformDevice.h.

◆ SetType() [1/2]

void Aws::ECS::Model::PlatformDevice::SetType ( const PlatformDeviceType value)
inline

The type of device that is available on the container instance. The only supported value is GPU.

Definition at line 115 of file PlatformDevice.h.

◆ SetType() [2/2]

void Aws::ECS::Model::PlatformDevice::SetType ( PlatformDeviceType &&  value)
inline

The type of device that is available on the container instance. The only supported value is GPU.

Definition at line 121 of file PlatformDevice.h.

◆ TypeHasBeenSet()

bool Aws::ECS::Model::PlatformDevice::TypeHasBeenSet ( ) const
inline

The type of device that is available on the container instance. The only supported value is GPU.

Definition at line 109 of file PlatformDevice.h.

◆ WithId() [1/3]

PlatformDevice& Aws::ECS::Model::PlatformDevice::WithId ( const Aws::String value)
inline

The ID for the GPU(s) on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Definition at line 82 of file PlatformDevice.h.

◆ WithId() [2/3]

PlatformDevice& Aws::ECS::Model::PlatformDevice::WithId ( Aws::String &&  value)
inline

The ID for the GPU(s) on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Definition at line 89 of file PlatformDevice.h.

◆ WithId() [3/3]

PlatformDevice& Aws::ECS::Model::PlatformDevice::WithId ( const char *  value)
inline

The ID for the GPU(s) on the container instance. The available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file.

Definition at line 96 of file PlatformDevice.h.

◆ WithType() [1/2]

PlatformDevice& Aws::ECS::Model::PlatformDevice::WithType ( const PlatformDeviceType value)
inline

The type of device that is available on the container instance. The only supported value is GPU.

Definition at line 127 of file PlatformDevice.h.

◆ WithType() [2/2]

PlatformDevice& Aws::ECS::Model::PlatformDevice::WithType ( PlatformDeviceType &&  value)
inline

The type of device that is available on the container instance. The only supported value is GPU.

Definition at line 133 of file PlatformDevice.h.


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