/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class TerminateClientVpnConnectionsResponse { public: AWS_EC2_API TerminateClientVpnConnectionsResponse(); AWS_EC2_API TerminateClientVpnConnectionsResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API TerminateClientVpnConnectionsResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the Client VPN endpoint.

*/ inline const Aws::String& GetClientVpnEndpointId() const{ return m_clientVpnEndpointId; } /** *

The ID of the Client VPN endpoint.

*/ inline void SetClientVpnEndpointId(const Aws::String& value) { m_clientVpnEndpointId = value; } /** *

The ID of the Client VPN endpoint.

*/ inline void SetClientVpnEndpointId(Aws::String&& value) { m_clientVpnEndpointId = std::move(value); } /** *

The ID of the Client VPN endpoint.

*/ inline void SetClientVpnEndpointId(const char* value) { m_clientVpnEndpointId.assign(value); } /** *

The ID of the Client VPN endpoint.

*/ inline TerminateClientVpnConnectionsResponse& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;} /** *

The ID of the Client VPN endpoint.

*/ inline TerminateClientVpnConnectionsResponse& WithClientVpnEndpointId(Aws::String&& value) { SetClientVpnEndpointId(std::move(value)); return *this;} /** *

The ID of the Client VPN endpoint.

*/ inline TerminateClientVpnConnectionsResponse& WithClientVpnEndpointId(const char* value) { SetClientVpnEndpointId(value); return *this;} /** *

The user who established the terminated client connections.

*/ inline const Aws::String& GetUsername() const{ return m_username; } /** *

The user who established the terminated client connections.

*/ inline void SetUsername(const Aws::String& value) { m_username = value; } /** *

The user who established the terminated client connections.

*/ inline void SetUsername(Aws::String&& value) { m_username = std::move(value); } /** *

The user who established the terminated client connections.

*/ inline void SetUsername(const char* value) { m_username.assign(value); } /** *

The user who established the terminated client connections.

*/ inline TerminateClientVpnConnectionsResponse& WithUsername(const Aws::String& value) { SetUsername(value); return *this;} /** *

The user who established the terminated client connections.

*/ inline TerminateClientVpnConnectionsResponse& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;} /** *

The user who established the terminated client connections.

*/ inline TerminateClientVpnConnectionsResponse& WithUsername(const char* value) { SetUsername(value); return *this;} /** *

The current state of the client connections.

*/ inline const Aws::Vector& GetConnectionStatuses() const{ return m_connectionStatuses; } /** *

The current state of the client connections.

*/ inline void SetConnectionStatuses(const Aws::Vector& value) { m_connectionStatuses = value; } /** *

The current state of the client connections.

*/ inline void SetConnectionStatuses(Aws::Vector&& value) { m_connectionStatuses = std::move(value); } /** *

The current state of the client connections.

*/ inline TerminateClientVpnConnectionsResponse& WithConnectionStatuses(const Aws::Vector& value) { SetConnectionStatuses(value); return *this;} /** *

The current state of the client connections.

*/ inline TerminateClientVpnConnectionsResponse& WithConnectionStatuses(Aws::Vector&& value) { SetConnectionStatuses(std::move(value)); return *this;} /** *

The current state of the client connections.

*/ inline TerminateClientVpnConnectionsResponse& AddConnectionStatuses(const TerminateConnectionStatus& value) { m_connectionStatuses.push_back(value); return *this; } /** *

The current state of the client connections.

*/ inline TerminateClientVpnConnectionsResponse& AddConnectionStatuses(TerminateConnectionStatus&& value) { m_connectionStatuses.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline TerminateClientVpnConnectionsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline TerminateClientVpnConnectionsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_clientVpnEndpointId; Aws::String m_username; Aws::Vector m_connectionStatuses; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws