/** * 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 DisassociateClientVpnTargetNetworkResponse { public: AWS_EC2_API DisassociateClientVpnTargetNetworkResponse(); AWS_EC2_API DisassociateClientVpnTargetNetworkResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API DisassociateClientVpnTargetNetworkResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the target network association.

*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** *

The ID of the target network association.

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

The ID of the target network association.

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

The ID of the target network association.

*/ inline void SetAssociationId(const char* value) { m_associationId.assign(value); } /** *

The ID of the target network association.

*/ inline DisassociateClientVpnTargetNetworkResponse& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *

The ID of the target network association.

*/ inline DisassociateClientVpnTargetNetworkResponse& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *

The ID of the target network association.

*/ inline DisassociateClientVpnTargetNetworkResponse& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *

The current state of the target network association.

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

The current state of the target network association.

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

The current state of the target network association.

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

The current state of the target network association.

*/ inline DisassociateClientVpnTargetNetworkResponse& WithStatus(const AssociationStatus& value) { SetStatus(value); return *this;} /** *

The current state of the target network association.

*/ inline DisassociateClientVpnTargetNetworkResponse& WithStatus(AssociationStatus&& value) { SetStatus(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 DisassociateClientVpnTargetNetworkResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DisassociateClientVpnTargetNetworkResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_associationId; AssociationStatus m_status; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws