class SuspenderSuspendRequest

Defined at line 309 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.suspend/fuchsia.hardware.power.suspend/cpp/fidl/fuchsia.hardware.power.suspend/cpp/natural_types.h

Public Methods

void SuspenderSuspendRequest (Storage_ storage)
void SuspenderSuspendRequest ()

Defined at line 315 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.suspend/fuchsia.hardware.power.suspend/cpp/fidl/fuchsia.hardware.power.suspend/cpp/natural_types.h

void SuspenderSuspendRequest (SuspenderSuspendRequest && )

Defined at line 316 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.suspend/fuchsia.hardware.power.suspend/cpp/fidl/fuchsia.hardware.power.suspend/cpp/natural_types.h

void SuspenderSuspendRequest (const SuspenderSuspendRequest & other)
SuspenderSuspendRequest & operator= (SuspenderSuspendRequest && )

Defined at line 317 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.suspend/fuchsia.hardware.power.suspend/cpp/fidl/fuchsia.hardware.power.suspend/cpp/natural_types.h

SuspenderSuspendRequest & operator= (const SuspenderSuspendRequest & other)
bool operator== (const SuspenderSuspendRequest & other)
bool operator!= (const SuspenderSuspendRequest & other)
bool IsEmpty ()
const std::optional<uint64_t> & state_index ()

This index corresponds to an entry in the vector returned by

GetSuspendStates. Returns ZX_ERR_OUT_OF_RANGE if `state_index` is

greater than the number of supported suspend states. Returns

ZX_ERR_INVALID_ARGS if this field is unset.

::std::optional<uint64_t> & state_index ()

This index corresponds to an entry in the vector returned by

GetSuspendStates. Returns ZX_ERR_OUT_OF_RANGE if `state_index` is

greater than the number of supported suspend states. Returns

ZX_ERR_INVALID_ARGS if this field is unset.

SuspenderSuspendRequest & state_index (std::optional<uint64_t> value)

This index corresponds to an entry in the vector returned by

GetSuspendStates. Returns ZX_ERR_OUT_OF_RANGE if `state_index` is

greater than the number of supported suspend states. Returns

ZX_ERR_INVALID_ARGS if this field is unset.

void SuspenderSuspendRequest (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits