/** * 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 { /** *

The details of the routing control that you're updating.

See * Also:

AWS * API Reference

*/ class UpdateRoutingControlRequest : public Route53RecoveryControlConfigRequest { public: AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateRoutingControlRequest(); // 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 "UpdateRoutingControl"; } AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the routing control.

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

The Amazon Resource Name (ARN) of the routing control.

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

The Amazon Resource Name (ARN) of the routing control.

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

The Amazon Resource Name (ARN) of the routing control.

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

The Amazon Resource Name (ARN) of the routing control.

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

The Amazon Resource Name (ARN) of the routing control.

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

The Amazon Resource Name (ARN) of the routing control.

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

The Amazon Resource Name (ARN) of the routing control.

*/ inline UpdateRoutingControlRequest& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;} /** *

The name of the routing control.

*/ inline const Aws::String& GetRoutingControlName() const{ return m_routingControlName; } /** *

The name of the routing control.

*/ inline bool RoutingControlNameHasBeenSet() const { return m_routingControlNameHasBeenSet; } /** *

The name of the routing control.

*/ inline void SetRoutingControlName(const Aws::String& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = value; } /** *

The name of the routing control.

*/ inline void SetRoutingControlName(Aws::String&& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = std::move(value); } /** *

The name of the routing control.

*/ inline void SetRoutingControlName(const char* value) { m_routingControlNameHasBeenSet = true; m_routingControlName.assign(value); } /** *

The name of the routing control.

*/ inline UpdateRoutingControlRequest& WithRoutingControlName(const Aws::String& value) { SetRoutingControlName(value); return *this;} /** *

The name of the routing control.

*/ inline UpdateRoutingControlRequest& WithRoutingControlName(Aws::String&& value) { SetRoutingControlName(std::move(value)); return *this;} /** *

The name of the routing control.

*/ inline UpdateRoutingControlRequest& WithRoutingControlName(const char* value) { SetRoutingControlName(value); return *this;} private: Aws::String m_routingControlArn; bool m_routingControlArnHasBeenSet = false; Aws::String m_routingControlName; bool m_routingControlNameHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryControlConfig } // namespace Aws