AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CrossRegionCopyDeprecateRule.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
33 {
34 public:
39
40
42
48 inline int GetInterval() const{ return m_interval; }
49 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
50 inline void SetInterval(int value) { m_intervalHasBeenSet = true; m_interval = value; }
51 inline CrossRegionCopyDeprecateRule& WithInterval(int value) { SetInterval(value); return *this;}
53
55
60 inline const RetentionIntervalUnitValues& GetIntervalUnit() const{ return m_intervalUnit; }
61 inline bool IntervalUnitHasBeenSet() const { return m_intervalUnitHasBeenSet; }
62 inline void SetIntervalUnit(const RetentionIntervalUnitValues& value) { m_intervalUnitHasBeenSet = true; m_intervalUnit = value; }
63 inline void SetIntervalUnit(RetentionIntervalUnitValues&& value) { m_intervalUnitHasBeenSet = true; m_intervalUnit = std::move(value); }
67 private:
68
69 int m_interval;
70 bool m_intervalHasBeenSet = false;
71
72 RetentionIntervalUnitValues m_intervalUnit;
73 bool m_intervalUnitHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DLM
78} // namespace Aws
CrossRegionCopyDeprecateRule & WithIntervalUnit(const RetentionIntervalUnitValues &value)
const RetentionIntervalUnitValues & GetIntervalUnit() const
void SetIntervalUnit(const RetentionIntervalUnitValues &value)
CrossRegionCopyDeprecateRule & WithIntervalUnit(RetentionIntervalUnitValues &&value)
AWS_DLM_API CrossRegionCopyDeprecateRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API CrossRegionCopyDeprecateRule(Aws::Utils::Json::JsonView jsonValue)
CrossRegionCopyDeprecateRule & WithInterval(int value)
void SetIntervalUnit(RetentionIntervalUnitValues &&value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue