RHAPI_CacheInfo
Summary
Members | Descriptions |
---|---|
struct FRHAPI_CacheInfo | Cache information for the resource it is attached to. The etag value can be used with the If-None-Match and If-Match headers. |
struct FRHAPI_CacheInfo
Cache information for the resource it is attached to. The etag value can be used with the If-None-Match and If-Match headers.
Summary
Members | Descriptions |
---|---|
public FString Etag | |
public FString StrRep_Optional | |
public bool StrRep_IsSet | true if StrRep_Optional has been set to a value |
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) const | Writes the data from this object into the specified JSON Writer stream. |
public inline FString & GetEtag () | Gets the value of Etag. |
public inline const FString & GetEtag () const | Gets the value of Etag. |
public inline void SetEtag (FString NewValue) | Sets the value of Etag. |
public inline FString & GetStrRep () | Gets the value of StrRep_Optional, regardless of it having been set. |
public inline const FString & GetStrRep () const | Gets the value of StrRep_Optional, regardless of it having been set. |
public inline const FString & GetStrRep (const FString & DefaultValue) const | Gets the value of StrRep_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetStrRep (FString & OutValue) const | Fills OutValue with the value of StrRep_Optional and returns true if it has been set, otherwise returns false. |
public inline FString * GetStrRepOrNull () | Returns a pointer to StrRep_Optional, if it has been set, otherwise returns nullptr. |
public inline const FString * GetStrRepOrNull () const | Returns a pointer to StrRep_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetStrRep (FString NewValue) | Sets the value of StrRep_Optional and also sets StrRep_IsSet to true. |
public inline void ClearStrRep () | Clears the value of StrRep_Optional and sets StrRep_IsSet to false. |
Members
public FString
Etag
#### `public FString `[`StrRep_Optional`](#structFRHAPI__CacheInfo_1a938568e3ec9062c4a82cece832024b9f)
#### `public bool `[`StrRep_IsSet`](#structFRHAPI__CacheInfo_1a87a1e5ca07427850d04158a042692726)
true if StrRep_Optional has been set to a value
#### `public virtual bool `[`FromJson`](#structFRHAPI__CacheInfo_1acd6f92f7d036d8477f93c8932434bab6)`(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__CacheInfo_1afc9b3c904076053b5d4c457cb59fc9d6)`(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 FString & `[`GetEtag`](#structFRHAPI__CacheInfo_1a3eeacaaa962ca3a8c2dbd5c786c03d47)`()`
Gets the value of Etag.
#### `public inline const FString & `[`GetEtag`](#structFRHAPI__CacheInfo_1a70906082e6cf7aaaccfcb3a28914df4a)`() const`
Gets the value of Etag.
#### `public inline void `[`SetEtag`](#structFRHAPI__CacheInfo_1ab00ba350e0d857f8f5a25b2502d61f72)`(FString NewValue)`
Sets the value of Etag.
#### `public inline FString & `[`GetStrRep`](#structFRHAPI__CacheInfo_1aa2c8e02237725aeb366b3ad9d4321a84)`()`
Gets the value of StrRep_Optional, regardless of it having been set.
#### `public inline const FString & `[`GetStrRep`](#structFRHAPI__CacheInfo_1a3770dab27ec97bbd78cff0687c6a1419)`() const`
Gets the value of StrRep_Optional, regardless of it having been set.
#### `public inline const FString & `[`GetStrRep`](#structFRHAPI__CacheInfo_1ad6577093d7ff910a546f357f63cd6678)`(const FString & DefaultValue) const`
Gets the value of StrRep_Optional, if it has been set, otherwise it returns DefaultValue.
#### `public inline bool `[`GetStrRep`](#structFRHAPI__CacheInfo_1ade0b14154bf2de9b79dd99a5f82f0e3f)`(FString & OutValue) const`
Fills OutValue with the value of StrRep_Optional and returns true if it has been set, otherwise returns false.
#### `public inline FString * `[`GetStrRepOrNull`](#structFRHAPI__CacheInfo_1a1e2371d34addfd12dbb140d2657269c7)`()`
Returns a pointer to StrRep_Optional, if it has been set, otherwise returns nullptr.
#### `public inline const FString * `[`GetStrRepOrNull`](#structFRHAPI__CacheInfo_1af2861c77379562d11e31f7130c42562e)`() const`
Returns a pointer to StrRep_Optional, if it has been set, otherwise returns nullptr.
#### `public inline void `[`SetStrRep`](#structFRHAPI__CacheInfo_1a664234243e3f6949edc29a3b46726d82)`(FString NewValue)`
Sets the value of StrRep_Optional and also sets StrRep_IsSet to true.
#### `public inline void `[`ClearStrRep`](#structFRHAPI__CacheInfo_1a961e7ae4d42f98b5708fa842a80bb990)`()`
Clears the value of StrRep_Optional and sets StrRep_IsSet to false.