/** * 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 { namespace GlobalAccelerator { namespace Model { /** */ class RemoveCustomRoutingEndpointsRequest : public GlobalAcceleratorRequest { public: AWS_GLOBALACCELERATOR_API RemoveCustomRoutingEndpointsRequest(); // 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 "RemoveCustomRoutingEndpoints"; } AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override; AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline const Aws::Vector& GetEndpointIds() const{ return m_endpointIds; } /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline bool EndpointIdsHasBeenSet() const { return m_endpointIdsHasBeenSet; } /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline void SetEndpointIds(const Aws::Vector& value) { m_endpointIdsHasBeenSet = true; m_endpointIds = value; } /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline void SetEndpointIds(Aws::Vector&& value) { m_endpointIdsHasBeenSet = true; m_endpointIds = std::move(value); } /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline RemoveCustomRoutingEndpointsRequest& WithEndpointIds(const Aws::Vector& value) { SetEndpointIds(value); return *this;} /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline RemoveCustomRoutingEndpointsRequest& WithEndpointIds(Aws::Vector&& value) { SetEndpointIds(std::move(value)); return *this;} /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline RemoveCustomRoutingEndpointsRequest& AddEndpointIds(const Aws::String& value) { m_endpointIdsHasBeenSet = true; m_endpointIds.push_back(value); return *this; } /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline RemoveCustomRoutingEndpointsRequest& AddEndpointIds(Aws::String&& value) { m_endpointIdsHasBeenSet = true; m_endpointIds.push_back(std::move(value)); return *this; } /** *

The IDs for the endpoints. For custom routing accelerators, endpoint IDs are * the virtual private cloud (VPC) subnet IDs.

*/ inline RemoveCustomRoutingEndpointsRequest& AddEndpointIds(const char* value) { m_endpointIdsHasBeenSet = true; m_endpointIds.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints * from.

*/ inline const Aws::String& GetEndpointGroupArn() const{ return m_endpointGroupArn; } /** *

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints * from.

*/ inline bool EndpointGroupArnHasBeenSet() const { return m_endpointGroupArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints * from.

*/ inline void SetEndpointGroupArn(const Aws::String& value) { m_endpointGroupArnHasBeenSet = true; m_endpointGroupArn = value; } /** *

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints * from.

*/ inline void SetEndpointGroupArn(Aws::String&& value) { m_endpointGroupArnHasBeenSet = true; m_endpointGroupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints * from.

*/ inline void SetEndpointGroupArn(const char* value) { m_endpointGroupArnHasBeenSet = true; m_endpointGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints * from.

*/ inline RemoveCustomRoutingEndpointsRequest& WithEndpointGroupArn(const Aws::String& value) { SetEndpointGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints * from.

*/ inline RemoveCustomRoutingEndpointsRequest& WithEndpointGroupArn(Aws::String&& value) { SetEndpointGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints * from.

*/ inline RemoveCustomRoutingEndpointsRequest& WithEndpointGroupArn(const char* value) { SetEndpointGroupArn(value); return *this;} private: Aws::Vector m_endpointIds; bool m_endpointIdsHasBeenSet = false; Aws::String m_endpointGroupArn; bool m_endpointGroupArnHasBeenSet = false; }; } // namespace Model } // namespace GlobalAccelerator } // namespace Aws