AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 const S3GlacierJobTier& GetGlacierJobTier() const{ return m_glacierJobTier; }
72 inline bool GlacierJobTierHasBeenSet() const { return m_glacierJobTierHasBeenSet; }
73 inline void SetGlacierJobTier(const S3GlacierJobTier& value) { m_glacierJobTierHasBeenSet = true; m_glacierJobTier = value; }
74 inline void SetGlacierJobTier(S3GlacierJobTier&& value) { m_glacierJobTierHasBeenSet = true; m_glacierJobTier = std::move(value); }
78 private:
79
80 int m_expirationInDays;
81 bool m_expirationInDaysHasBeenSet = false;
82
83 S3GlacierJobTier m_glacierJobTier;
84 bool m_glacierJobTierHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace S3Control
89} // namespace Aws
AWS_S3CONTROL_API S3InitiateRestoreObjectOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
S3InitiateRestoreObjectOperation & WithGlacierJobTier(const S3GlacierJobTier &value)
S3InitiateRestoreObjectOperation & WithExpirationInDays(int value)
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)