AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeprecateRule.h
1
6#pragma once
7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/RetentionIntervalUnitValues.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 DLM
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_DLM_API DeprecateRule() = default;
41
42
44
49 inline int GetCount() const { return m_count; }
50 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
51 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
52 inline DeprecateRule& WithCount(int value) { SetCount(value); return *this;}
54
56
62 inline int GetInterval() const { return m_interval; }
63 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
64 inline void SetInterval(int value) { m_intervalHasBeenSet = true; m_interval = value; }
65 inline DeprecateRule& WithInterval(int value) { SetInterval(value); return *this;}
67
69
72 inline RetentionIntervalUnitValues GetIntervalUnit() const { return m_intervalUnit; }
73 inline bool IntervalUnitHasBeenSet() const { return m_intervalUnitHasBeenSet; }
74 inline void SetIntervalUnit(RetentionIntervalUnitValues value) { m_intervalUnitHasBeenSet = true; m_intervalUnit = value; }
77 private:
78
79 int m_count{0};
80 bool m_countHasBeenSet = false;
81
82 int m_interval{0};
83 bool m_intervalHasBeenSet = false;
84
86 bool m_intervalUnitHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DLM
91} // namespace Aws
DeprecateRule & WithIntervalUnit(RetentionIntervalUnitValues value)
AWS_DLM_API DeprecateRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIntervalUnit(RetentionIntervalUnitValues value)
DeprecateRule & WithInterval(int value)
AWS_DLM_API DeprecateRule()=default
RetentionIntervalUnitValues GetIntervalUnit() const
AWS_DLM_API DeprecateRule(Aws::Utils::Json::JsonView jsonValue)
DeprecateRule & WithCount(int value)
Aws::Utils::Json::JsonValue JsonValue