/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace OpenSearchService { namespace Model { /** */ class DeleteVpcEndpointRequest : public OpenSearchServiceRequest { public: AWS_OPENSEARCHSERVICE_API DeleteVpcEndpointRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteVpcEndpoint"; } AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override; /** *

The unique identifier of the endpoint.

*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *

The unique identifier of the endpoint.

*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *

The unique identifier of the endpoint.

*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *

The unique identifier of the endpoint.

*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *

The unique identifier of the endpoint.

*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *

The unique identifier of the endpoint.

*/ inline DeleteVpcEndpointRequest& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *

The unique identifier of the endpoint.

*/ inline DeleteVpcEndpointRequest& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *

The unique identifier of the endpoint.

*/ inline DeleteVpcEndpointRequest& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} private: Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws