AWS IoT Device SDK C++ v2 1.44.1
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
UUID.h
Go to the documentation of this file.
1#pragma once
7#include <aws/crt/Types.h>
8
9#include <aws/common/uuid.h>
10
11namespace Aws
12{
13 namespace Crt
14 {
19 {
20 public:
21 UUID() noexcept;
22 UUID(const String &str) noexcept;
23
24 UUID &operator=(const String &str) noexcept;
25
26 bool operator==(const UUID &other) const noexcept;
27 bool operator!=(const UUID &other) const noexcept;
28 operator String() const;
29 operator ByteBuf() const noexcept;
30
31 inline operator bool() const noexcept { return m_good; }
32
33 int GetLastError() const noexcept;
34
35 String ToString() const;
36
37 private:
38 aws_uuid m_uuid;
39 bool m_good;
40 };
41 } // namespace Crt
42} // namespace Aws
UUID() noexcept
Definition UUID.cpp:11
bool operator==(const UUID &other) const noexcept
Definition UUID.cpp:34
bool operator!=(const UUID &other) const noexcept
Definition UUID.cpp:39
UUID & operator=(const String &str) noexcept
Definition UUID.cpp:28
#define AWS_CRT_CPP_API
Definition Exports.h:36
Definition Allocator.h:13
std::basic_string< char, std::char_traits< char >, StlAllocator< char > > String
Definition Types.h:45
aws_byte_buf ByteBuf
Definition Types.h:30
Definition Allocator.h:11