AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ArchiveRetainRule.h
1
6#pragma once
7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/RetentionArchiveTier.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:
35 AWS_DLM_API ArchiveRetainRule();
39
40
42
48 inline const RetentionArchiveTier& GetRetentionArchiveTier() const{ return m_retentionArchiveTier; }
49 inline bool RetentionArchiveTierHasBeenSet() const { return m_retentionArchiveTierHasBeenSet; }
50 inline void SetRetentionArchiveTier(const RetentionArchiveTier& value) { m_retentionArchiveTierHasBeenSet = true; m_retentionArchiveTier = value; }
51 inline void SetRetentionArchiveTier(RetentionArchiveTier&& value) { m_retentionArchiveTierHasBeenSet = true; m_retentionArchiveTier = std::move(value); }
55 private:
56
57 RetentionArchiveTier m_retentionArchiveTier;
58 bool m_retentionArchiveTierHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace DLM
63} // namespace Aws
AWS_DLM_API ArchiveRetainRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRetentionArchiveTier(RetentionArchiveTier &&value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRetentionArchiveTier(const RetentionArchiveTier &value)
ArchiveRetainRule & WithRetentionArchiveTier(RetentionArchiveTier &&value)
ArchiveRetainRule & WithRetentionArchiveTier(const RetentionArchiveTier &value)
AWS_DLM_API ArchiveRetainRule(Aws::Utils::Json::JsonView jsonValue)
const RetentionArchiveTier & GetRetentionArchiveTier() const
Aws::Utils::Json::JsonValue JsonValue