AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
UUID.h
Go to the documentation of this file.
1
6#pragma once
7
11
12namespace Aws
13{
14 namespace Utils
15 {
16 static const size_t UUID_BINARY_SIZE = 0x10;
17
22 {
23 public:
31 UUID(const unsigned char uuid[UUID_BINARY_SIZE]);
32
36 operator Aws::String() const;
40 inline operator ByteBuffer() const { return ByteBuffer(m_uuid, sizeof(m_uuid)); }
41
46 static UUID RandomUUID();
47
48 private:
49 unsigned char m_uuid[UUID_BINARY_SIZE];
50 };
51 }
52}
#define AWS_CORE_API
Definition: Core_EXPORTS.h:26
UUID(const Aws::String &)
UUID(const unsigned char uuid[UUID_BINARY_SIZE])
static UUID RandomUUID()
static const size_t UUID_BINARY_SIZE
Definition: UUID.h:16
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97