/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a terminated Client VPN endpoint client
* connection.See Also:
AWS
* API Reference
The ID of the client connection.
*/ inline const Aws::String& GetConnectionId() const{ return m_connectionId; } /** *The ID of the client connection.
*/ inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; } /** *The ID of the client connection.
*/ inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; } /** *The ID of the client connection.
*/ inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); } /** *The ID of the client connection.
*/ inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); } /** *The ID of the client connection.
*/ inline TerminateConnectionStatus& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} /** *The ID of the client connection.
*/ inline TerminateConnectionStatus& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} /** *The ID of the client connection.
*/ inline TerminateConnectionStatus& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} /** *The state of the client connection.
*/ inline const ClientVpnConnectionStatus& GetPreviousStatus() const{ return m_previousStatus; } /** *The state of the client connection.
*/ inline bool PreviousStatusHasBeenSet() const { return m_previousStatusHasBeenSet; } /** *The state of the client connection.
*/ inline void SetPreviousStatus(const ClientVpnConnectionStatus& value) { m_previousStatusHasBeenSet = true; m_previousStatus = value; } /** *The state of the client connection.
*/ inline void SetPreviousStatus(ClientVpnConnectionStatus&& value) { m_previousStatusHasBeenSet = true; m_previousStatus = std::move(value); } /** *The state of the client connection.
*/ inline TerminateConnectionStatus& WithPreviousStatus(const ClientVpnConnectionStatus& value) { SetPreviousStatus(value); return *this;} /** *The state of the client connection.
*/ inline TerminateConnectionStatus& WithPreviousStatus(ClientVpnConnectionStatus&& value) { SetPreviousStatus(std::move(value)); return *this;} /** *A message about the status of the client connection, if applicable.
*/ inline const ClientVpnConnectionStatus& GetCurrentStatus() const{ return m_currentStatus; } /** *A message about the status of the client connection, if applicable.
*/ inline bool CurrentStatusHasBeenSet() const { return m_currentStatusHasBeenSet; } /** *A message about the status of the client connection, if applicable.
*/ inline void SetCurrentStatus(const ClientVpnConnectionStatus& value) { m_currentStatusHasBeenSet = true; m_currentStatus = value; } /** *A message about the status of the client connection, if applicable.
*/ inline void SetCurrentStatus(ClientVpnConnectionStatus&& value) { m_currentStatusHasBeenSet = true; m_currentStatus = std::move(value); } /** *A message about the status of the client connection, if applicable.
*/ inline TerminateConnectionStatus& WithCurrentStatus(const ClientVpnConnectionStatus& value) { SetCurrentStatus(value); return *this;} /** *A message about the status of the client connection, if applicable.
*/ inline TerminateConnectionStatus& WithCurrentStatus(ClientVpnConnectionStatus&& value) { SetCurrentStatus(std::move(value)); return *this;} private: Aws::String m_connectionId; bool m_connectionIdHasBeenSet = false; ClientVpnConnectionStatus m_previousStatus; bool m_previousStatusHasBeenSet = false; ClientVpnConnectionStatus m_currentStatus; bool m_currentStatusHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws