/** * 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 CloudWatchRUM { namespace Model { class GetAppMonitorResult { public: AWS_CLOUDWATCHRUM_API GetAppMonitorResult(); AWS_CLOUDWATCHRUM_API GetAppMonitorResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDWATCHRUM_API GetAppMonitorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A structure containing all the configuration information for the app * monitor.

*/ inline const AppMonitor& GetAppMonitor() const{ return m_appMonitor; } /** *

A structure containing all the configuration information for the app * monitor.

*/ inline void SetAppMonitor(const AppMonitor& value) { m_appMonitor = value; } /** *

A structure containing all the configuration information for the app * monitor.

*/ inline void SetAppMonitor(AppMonitor&& value) { m_appMonitor = std::move(value); } /** *

A structure containing all the configuration information for the app * monitor.

*/ inline GetAppMonitorResult& WithAppMonitor(const AppMonitor& value) { SetAppMonitor(value); return *this;} /** *

A structure containing all the configuration information for the app * monitor.

*/ inline GetAppMonitorResult& WithAppMonitor(AppMonitor&& value) { SetAppMonitor(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 GetAppMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAppMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAppMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AppMonitor m_appMonitor; Aws::String m_requestId; }; } // namespace Model } // namespace CloudWatchRUM } // namespace Aws