/** * 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 Route53RecoveryControlConfig { namespace Model { /** */ class DeleteRoutingControlRequest : public Route53RecoveryControlConfigRequest { public: AWS_ROUTE53RECOVERYCONTROLCONFIG_API DeleteRoutingControlRequest(); // 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 "DeleteRoutingControl"; } AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the routing control that you're * deleting.

*/ inline const Aws::String& GetRoutingControlArn() const{ return m_routingControlArn; } /** *

The Amazon Resource Name (ARN) of the routing control that you're * deleting.

*/ inline bool RoutingControlArnHasBeenSet() const { return m_routingControlArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the routing control that you're * deleting.

*/ inline void SetRoutingControlArn(const Aws::String& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = value; } /** *

The Amazon Resource Name (ARN) of the routing control that you're * deleting.

*/ inline void SetRoutingControlArn(Aws::String&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the routing control that you're * deleting.

*/ inline void SetRoutingControlArn(const char* value) { m_routingControlArnHasBeenSet = true; m_routingControlArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the routing control that you're * deleting.

*/ inline DeleteRoutingControlRequest& WithRoutingControlArn(const Aws::String& value) { SetRoutingControlArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the routing control that you're * deleting.

*/ inline DeleteRoutingControlRequest& WithRoutingControlArn(Aws::String&& value) { SetRoutingControlArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the routing control that you're * deleting.

*/ inline DeleteRoutingControlRequest& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;} private: Aws::String m_routingControlArn; bool m_routingControlArnHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryControlConfig } // namespace Aws