AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ArchiveRule.h
1
6#pragma once
7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/ArchiveRetainRule.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 ArchiveRule();
39
40
42
45 inline const ArchiveRetainRule& GetRetainRule() const{ return m_retainRule; }
46 inline bool RetainRuleHasBeenSet() const { return m_retainRuleHasBeenSet; }
47 inline void SetRetainRule(const ArchiveRetainRule& value) { m_retainRuleHasBeenSet = true; m_retainRule = value; }
48 inline void SetRetainRule(ArchiveRetainRule&& value) { m_retainRuleHasBeenSet = true; m_retainRule = std::move(value); }
49 inline ArchiveRule& WithRetainRule(const ArchiveRetainRule& value) { SetRetainRule(value); return *this;}
50 inline ArchiveRule& WithRetainRule(ArchiveRetainRule&& value) { SetRetainRule(std::move(value)); return *this;}
52 private:
53
54 ArchiveRetainRule m_retainRule;
55 bool m_retainRuleHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace DLM
60} // namespace Aws
AWS_DLM_API ArchiveRule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RetainRuleHasBeenSet() const
Definition ArchiveRule.h:46
void SetRetainRule(const ArchiveRetainRule &value)
Definition ArchiveRule.h:47
ArchiveRule & WithRetainRule(ArchiveRetainRule &&value)
Definition ArchiveRule.h:50
const ArchiveRetainRule & GetRetainRule() const
Definition ArchiveRule.h:45
AWS_DLM_API ArchiveRule(Aws::Utils::Json::JsonView jsonValue)
void SetRetainRule(ArchiveRetainRule &&value)
Definition ArchiveRule.h:48
ArchiveRule & WithRetainRule(const ArchiveRetainRule &value)
Definition ArchiveRule.h:49
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue