AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WarmTierRetentionPeriod.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTSiteWise
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_IOTSITEWISE_API WarmTierRetentionPeriod();
37 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetNumberOfDays() const{ return m_numberOfDays; }
45 inline bool NumberOfDaysHasBeenSet() const { return m_numberOfDaysHasBeenSet; }
46 inline void SetNumberOfDays(int value) { m_numberOfDaysHasBeenSet = true; m_numberOfDays = value; }
47 inline WarmTierRetentionPeriod& WithNumberOfDays(int value) { SetNumberOfDays(value); return *this;}
49
51
54 inline bool GetUnlimited() const{ return m_unlimited; }
55 inline bool UnlimitedHasBeenSet() const { return m_unlimitedHasBeenSet; }
56 inline void SetUnlimited(bool value) { m_unlimitedHasBeenSet = true; m_unlimited = value; }
57 inline WarmTierRetentionPeriod& WithUnlimited(bool value) { SetUnlimited(value); return *this;}
59 private:
60
61 int m_numberOfDays;
62 bool m_numberOfDaysHasBeenSet = false;
63
64 bool m_unlimited;
65 bool m_unlimitedHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace IoTSiteWise
70} // namespace Aws
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
WarmTierRetentionPeriod & WithNumberOfDays(int value)
WarmTierRetentionPeriod & WithUnlimited(bool value)
AWS_IOTSITEWISE_API WarmTierRetentionPeriod(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API WarmTierRetentionPeriod & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue