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

Information about the deleted endpoint, including its current status * (DELETING or DELETE_FAILED).

*/ inline const VpcEndpointSummary& GetVpcEndpointSummary() const{ return m_vpcEndpointSummary; } /** *

Information about the deleted endpoint, including its current status * (DELETING or DELETE_FAILED).

*/ inline void SetVpcEndpointSummary(const VpcEndpointSummary& value) { m_vpcEndpointSummary = value; } /** *

Information about the deleted endpoint, including its current status * (DELETING or DELETE_FAILED).

*/ inline void SetVpcEndpointSummary(VpcEndpointSummary&& value) { m_vpcEndpointSummary = std::move(value); } /** *

Information about the deleted endpoint, including its current status * (DELETING or DELETE_FAILED).

*/ inline DeleteVpcEndpointResult& WithVpcEndpointSummary(const VpcEndpointSummary& value) { SetVpcEndpointSummary(value); return *this;} /** *

Information about the deleted endpoint, including its current status * (DELETING or DELETE_FAILED).

*/ inline DeleteVpcEndpointResult& WithVpcEndpointSummary(VpcEndpointSummary&& value) { SetVpcEndpointSummary(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteVpcEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteVpcEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteVpcEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: VpcEndpointSummary m_vpcEndpointSummary; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws