7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetConnected(
bool value) { m_connectedHasBeenSet =
true; m_connected = value; }
59 inline void SetTimestamp(
long long value) { m_timestampHasBeenSet =
true; m_timestamp = value; }
73 inline void SetDisconnectReason(
const char* value) { m_disconnectReasonHasBeenSet =
true; m_disconnectReason.assign(value); }
81 bool m_connectedHasBeenSet =
false;
83 long long m_timestamp;
84 bool m_timestampHasBeenSet =
false;
87 bool m_disconnectReasonHasBeenSet =
false;
void SetDisconnectReason(const Aws::String &value)
void SetConnected(bool value)
long long GetTimestamp() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ThingConnectivity & WithDisconnectReason(Aws::String &&value)
bool DisconnectReasonHasBeenSet() const
ThingConnectivity & WithTimestamp(long long value)
AWS_IOT_API ThingConnectivity(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(long long value)
void SetDisconnectReason(Aws::String &&value)
ThingConnectivity & WithDisconnectReason(const char *value)
const Aws::String & GetDisconnectReason() const
AWS_IOT_API ThingConnectivity()
ThingConnectivity & WithConnected(bool value)
void SetDisconnectReason(const char *value)
bool TimestampHasBeenSet() const
bool ConnectedHasBeenSet() const
bool GetConnected() const
ThingConnectivity & WithDisconnectReason(const Aws::String &value)
AWS_IOT_API ThingConnectivity & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue