Skip to content

RHAPI_InstanceHealthStatusUpdate

Summary

MembersDescriptions
struct FRHAPI_InstanceHealthStatusUpdateA request body for an instances health check.

struct FRHAPI_InstanceHealthStatusUpdate

struct FRHAPI_InstanceHealthStatusUpdate
: public FRHAPI_Model

A request body for an instances health check.

Summary

MembersDescriptions
public ERHAPI_InstanceHealthStatus InstanceHealthThe health status of the instance.
public FString InstanceIdThe instance ID for the instance whose health you are reporting.
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)Fills this object with data from the passed in JSON.
public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) constWrites the data from this object into the specified JSON Writer stream.
public inline ERHAPI_InstanceHealthStatus & GetInstanceHealth()Gets the value of InstanceHealth.
public inline const ERHAPI_InstanceHealthStatus & GetInstanceHealth() constGets the value of InstanceHealth.
public inline void SetInstanceHealth(ERHAPI_InstanceHealthStatus NewValue)Sets the value of InstanceHealth.
public inline FString & GetInstanceId()Gets the value of InstanceId.
public inline const FString & GetInstanceId() constGets the value of InstanceId.
public inline void SetInstanceId(FString NewValue)Sets the value of InstanceId.

Members

public ERHAPI_InstanceHealthStatus InstanceHealth

The health status of the instance.


#### `public FString `[`InstanceId`](#structFRHAPI__InstanceHealthStatusUpdate_1af49eb08bd68d937ff09af2ab23839b71)

The instance ID for the instance whose health you are reporting.


#### `public virtual bool `[`FromJson`](#structFRHAPI__InstanceHealthStatusUpdate_1a7b36499cd62e987ae794f5148d65b043)`(const TSharedPtr< FJsonValue > & JsonValue)`

Fills this object with data from the passed in JSON.

Parameters

  • JsonValue Data from the API call.

Returns

true if parsing of the JSON data was successful.


#### `public virtual void `[`WriteJson`](#structFRHAPI__InstanceHealthStatusUpdate_1a6d5e5054aaf5929c1517761dca916347)`(TSharedRef< TJsonWriter<>> & Writer) const`

Writes the data from this object into the specified JSON Writer stream.

Parameters

  • Writer JSON Writer stream to push .

#### `public inline ERHAPI_InstanceHealthStatus & `[`GetInstanceHealth`](#structFRHAPI__InstanceHealthStatusUpdate_1aee3b1e634828fa5e708bb279f1ae3614)`()`

Gets the value of InstanceHealth.


#### `public inline const ERHAPI_InstanceHealthStatus & `[`GetInstanceHealth`](#structFRHAPI__InstanceHealthStatusUpdate_1a82f83d721db301c89eb0bdbce11a9ab3)`() const`

Gets the value of InstanceHealth.


#### `public inline void `[`SetInstanceHealth`](#structFRHAPI__InstanceHealthStatusUpdate_1a118ed7a3b14461e9650ae70cd2c71217)`(ERHAPI_InstanceHealthStatus NewValue)`

Sets the value of InstanceHealth.


#### `public inline FString & `[`GetInstanceId`](#structFRHAPI__InstanceHealthStatusUpdate_1ac700bdfe25364183c4113ffd5f3a3c8e)`()`

Gets the value of InstanceId.


#### `public inline const FString & `[`GetInstanceId`](#structFRHAPI__InstanceHealthStatusUpdate_1adb98c332bf94570d61b2cc7be9466370)`() const`

Gets the value of InstanceId.


#### `public inline void `[`SetInstanceId`](#structFRHAPI__InstanceHealthStatusUpdate_1a03b4d45807ee5dd20addf7a1a35c6166)`(FString NewValue)`

Sets the value of InstanceId.