/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The connectivity status of the thing.See Also:
AWS
* API Reference
True if the thing is connected to the Amazon Web Services IoT Core service; * false if it is not connected.
*/ inline bool GetConnected() const{ return m_connected; } /** *True if the thing is connected to the Amazon Web Services IoT Core service; * false if it is not connected.
*/ inline bool ConnectedHasBeenSet() const { return m_connectedHasBeenSet; } /** *True if the thing is connected to the Amazon Web Services IoT Core service; * false if it is not connected.
*/ inline void SetConnected(bool value) { m_connectedHasBeenSet = true; m_connected = value; } /** *True if the thing is connected to the Amazon Web Services IoT Core service; * false if it is not connected.
*/ inline ThingConnectivity& WithConnected(bool value) { SetConnected(value); return *this;} /** *The epoch time (in milliseconds) when the thing last connected or * disconnected. If the thing has been disconnected for approximately an hour, the * time value might be missing.
*/ inline long long GetTimestamp() const{ return m_timestamp; } /** *The epoch time (in milliseconds) when the thing last connected or * disconnected. If the thing has been disconnected for approximately an hour, the * time value might be missing.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The epoch time (in milliseconds) when the thing last connected or * disconnected. If the thing has been disconnected for approximately an hour, the * time value might be missing.
*/ inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The epoch time (in milliseconds) when the thing last connected or * disconnected. If the thing has been disconnected for approximately an hour, the * time value might be missing.
*/ inline ThingConnectivity& WithTimestamp(long long value) { SetTimestamp(value); return *this;} /** *The reason why the client is disconnected. If the thing has been disconnected
* for approximately an hour, the disconnectReason
value might be
* missing.
The reason why the client is disconnected. If the thing has been disconnected
* for approximately an hour, the disconnectReason
value might be
* missing.
The reason why the client is disconnected. If the thing has been disconnected
* for approximately an hour, the disconnectReason
value might be
* missing.
The reason why the client is disconnected. If the thing has been disconnected
* for approximately an hour, the disconnectReason
value might be
* missing.
The reason why the client is disconnected. If the thing has been disconnected
* for approximately an hour, the disconnectReason
value might be
* missing.
The reason why the client is disconnected. If the thing has been disconnected
* for approximately an hour, the disconnectReason
value might be
* missing.
The reason why the client is disconnected. If the thing has been disconnected
* for approximately an hour, the disconnectReason
value might be
* missing.
The reason why the client is disconnected. If the thing has been disconnected
* for approximately an hour, the disconnectReason
value might be
* missing.