AWS SDK for C++

AWS SDK for C++ Version 1.11.825

Loading...
Searching...
No Matches
UUID.h
1
6#pragma once
7
8#include <aws/core/Core_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11
12namespace Aws
13{
14 namespace Utils
15 {
16 static const size_t UUID_BINARY_SIZE = 0x10;
17
21 class AWS_CORE_API UUID
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
47
52
53 private:
54 unsigned char m_uuid[UUID_BINARY_SIZE];
55 };
56 }
57}
static Aws::Utils::UUID PseudoRandomUUID()
UUID(const Aws::String &)
static Aws::Utils::UUID RandomUUID()
UUID(const unsigned char uuid[UUID_BINARY_SIZE])
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