/** * 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 EMRContainers { namespace Model { /** */ class DeleteManagedEndpointRequest : public EMRContainersRequest { public: AWS_EMRCONTAINERS_API DeleteManagedEndpointRequest(); // 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 "DeleteManagedEndpoint"; } AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override; /** *

The ID of the managed endpoint.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the managed endpoint.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the managed endpoint.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the managed endpoint.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the managed endpoint.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the managed endpoint.

*/ inline DeleteManagedEndpointRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the managed endpoint.

*/ inline DeleteManagedEndpointRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the managed endpoint.

*/ inline DeleteManagedEndpointRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The ID of the endpoint's virtual cluster.

*/ inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; } /** *

The ID of the endpoint's virtual cluster.

*/ inline bool VirtualClusterIdHasBeenSet() const { return m_virtualClusterIdHasBeenSet; } /** *

The ID of the endpoint's virtual cluster.

*/ inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = value; } /** *

The ID of the endpoint's virtual cluster.

*/ inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = std::move(value); } /** *

The ID of the endpoint's virtual cluster.

*/ inline void SetVirtualClusterId(const char* value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId.assign(value); } /** *

The ID of the endpoint's virtual cluster.

*/ inline DeleteManagedEndpointRequest& WithVirtualClusterId(const Aws::String& value) { SetVirtualClusterId(value); return *this;} /** *

The ID of the endpoint's virtual cluster.

*/ inline DeleteManagedEndpointRequest& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;} /** *

The ID of the endpoint's virtual cluster.

*/ inline DeleteManagedEndpointRequest& WithVirtualClusterId(const char* value) { SetVirtualClusterId(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_virtualClusterId; bool m_virtualClusterIdHasBeenSet = false; }; } // namespace Model } // namespace EMRContainers } // namespace Aws