/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 CreateClientVpnEndpointResponse { public: AWS_EC2_API CreateClientVpnEndpointResponse(); AWS_EC2_API CreateClientVpnEndpointResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API CreateClientVpnEndpointResponse& 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 CreateClientVpnEndpointResponse& WithClientVpnEndpointId(const Aws::String& value) { SetClientVpnEndpointId(value); return *this;} /** *

The ID of the Client VPN endpoint.

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

The ID of the Client VPN endpoint.

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

The current state of the Client VPN endpoint.

*/ inline const ClientVpnEndpointStatus& GetStatus() const{ return m_status; } /** *

The current state of the Client VPN endpoint.

*/ inline void SetStatus(const ClientVpnEndpointStatus& value) { m_status = value; } /** *

The current state of the Client VPN endpoint.

*/ inline void SetStatus(ClientVpnEndpointStatus&& value) { m_status = std::move(value); } /** *

The current state of the Client VPN endpoint.

*/ inline CreateClientVpnEndpointResponse& WithStatus(const ClientVpnEndpointStatus& value) { SetStatus(value); return *this;} /** *

The current state of the Client VPN endpoint.

*/ inline CreateClientVpnEndpointResponse& WithStatus(ClientVpnEndpointStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The DNS name to be used by clients when establishing their VPN session.

*/ inline const Aws::String& GetDnsName() const{ return m_dnsName; } /** *

The DNS name to be used by clients when establishing their VPN session.

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

The DNS name to be used by clients when establishing their VPN session.

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

The DNS name to be used by clients when establishing their VPN session.

*/ inline void SetDnsName(const char* value) { m_dnsName.assign(value); } /** *

The DNS name to be used by clients when establishing their VPN session.

*/ inline CreateClientVpnEndpointResponse& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;} /** *

The DNS name to be used by clients when establishing their VPN session.

*/ inline CreateClientVpnEndpointResponse& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;} /** *

The DNS name to be used by clients when establishing their VPN session.

*/ inline CreateClientVpnEndpointResponse& WithDnsName(const char* value) { SetDnsName(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 CreateClientVpnEndpointResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateClientVpnEndpointResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_clientVpnEndpointId; ClientVpnEndpointStatus m_status; Aws::String m_dnsName; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws