AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | Static Public Member Functions | List of all members
Aws::Utils::UUID Class Reference

#include <UUID.h>

Public Member Functions

 UUID (const Aws::String &)
 
 UUID (const unsigned char uuid[UUID_BINARY_SIZE])
 
 operator Aws::String () const
 
 operator ByteBuffer () const
 

Static Public Member Functions

static UUID RandomUUID ()
 

Detailed Description

Class encapsulating a UUID. This is platform dependent. The method you are most likely interested in is RandomUUID().

Definition at line 21 of file UUID.h.

Constructor & Destructor Documentation

◆ UUID() [1/2]

Aws::Utils::UUID::UUID ( const Aws::String )

Parses a GUID string into the raw data.

◆ UUID() [2/2]

Aws::Utils::UUID::UUID ( const unsigned char  uuid[UUID_BINARY_SIZE])

Sets the raw uuid data

Member Function Documentation

◆ operator Aws::String()

Aws::Utils::UUID::operator Aws::String ( ) const

Returns the current UUID as a GUID string

◆ operator ByteBuffer()

Aws::Utils::UUID::operator ByteBuffer ( ) const
inline

Returns a copy of the raw uuid

Definition at line 40 of file UUID.h.

◆ RandomUUID()

static UUID Aws::Utils::UUID::RandomUUID ( )
static

Generates a UUID. It will always try to prefer a random implementation from the entropy source on the machine. If none, is available, it will fallback to the mac address and timestamp implementation.


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