AWS IoT Device SDK C++ v2  1.32.6
AWS IoT Device SDK C++ v2
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
Aws::Greengrass::SystemResourceLimits Class Reference

#include <GreengrassCoreIpcModel.h>

Inheritance diagram for Aws::Greengrass::SystemResourceLimits:
Aws::Eventstreamrpc::AbstractShapeBase

Public Member Functions

 SystemResourceLimits () noexcept
 
 SystemResourceLimits (const SystemResourceLimits &)=default
 
void SetMemory (const int64_t &memory) noexcept
 
Aws::Crt::Optional< int64_t > GetMemory () noexcept
 
void SetCpus (const double &cpus) noexcept
 
Aws::Crt::Optional< double > GetCpus () noexcept
 
void SerializeToJsonObject (Aws::Crt::JsonObject &payloadObject) const noexcept override
 
bool operator< (const SystemResourceLimits &) const noexcept
 
- Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
 AbstractShapeBase () noexcept
 
virtual ~AbstractShapeBase () noexcept=default
 

Static Public Member Functions

static void s_loadFromJsonView (SystemResourceLimits &, const Aws::Crt::JsonView &) noexcept
 
static Aws::Crt::ScopedResource< AbstractShapeBases_allocateFromPayload (Aws::Crt::StringView, Aws::Crt::Allocator *) noexcept
 
static void s_customDeleter (SystemResourceLimits *) noexcept
 
- Static Public Member Functions inherited from Aws::Eventstreamrpc::AbstractShapeBase
static void s_customDeleter (AbstractShapeBase *shape) noexcept
 

Static Public Attributes

static const char * MODEL_NAME = "aws.greengrass#SystemResourceLimits"
 

Protected Member Functions

Aws::Crt::String GetModelName () const noexcept override
 

Additional Inherited Members

- Protected Attributes inherited from Aws::Eventstreamrpc::AbstractShapeBase
Crt::Allocatorm_allocator
 

Constructor & Destructor Documentation

◆ SystemResourceLimits() [1/2]

Aws::Greengrass::SystemResourceLimits::SystemResourceLimits ( )
inlinenoexcept

◆ SystemResourceLimits() [2/2]

Aws::Greengrass::SystemResourceLimits::SystemResourceLimits ( const SystemResourceLimits )
default

Member Function Documentation

◆ GetCpus()

Aws::Crt::Optional<double> Aws::Greengrass::SystemResourceLimits::GetCpus ( )
inlinenoexcept

(Optional) The maximum amount of CPU time that this component's processes can use on the core device.

◆ GetMemory()

Aws::Crt::Optional<int64_t> Aws::Greengrass::SystemResourceLimits::GetMemory ( )
inlinenoexcept

(Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core device.

◆ GetModelName()

Aws::Crt::String Aws::Greengrass::SystemResourceLimits::GetModelName ( ) const
overrideprotectedvirtualnoexcept

◆ operator<()

bool Aws::Greengrass::SystemResourceLimits::operator< ( const SystemResourceLimits ) const
noexcept

◆ s_allocateFromPayload()

Aws::Crt::ScopedResource< AbstractShapeBase > Aws::Greengrass::SystemResourceLimits::s_allocateFromPayload ( Aws::Crt::StringView  stringView,
Aws::Crt::Allocator allocator 
)
staticnoexcept

◆ s_customDeleter()

void Aws::Greengrass::SystemResourceLimits::s_customDeleter ( SystemResourceLimits shape)
staticnoexcept

◆ s_loadFromJsonView()

void Aws::Greengrass::SystemResourceLimits::s_loadFromJsonView ( SystemResourceLimits systemResourceLimits,
const Aws::Crt::JsonView jsonView 
)
staticnoexcept

◆ SerializeToJsonObject()

void Aws::Greengrass::SystemResourceLimits::SerializeToJsonObject ( Aws::Crt::JsonObject payloadObject) const
overridevirtualnoexcept

◆ SetCpus()

void Aws::Greengrass::SystemResourceLimits::SetCpus ( const double &  cpus)
inlinenoexcept

(Optional) The maximum amount of CPU time that this component's processes can use on the core device.

◆ SetMemory()

void Aws::Greengrass::SystemResourceLimits::SetMemory ( const int64_t &  memory)
inlinenoexcept

(Optional) The maximum amount of RAM (in kilobytes) that this component's processes can use on the core device.

Member Data Documentation

◆ MODEL_NAME

const char * Aws::Greengrass::SystemResourceLimits::MODEL_NAME = "aws.greengrass#SystemResourceLimits"
static

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