AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculatedLifecycle.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 Backup
22{
23namespace Model
24{
25
44 {
45 public:
46 AWS_BACKUP_API CalculatedLifecycle();
49 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
57 inline const Aws::Utils::DateTime& GetMoveToColdStorageAt() const{ return m_moveToColdStorageAt; }
58 inline bool MoveToColdStorageAtHasBeenSet() const { return m_moveToColdStorageAtHasBeenSet; }
59 inline void SetMoveToColdStorageAt(const Aws::Utils::DateTime& value) { m_moveToColdStorageAtHasBeenSet = true; m_moveToColdStorageAt = value; }
60 inline void SetMoveToColdStorageAt(Aws::Utils::DateTime&& value) { m_moveToColdStorageAtHasBeenSet = true; m_moveToColdStorageAt = std::move(value); }
64
66
69 inline const Aws::Utils::DateTime& GetDeleteAt() const{ return m_deleteAt; }
70 inline bool DeleteAtHasBeenSet() const { return m_deleteAtHasBeenSet; }
71 inline void SetDeleteAt(const Aws::Utils::DateTime& value) { m_deleteAtHasBeenSet = true; m_deleteAt = value; }
72 inline void SetDeleteAt(Aws::Utils::DateTime&& value) { m_deleteAtHasBeenSet = true; m_deleteAt = std::move(value); }
73 inline CalculatedLifecycle& WithDeleteAt(const Aws::Utils::DateTime& value) { SetDeleteAt(value); return *this;}
74 inline CalculatedLifecycle& WithDeleteAt(Aws::Utils::DateTime&& value) { SetDeleteAt(std::move(value)); return *this;}
76 private:
77
78 Aws::Utils::DateTime m_moveToColdStorageAt;
79 bool m_moveToColdStorageAtHasBeenSet = false;
80
81 Aws::Utils::DateTime m_deleteAt;
82 bool m_deleteAtHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Backup
87} // namespace Aws
void SetDeleteAt(const Aws::Utils::DateTime &value)
AWS_BACKUP_API CalculatedLifecycle(Aws::Utils::Json::JsonView jsonValue)
CalculatedLifecycle & WithDeleteAt(Aws::Utils::DateTime &&value)
void SetMoveToColdStorageAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetMoveToColdStorageAt() const
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
CalculatedLifecycle & WithMoveToColdStorageAt(Aws::Utils::DateTime &&value)
void SetDeleteAt(Aws::Utils::DateTime &&value)
void SetMoveToColdStorageAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDeleteAt() const
CalculatedLifecycle & WithMoveToColdStorageAt(const Aws::Utils::DateTime &value)
CalculatedLifecycle & WithDeleteAt(const Aws::Utils::DateTime &value)
AWS_BACKUP_API CalculatedLifecycle & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue