AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChannelStatistics.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/EstimatedResourceSize.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTAnalytics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTANALYTICS_API ChannelStatistics();
35 AWS_IOTANALYTICS_API ChannelStatistics(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTANALYTICS_API ChannelStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const EstimatedResourceSize& GetSize() const{ return m_size; }
45 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
46 inline void SetSize(const EstimatedResourceSize& value) { m_sizeHasBeenSet = true; m_size = value; }
47 inline void SetSize(EstimatedResourceSize&& value) { m_sizeHasBeenSet = true; m_size = std::move(value); }
48 inline ChannelStatistics& WithSize(const EstimatedResourceSize& value) { SetSize(value); return *this;}
49 inline ChannelStatistics& WithSize(EstimatedResourceSize&& value) { SetSize(std::move(value)); return *this;}
51 private:
52
54 bool m_sizeHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace IoTAnalytics
59} // namespace Aws
void SetSize(EstimatedResourceSize &&value)
void SetSize(const EstimatedResourceSize &value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API ChannelStatistics(Aws::Utils::Json::JsonView jsonValue)
const EstimatedResourceSize & GetSize() const
ChannelStatistics & WithSize(EstimatedResourceSize &&value)
AWS_IOTANALYTICS_API ChannelStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelStatistics & WithSize(const EstimatedResourceSize &value)
Aws::Utils::Json::JsonValue JsonValue