79 lines
2.0 KiB
C++
79 lines
2.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
|
|
#include <aws/iotanalytics/model/EstimatedResourceSize.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace IoTAnalytics
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Statistics information about the channel.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ChannelStatistics">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_IOTANALYTICS_API ChannelStatistics
|
|
{
|
|
public:
|
|
ChannelStatistics();
|
|
ChannelStatistics(Aws::Utils::Json::JsonView jsonValue);
|
|
ChannelStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The estimated size of the channel.</p>
|
|
*/
|
|
inline const EstimatedResourceSize& GetSize() const{ return m_size; }
|
|
|
|
/**
|
|
* <p>The estimated size of the channel.</p>
|
|
*/
|
|
inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The estimated size of the channel.</p>
|
|
*/
|
|
inline void SetSize(const EstimatedResourceSize& value) { m_sizeHasBeenSet = true; m_size = value; }
|
|
|
|
/**
|
|
* <p>The estimated size of the channel.</p>
|
|
*/
|
|
inline void SetSize(EstimatedResourceSize&& value) { m_sizeHasBeenSet = true; m_size = std::move(value); }
|
|
|
|
/**
|
|
* <p>The estimated size of the channel.</p>
|
|
*/
|
|
inline ChannelStatistics& WithSize(const EstimatedResourceSize& value) { SetSize(value); return *this;}
|
|
|
|
/**
|
|
* <p>The estimated size of the channel.</p>
|
|
*/
|
|
inline ChannelStatistics& WithSize(EstimatedResourceSize&& value) { SetSize(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
EstimatedResourceSize m_size;
|
|
bool m_sizeHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace IoTAnalytics
|
|
} // namespace Aws
|