1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h> 8 #include <aws/route53-recovery-control-config/model/ControlPanel.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace Route53RecoveryControlConfig 24 { 25 namespace Model 26 { 27 class AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateControlPanelResult 28 { 29 public: 30 UpdateControlPanelResult(); 31 UpdateControlPanelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 UpdateControlPanelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The control panel to update.</p> 37 */ GetControlPanel()38 inline const ControlPanel& GetControlPanel() const{ return m_controlPanel; } 39 40 /** 41 * <p>The control panel to update.</p> 42 */ SetControlPanel(const ControlPanel & value)43 inline void SetControlPanel(const ControlPanel& value) { m_controlPanel = value; } 44 45 /** 46 * <p>The control panel to update.</p> 47 */ SetControlPanel(ControlPanel && value)48 inline void SetControlPanel(ControlPanel&& value) { m_controlPanel = std::move(value); } 49 50 /** 51 * <p>The control panel to update.</p> 52 */ WithControlPanel(const ControlPanel & value)53 inline UpdateControlPanelResult& WithControlPanel(const ControlPanel& value) { SetControlPanel(value); return *this;} 54 55 /** 56 * <p>The control panel to update.</p> 57 */ WithControlPanel(ControlPanel && value)58 inline UpdateControlPanelResult& WithControlPanel(ControlPanel&& value) { SetControlPanel(std::move(value)); return *this;} 59 60 private: 61 62 ControlPanel m_controlPanel; 63 }; 64 65 } // namespace Model 66 } // namespace Route53RecoveryControlConfig 67 } // namespace Aws 68