/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the tunnel.See Also:
AWS
* API Reference
The unique alpha-numeric identifier for the tunnel.
*/ inline const Aws::String& GetTunnelId() const{ return m_tunnelId; } /** *The unique alpha-numeric identifier for the tunnel.
*/ inline bool TunnelIdHasBeenSet() const { return m_tunnelIdHasBeenSet; } /** *The unique alpha-numeric identifier for the tunnel.
*/ inline void SetTunnelId(const Aws::String& value) { m_tunnelIdHasBeenSet = true; m_tunnelId = value; } /** *The unique alpha-numeric identifier for the tunnel.
*/ inline void SetTunnelId(Aws::String&& value) { m_tunnelIdHasBeenSet = true; m_tunnelId = std::move(value); } /** *The unique alpha-numeric identifier for the tunnel.
*/ inline void SetTunnelId(const char* value) { m_tunnelIdHasBeenSet = true; m_tunnelId.assign(value); } /** *The unique alpha-numeric identifier for the tunnel.
*/ inline TunnelSummary& WithTunnelId(const Aws::String& value) { SetTunnelId(value); return *this;} /** *The unique alpha-numeric identifier for the tunnel.
*/ inline TunnelSummary& WithTunnelId(Aws::String&& value) { SetTunnelId(std::move(value)); return *this;} /** *The unique alpha-numeric identifier for the tunnel.
*/ inline TunnelSummary& WithTunnelId(const char* value) { SetTunnelId(value); return *this;} /** *The Amazon Resource Name of the tunnel.
*/ inline const Aws::String& GetTunnelArn() const{ return m_tunnelArn; } /** *The Amazon Resource Name of the tunnel.
*/ inline bool TunnelArnHasBeenSet() const { return m_tunnelArnHasBeenSet; } /** *The Amazon Resource Name of the tunnel.
*/ inline void SetTunnelArn(const Aws::String& value) { m_tunnelArnHasBeenSet = true; m_tunnelArn = value; } /** *The Amazon Resource Name of the tunnel.
*/ inline void SetTunnelArn(Aws::String&& value) { m_tunnelArnHasBeenSet = true; m_tunnelArn = std::move(value); } /** *The Amazon Resource Name of the tunnel.
*/ inline void SetTunnelArn(const char* value) { m_tunnelArnHasBeenSet = true; m_tunnelArn.assign(value); } /** *The Amazon Resource Name of the tunnel.
*/ inline TunnelSummary& WithTunnelArn(const Aws::String& value) { SetTunnelArn(value); return *this;} /** *The Amazon Resource Name of the tunnel.
*/ inline TunnelSummary& WithTunnelArn(Aws::String&& value) { SetTunnelArn(std::move(value)); return *this;} /** *The Amazon Resource Name of the tunnel.
*/ inline TunnelSummary& WithTunnelArn(const char* value) { SetTunnelArn(value); return *this;} /** *The status of a tunnel. Valid values are: Open and Closed.
*/ inline const TunnelStatus& GetStatus() const{ return m_status; } /** *The status of a tunnel. Valid values are: Open and Closed.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of a tunnel. Valid values are: Open and Closed.
*/ inline void SetStatus(const TunnelStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of a tunnel. Valid values are: Open and Closed.
*/ inline void SetStatus(TunnelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of a tunnel. Valid values are: Open and Closed.
*/ inline TunnelSummary& WithStatus(const TunnelStatus& value) { SetStatus(value); return *this;} /** *The status of a tunnel. Valid values are: Open and Closed.
*/ inline TunnelSummary& WithStatus(TunnelStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A description of the tunnel.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the tunnel.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the tunnel.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the tunnel.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the tunnel.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the tunnel.
*/ inline TunnelSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the tunnel.
*/ inline TunnelSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the tunnel.
*/ inline TunnelSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The time the tunnel was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time the tunnel was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time the tunnel was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time the tunnel was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time the tunnel was created.
*/ inline TunnelSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time the tunnel was created.
*/ inline TunnelSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The time the tunnel was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The time the tunnel was last updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The time the tunnel was last updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The time the tunnel was last updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The time the tunnel was last updated.
*/ inline TunnelSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The time the tunnel was last updated.
*/ inline TunnelSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} private: Aws::String m_tunnelId; bool m_tunnelIdHasBeenSet = false; Aws::String m_tunnelArn; bool m_tunnelArnHasBeenSet = false; TunnelStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; }; } // namespace Model } // namespace IoTSecureTunneling } // namespace Aws