AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
S3InitiateRestoreObjectOperation.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/S3GlacierJobTier.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control
21{
22namespace Model
23{
24
35 {
36 public:
37 AWS_S3CONTROL_API S3InitiateRestoreObjectOperation() = default;
40
41 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
60 inline int GetExpirationInDays() const { return m_expirationInDays; }
61 inline bool ExpirationInDaysHasBeenSet() const { return m_expirationInDaysHasBeenSet; }
62 inline void SetExpirationInDays(int value) { m_expirationInDaysHasBeenSet = true; m_expirationInDays = value; }
65
67
71 inline S3GlacierJobTier GetGlacierJobTier() const { return m_glacierJobTier; }
72 inline bool GlacierJobTierHasBeenSet() const { return m_glacierJobTierHasBeenSet; }
73 inline void SetGlacierJobTier(S3GlacierJobTier value) { m_glacierJobTierHasBeenSet = true; m_glacierJobTier = value; }
76 private:
77
78 int m_expirationInDays{0};
79 bool m_expirationInDaysHasBeenSet = false;
80
82 bool m_glacierJobTierHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace S3Control
87} // namespace Aws
AWS_S3CONTROL_API S3InitiateRestoreObjectOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3InitiateRestoreObjectOperation & WithExpirationInDays(int value)
AWS_S3CONTROL_API S3InitiateRestoreObjectOperation()=default
S3InitiateRestoreObjectOperation & WithGlacierJobTier(S3GlacierJobTier value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API S3InitiateRestoreObjectOperation(const Aws::Utils::Xml::XmlNode &xmlNode)