AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsBackupRecoveryPointLifecycleDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub
20{
21namespace Model
22{
23
32 {
33 public:
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline long long GetDeleteAfterDays() const{ return m_deleteAfterDays; }
46 inline bool DeleteAfterDaysHasBeenSet() const { return m_deleteAfterDaysHasBeenSet; }
47 inline void SetDeleteAfterDays(long long value) { m_deleteAfterDaysHasBeenSet = true; m_deleteAfterDays = value; }
48 inline AwsBackupRecoveryPointLifecycleDetails& WithDeleteAfterDays(long long value) { SetDeleteAfterDays(value); return *this;}
50
52
56 inline long long GetMoveToColdStorageAfterDays() const{ return m_moveToColdStorageAfterDays; }
57 inline bool MoveToColdStorageAfterDaysHasBeenSet() const { return m_moveToColdStorageAfterDaysHasBeenSet; }
58 inline void SetMoveToColdStorageAfterDays(long long value) { m_moveToColdStorageAfterDaysHasBeenSet = true; m_moveToColdStorageAfterDays = value; }
61 private:
62
63 long long m_deleteAfterDays;
64 bool m_deleteAfterDaysHasBeenSet = false;
65
66 long long m_moveToColdStorageAfterDays;
67 bool m_moveToColdStorageAfterDaysHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SecurityHub
72} // namespace Aws
AWS_SECURITYHUB_API AwsBackupRecoveryPointLifecycleDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsBackupRecoveryPointLifecycleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsBackupRecoveryPointLifecycleDetails & WithDeleteAfterDays(long long value)
AwsBackupRecoveryPointLifecycleDetails & WithMoveToColdStorageAfterDays(long long value)
Aws::Utils::Json::JsonValue JsonValue