/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace GlobalAccelerator { namespace Model { /** */ class RemoveEndpointsRequest : public GlobalAcceleratorRequest { public: AWS_GLOBALACCELERATOR_API RemoveEndpointsRequest(); // 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 "RemoveEndpoints"; } AWS_GLOBALACCELERATOR_API Aws::String SerializePayload() const override; AWS_GLOBALACCELERATOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifiers of the endpoints that you want to remove.

*/ inline const Aws::Vector& GetEndpointIdentifiers() const{ return m_endpointIdentifiers; } /** *

The identifiers of the endpoints that you want to remove.

*/ inline bool EndpointIdentifiersHasBeenSet() const { return m_endpointIdentifiersHasBeenSet; } /** *

The identifiers of the endpoints that you want to remove.

*/ inline void SetEndpointIdentifiers(const Aws::Vector& value) { m_endpointIdentifiersHasBeenSet = true; m_endpointIdentifiers = value; } /** *

The identifiers of the endpoints that you want to remove.

*/ inline void SetEndpointIdentifiers(Aws::Vector&& value) { m_endpointIdentifiersHasBeenSet = true; m_endpointIdentifiers = std::move(value); } /** *

The identifiers of the endpoints that you want to remove.

*/ inline RemoveEndpointsRequest& WithEndpointIdentifiers(const Aws::Vector& value) { SetEndpointIdentifiers(value); return *this;} /** *

The identifiers of the endpoints that you want to remove.

*/ inline RemoveEndpointsRequest& WithEndpointIdentifiers(Aws::Vector&& value) { SetEndpointIdentifiers(std::move(value)); return *this;} /** *

The identifiers of the endpoints that you want to remove.

*/ inline RemoveEndpointsRequest& AddEndpointIdentifiers(const EndpointIdentifier& value) { m_endpointIdentifiersHasBeenSet = true; m_endpointIdentifiers.push_back(value); return *this; } /** *

The identifiers of the endpoints that you want to remove.

*/ inline RemoveEndpointsRequest& AddEndpointIdentifiers(EndpointIdentifier&& value) { m_endpointIdentifiersHasBeenSet = true; m_endpointIdentifiers.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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