AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ArchiveRetention.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/RetentionPeriod.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 MailManager
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MAILMANAGER_API ArchiveRetention() = default;
36 AWS_MAILMANAGER_API ArchiveRetention(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAILMANAGER_API ArchiveRetention& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline RetentionPeriod GetRetentionPeriod() const { return m_retentionPeriod; }
46 inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
47 inline void SetRetentionPeriod(RetentionPeriod value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
50 private:
51
53 bool m_retentionPeriodHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace MailManager
58} // namespace Aws
AWS_MAILMANAGER_API ArchiveRetention()=default
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAILMANAGER_API ArchiveRetention(Aws::Utils::Json::JsonView jsonValue)
ArchiveRetention & WithRetentionPeriod(RetentionPeriod value)
AWS_MAILMANAGER_API ArchiveRetention & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRetentionPeriod(RetentionPeriod value)
Aws::Utils::Json::JsonValue JsonValue