AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RetentionArchiveTier.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
41 {
42 public:
43 AWS_DLM_API RetentionArchiveTier() = default;
47
48
50
57 inline int GetCount() const { return m_count; }
58 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
59 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
60 inline RetentionArchiveTier& WithCount(int value) { SetCount(value); return *this;}
62
64
68 inline int GetInterval() const { return m_interval; }
69 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
70 inline void SetInterval(int value) { m_intervalHasBeenSet = true; m_interval = value; }
71 inline RetentionArchiveTier& WithInterval(int value) { SetInterval(value); return *this;}
73
75
80 inline RetentionIntervalUnitValues GetIntervalUnit() const { return m_intervalUnit; }
81 inline bool IntervalUnitHasBeenSet() const { return m_intervalUnitHasBeenSet; }
82 inline void SetIntervalUnit(RetentionIntervalUnitValues value) { m_intervalUnitHasBeenSet = true; m_intervalUnit = value; }
85 private:
86
87 int m_count{0};
88 bool m_countHasBeenSet = false;
89
90 int m_interval{0};
91 bool m_intervalHasBeenSet = false;
92
94 bool m_intervalUnitHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace DLM
99} // namespace Aws
void SetIntervalUnit(RetentionIntervalUnitValues value)
AWS_DLM_API RetentionArchiveTier()=default
RetentionArchiveTier & WithInterval(int value)
RetentionArchiveTier & WithCount(int value)
RetentionIntervalUnitValues GetIntervalUnit() const
AWS_DLM_API RetentionArchiveTier(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API RetentionArchiveTier & operator=(Aws::Utils::Json::JsonView jsonValue)
RetentionArchiveTier & WithIntervalUnit(RetentionIntervalUnitValues value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue