/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudWatchRUM { namespace Model { /** *

A structure that contains information about whether this app monitor stores a * copy of the telemetry data that RUM collects using CloudWatch * Logs.

See Also:

AWS API * Reference

*/ class DataStorage { public: AWS_CLOUDWATCHRUM_API DataStorage(); AWS_CLOUDWATCHRUM_API DataStorage(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHRUM_API DataStorage& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDWATCHRUM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A structure that contains the information about whether the app monitor * stores copies of the data that RUM collects in CloudWatch Logs. If it does, this * structure also contains the name of the log group.

*/ inline const CwLog& GetCwLog() const{ return m_cwLog; } /** *

A structure that contains the information about whether the app monitor * stores copies of the data that RUM collects in CloudWatch Logs. If it does, this * structure also contains the name of the log group.

*/ inline bool CwLogHasBeenSet() const { return m_cwLogHasBeenSet; } /** *

A structure that contains the information about whether the app monitor * stores copies of the data that RUM collects in CloudWatch Logs. If it does, this * structure also contains the name of the log group.

*/ inline void SetCwLog(const CwLog& value) { m_cwLogHasBeenSet = true; m_cwLog = value; } /** *

A structure that contains the information about whether the app monitor * stores copies of the data that RUM collects in CloudWatch Logs. If it does, this * structure also contains the name of the log group.

*/ inline void SetCwLog(CwLog&& value) { m_cwLogHasBeenSet = true; m_cwLog = std::move(value); } /** *

A structure that contains the information about whether the app monitor * stores copies of the data that RUM collects in CloudWatch Logs. If it does, this * structure also contains the name of the log group.

*/ inline DataStorage& WithCwLog(const CwLog& value) { SetCwLog(value); return *this;} /** *

A structure that contains the information about whether the app monitor * stores copies of the data that RUM collects in CloudWatch Logs. If it does, this * structure also contains the name of the log group.

*/ inline DataStorage& WithCwLog(CwLog&& value) { SetCwLog(std::move(value)); return *this;} private: CwLog m_cwLog; bool m_cwLogHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchRUM } // namespace Aws