/** * 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 control panel that you're updating.

See * Also:

AWS * API Reference

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

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

*/ inline const Aws::String& GetControlPanelArn() const{ return m_controlPanelArn; } /** *

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

*/ inline bool ControlPanelArnHasBeenSet() const { return m_controlPanelArnHasBeenSet; } /** *

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

*/ inline void SetControlPanelArn(const Aws::String& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = value; } /** *

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

*/ inline void SetControlPanelArn(Aws::String&& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = std::move(value); } /** *

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

*/ inline void SetControlPanelArn(const char* value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn.assign(value); } /** *

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

*/ inline UpdateControlPanelRequest& WithControlPanelArn(const Aws::String& value) { SetControlPanelArn(value); return *this;} /** *

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

*/ inline UpdateControlPanelRequest& WithControlPanelArn(Aws::String&& value) { SetControlPanelArn(std::move(value)); return *this;} /** *

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

*/ inline UpdateControlPanelRequest& WithControlPanelArn(const char* value) { SetControlPanelArn(value); return *this;} /** *

The name of the control panel.

*/ inline const Aws::String& GetControlPanelName() const{ return m_controlPanelName; } /** *

The name of the control panel.

*/ inline bool ControlPanelNameHasBeenSet() const { return m_controlPanelNameHasBeenSet; } /** *

The name of the control panel.

*/ inline void SetControlPanelName(const Aws::String& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = value; } /** *

The name of the control panel.

*/ inline void SetControlPanelName(Aws::String&& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = std::move(value); } /** *

The name of the control panel.

*/ inline void SetControlPanelName(const char* value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName.assign(value); } /** *

The name of the control panel.

*/ inline UpdateControlPanelRequest& WithControlPanelName(const Aws::String& value) { SetControlPanelName(value); return *this;} /** *

The name of the control panel.

*/ inline UpdateControlPanelRequest& WithControlPanelName(Aws::String&& value) { SetControlPanelName(std::move(value)); return *this;} /** *

The name of the control panel.

*/ inline UpdateControlPanelRequest& WithControlPanelName(const char* value) { SetControlPanelName(value); return *this;} private: Aws::String m_controlPanelArn; bool m_controlPanelArnHasBeenSet = false; Aws::String m_controlPanelName; bool m_controlPanelNameHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryControlConfig } // namespace Aws