AWS IoT Device SDK C++ v2: crt/aws-crt-cpp/include/aws/crt/UUID.h Source File

AWS IoT Device SDK C++ v2 1.14.0 AWS IoT Device SDK C++ v2

UUID.h
Go to the documentation of this file.
1#pragma once
6#include <aws/crt/StlAllocator.h>
7#include <aws/crt/Types.h>
8
9#include <aws/common/uuid.h>
10
11namespace Aws
12{
13 namespace Crt
14 {
18 class AWS_CRT_CPP_API UUID final
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) noexcept;
27 bool operator!=(const UUID &other) 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
StlAllocator.h
Types.h
Aws::Crt::UUID
Definition: UUID.h:19
AWS_CRT_CPP_API
#define AWS_CRT_CPP_API
Definition: Exports.h:37
Aws::Crt::String
std::basic_string< char, std::char_traits< char >, StlAllocator< char > > String
Definition: Types.h:47
Aws::Crt::ByteBuf
aws_byte_buf ByteBuf
Definition: Types.h:32
Aws::Crt::operator==
bool operator==(const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept
Definition: StringView.h:665
Aws::Crt::operator!=
bool operator!=(const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept
Definition: StringView.h:690
Aws::Iotjobs::JobStatusMarshaller::ToString
const char *AWS_IOTJOBS_API ToString(JobStatus val)
Definition: JobStatus.cpp:29
Aws
Definition: Api.h:17