AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StorageMaximumSize.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/model/StorageMaximumSizeUnit.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 IoTFleetWise
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_IOTFLEETWISE_API StorageMaximumSize() = default;
40 AWS_IOTFLEETWISE_API StorageMaximumSize(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline StorageMaximumSizeUnit GetUnit() const { return m_unit; }
50 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
51 inline void SetUnit(StorageMaximumSizeUnit value) { m_unitHasBeenSet = true; m_unit = value; }
52 inline StorageMaximumSize& WithUnit(StorageMaximumSizeUnit value) { SetUnit(value); return *this;}
54
56
59 inline int GetValue() const { return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
62 inline StorageMaximumSize& WithValue(int value) { SetValue(value); return *this;}
64 private:
65
67 bool m_unitHasBeenSet = false;
68
69 int m_value{0};
70 bool m_valueHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoTFleetWise
75} // namespace Aws
StorageMaximumSize & WithValue(int value)
AWS_IOTFLEETWISE_API StorageMaximumSize()=default
StorageMaximumSize & WithUnit(StorageMaximumSizeUnit value)
void SetUnit(StorageMaximumSizeUnit value)
AWS_IOTFLEETWISE_API StorageMaximumSize(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API StorageMaximumSize & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue