/** * 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 IoTAnalytics { namespace Model { /** *

Statistics information about the channel.

See Also:

AWS * API Reference

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

The estimated size of the channel.

*/ inline const EstimatedResourceSize& GetSize() const{ return m_size; } /** *

The estimated size of the channel.

*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *

The estimated size of the channel.

*/ inline void SetSize(const EstimatedResourceSize& value) { m_sizeHasBeenSet = true; m_size = value; } /** *

The estimated size of the channel.

*/ inline void SetSize(EstimatedResourceSize&& value) { m_sizeHasBeenSet = true; m_size = std::move(value); } /** *

The estimated size of the channel.

*/ inline ChannelStatistics& WithSize(const EstimatedResourceSize& value) { SetSize(value); return *this;} /** *

The estimated size of the channel.

*/ inline ChannelStatistics& WithSize(EstimatedResourceSize&& value) { SetSize(std::move(value)); return *this;} private: EstimatedResourceSize m_size; bool m_sizeHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws