AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StorageMinimumTimeToLive.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/model/StorageMinimumTimeToLiveUnit.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 StorageMinimumTimeToLive() = default;
42 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline StorageMinimumTimeToLiveUnit GetUnit() const { return m_unit; }
50 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
51 inline void SetUnit(StorageMinimumTimeToLiveUnit value) { m_unitHasBeenSet = true; m_unit = value; }
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 StorageMinimumTimeToLive& 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
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
StorageMinimumTimeToLive & WithUnit(StorageMinimumTimeToLiveUnit value)
void SetUnit(StorageMinimumTimeToLiveUnit value)
AWS_IOTFLEETWISE_API StorageMinimumTimeToLive & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API StorageMinimumTimeToLive()=default
AWS_IOTFLEETWISE_API StorageMinimumTimeToLive(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue