AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RestoreStatus.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
38 {
39 public:
40 AWS_S3_API RestoreStatus();
41 AWS_S3_API RestoreStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
45
46
48
58 inline bool GetIsRestoreInProgress() const{ return m_isRestoreInProgress; }
59 inline bool IsRestoreInProgressHasBeenSet() const { return m_isRestoreInProgressHasBeenSet; }
60 inline void SetIsRestoreInProgress(bool value) { m_isRestoreInProgressHasBeenSet = true; m_isRestoreInProgress = value; }
61 inline RestoreStatus& WithIsRestoreInProgress(bool value) { SetIsRestoreInProgress(value); return *this;}
63
65
71 inline const Aws::Utils::DateTime& GetRestoreExpiryDate() const{ return m_restoreExpiryDate; }
72 inline bool RestoreExpiryDateHasBeenSet() const { return m_restoreExpiryDateHasBeenSet; }
73 inline void SetRestoreExpiryDate(const Aws::Utils::DateTime& value) { m_restoreExpiryDateHasBeenSet = true; m_restoreExpiryDate = value; }
74 inline void SetRestoreExpiryDate(Aws::Utils::DateTime&& value) { m_restoreExpiryDateHasBeenSet = true; m_restoreExpiryDate = std::move(value); }
76 inline RestoreStatus& WithRestoreExpiryDate(Aws::Utils::DateTime&& value) { SetRestoreExpiryDate(std::move(value)); return *this;}
78 private:
79
80 bool m_isRestoreInProgress;
81 bool m_isRestoreInProgressHasBeenSet = false;
82
83 Aws::Utils::DateTime m_restoreExpiryDate;
84 bool m_restoreExpiryDateHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace S3
89} // namespace Aws
void SetRestoreExpiryDate(Aws::Utils::DateTime &&value)
RestoreStatus & WithIsRestoreInProgress(bool value)
RestoreStatus & WithRestoreExpiryDate(Aws::Utils::DateTime &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API RestoreStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetRestoreExpiryDate() const
bool IsRestoreInProgressHasBeenSet() const
RestoreStatus & WithRestoreExpiryDate(const Aws::Utils::DateTime &value)
bool RestoreExpiryDateHasBeenSet() const
AWS_S3_API RestoreStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIsRestoreInProgress(bool value)
void SetRestoreExpiryDate(const Aws::Utils::DateTime &value)