/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The state of a connection.See Also:
AWS
* API Reference
The connection status of the tunnel. Valid values are CONNECTED
* and DISCONNECTED
.
The connection status of the tunnel. Valid values are CONNECTED
* and DISCONNECTED
.
The connection status of the tunnel. Valid values are CONNECTED
* and DISCONNECTED
.
The connection status of the tunnel. Valid values are CONNECTED
* and DISCONNECTED
.
The connection status of the tunnel. Valid values are CONNECTED
* and DISCONNECTED
.
The connection status of the tunnel. Valid values are CONNECTED
* and DISCONNECTED
.
The last time the connection status was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The last time the connection status was updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The last time the connection status was updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The last time the connection status was updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The last time the connection status was updated.
*/ inline ConnectionState& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The last time the connection status was updated.
*/ inline ConnectionState& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} private: ConnectionStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; }; } // namespace Model } // namespace IoTSecureTunneling } // namespace Aws