/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53RecoveryControlConfig { namespace Model { class CreateControlPanelResult { public: AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateControlPanelResult(); AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateControlPanelResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateControlPanelResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about a control panel.

*/ inline const ControlPanel& GetControlPanel() const{ return m_controlPanel; } /** *

Information about a control panel.

*/ inline void SetControlPanel(const ControlPanel& value) { m_controlPanel = value; } /** *

Information about a control panel.

*/ inline void SetControlPanel(ControlPanel&& value) { m_controlPanel = std::move(value); } /** *

Information about a control panel.

*/ inline CreateControlPanelResult& WithControlPanel(const ControlPanel& value) { SetControlPanel(value); return *this;} /** *

Information about a control panel.

*/ inline CreateControlPanelResult& WithControlPanel(ControlPanel&& value) { SetControlPanel(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateControlPanelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateControlPanelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateControlPanelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ControlPanel m_controlPanel; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryControlConfig } // namespace Aws