/** * 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 Http { class URI; } //namespace Http namespace S3Outposts { namespace Model { /** */ class DeleteEndpointRequest : public S3OutpostsRequest { public: AWS_S3OUTPOSTS_API DeleteEndpointRequest(); // 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 "DeleteEndpoint"; } AWS_S3OUTPOSTS_API Aws::String SerializePayload() const override; AWS_S3OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the endpoint.

*/ inline const Aws::String& GetEndpointId() const{ return m_endpointId; } /** *

The ID of the endpoint.

*/ inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; } /** *

The ID of the endpoint.

*/ inline void SetEndpointId(const Aws::String& value) { m_endpointIdHasBeenSet = true; m_endpointId = value; } /** *

The ID of the endpoint.

*/ inline void SetEndpointId(Aws::String&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::move(value); } /** *

The ID of the endpoint.

*/ inline void SetEndpointId(const char* value) { m_endpointIdHasBeenSet = true; m_endpointId.assign(value); } /** *

The ID of the endpoint.

*/ inline DeleteEndpointRequest& WithEndpointId(const Aws::String& value) { SetEndpointId(value); return *this;} /** *

The ID of the endpoint.

*/ inline DeleteEndpointRequest& WithEndpointId(Aws::String&& value) { SetEndpointId(std::move(value)); return *this;} /** *

The ID of the endpoint.

*/ inline DeleteEndpointRequest& WithEndpointId(const char* value) { SetEndpointId(value); return *this;} /** *

The ID of the Outposts.

*/ inline const Aws::String& GetOutpostId() const{ return m_outpostId; } /** *

The ID of the Outposts.

*/ inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; } /** *

The ID of the Outposts.

*/ inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; } /** *

The ID of the Outposts.

*/ inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); } /** *

The ID of the Outposts.

*/ inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); } /** *

The ID of the Outposts.

*/ inline DeleteEndpointRequest& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;} /** *

The ID of the Outposts.

*/ inline DeleteEndpointRequest& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;} /** *

The ID of the Outposts.

*/ inline DeleteEndpointRequest& WithOutpostId(const char* value) { SetOutpostId(value); return *this;} private: Aws::String m_endpointId; bool m_endpointIdHasBeenSet = false; Aws::String m_outpostId; bool m_outpostIdHasBeenSet = false; }; } // namespace Model } // namespace S3Outposts } // namespace Aws