AWS IoT Device SDK C++ v2: discovery/include/aws/discovery/ConnectivityInfo.h Source File

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

ConnectivityInfo.h
Go to the documentation of this file.
1#pragma once
6#include <aws/crt/JsonObject.h>
7
8#include <aws/discovery/Exports.h>
9
10#include <aws/crt/JsonObject.h>
11#include <aws/crt/StlAllocator.h>
12
13namespace Aws
14{
15 namespace Discovery
16 {
17 class AWS_DISCOVERY_API ConnectivityInfo final
18 {
19 public:
20 ConnectivityInfo() = default;
21
22 ConnectivityInfo(const Crt::JsonView &doc);
23 ConnectivityInfo &operator=(const Crt::JsonView &doc);
24
25 Aws::Crt::Optional<Aws::Crt::String> ID;
26 Aws::Crt::Optional<Aws::Crt::String> HostAddress;
27 Aws::Crt::Optional<Aws::Crt::String> Metadata;
28 Aws::Crt::Optional<uint16_t> Port;
29
30 private:
31 static void LoadFromObject(ConnectivityInfo &obj, const Crt::JsonView &doc);
32 };
33 } // namespace Discovery
34} // namespace Aws
JsonObject.h
StlAllocator.h
Aws::Crt::JsonView
Definition: JsonObject.h:207
Aws::Crt::Optional
Definition: Optional.h:17
Aws::Discovery::ConnectivityInfo
Definition: ConnectivityInfo.h:18
Aws::Discovery::ConnectivityInfo::Metadata
Aws::Crt::Optional< Aws::Crt::String > Metadata
Definition: ConnectivityInfo.h:27
Aws::Discovery::ConnectivityInfo::ID
Aws::Crt::Optional< Aws::Crt::String > ID
Definition: ConnectivityInfo.h:25
Aws::Discovery::ConnectivityInfo::ConnectivityInfo
ConnectivityInfo()=default
Aws::Discovery::ConnectivityInfo::HostAddress
Aws::Crt::Optional< Aws::Crt::String > HostAddress
Definition: ConnectivityInfo.h:26
Aws::Discovery::ConnectivityInfo::Port
Aws::Crt::Optional< uint16_t > Port
Definition: ConnectivityInfo.h:28
Exports.h
AWS_DISCOVERY_API
#define AWS_DISCOVERY_API
Definition: Exports.h:19
Aws
Definition: Api.h:17