AWS SDK for C++  1.8.154
AWS SDK for C++
S3InitiateRestoreObjectOperation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace S3Control
21 {
22 namespace Model
23 {
24 
35  {
36  public:
40 
41  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42 
43 
59  inline int GetExpirationInDays() const{ return m_expirationInDays; }
60 
76  inline bool ExpirationInDaysHasBeenSet() const { return m_expirationInDaysHasBeenSet; }
77 
93  inline void SetExpirationInDays(int value) { m_expirationInDaysHasBeenSet = true; m_expirationInDays = value; }
94 
110  inline S3InitiateRestoreObjectOperation& WithExpirationInDays(int value) { SetExpirationInDays(value); return *this;}
111 
112 
117  inline const S3GlacierJobTier& GetGlacierJobTier() const{ return m_glacierJobTier; }
118 
123  inline bool GlacierJobTierHasBeenSet() const { return m_glacierJobTierHasBeenSet; }
124 
129  inline void SetGlacierJobTier(const S3GlacierJobTier& value) { m_glacierJobTierHasBeenSet = true; m_glacierJobTier = value; }
130 
135  inline void SetGlacierJobTier(S3GlacierJobTier&& value) { m_glacierJobTierHasBeenSet = true; m_glacierJobTier = std::move(value); }
136 
141  inline S3InitiateRestoreObjectOperation& WithGlacierJobTier(const S3GlacierJobTier& value) { SetGlacierJobTier(value); return *this;}
142 
147  inline S3InitiateRestoreObjectOperation& WithGlacierJobTier(S3GlacierJobTier&& value) { SetGlacierJobTier(std::move(value)); return *this;}
148 
149  private:
150 
151  int m_expirationInDays;
152  bool m_expirationInDaysHasBeenSet;
153 
154  S3GlacierJobTier m_glacierJobTier;
155  bool m_glacierJobTierHasBeenSet;
156  };
157 
158 } // namespace Model
159 } // namespace S3Control
160 } // namespace Aws
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::WithExpirationInDays
S3InitiateRestoreObjectOperation & WithExpirationInDays(int value)
Definition: S3InitiateRestoreObjectOperation.h:110
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::operator=
S3InitiateRestoreObjectOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::S3InitiateRestoreObjectOperation
Definition: S3InitiateRestoreObjectOperation.h:35
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::S3InitiateRestoreObjectOperation
S3InitiateRestoreObjectOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::ExpirationInDaysHasBeenSet
bool ExpirationInDaysHasBeenSet() const
Definition: S3InitiateRestoreObjectOperation.h:76
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::WithGlacierJobTier
S3InitiateRestoreObjectOperation & WithGlacierJobTier(const S3GlacierJobTier &value)
Definition: S3InitiateRestoreObjectOperation.h:141
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::GetExpirationInDays
int GetExpirationInDays() const
Definition: S3InitiateRestoreObjectOperation.h:59
S3Control_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::S3InitiateRestoreObjectOperation
S3InitiateRestoreObjectOperation()
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::GlacierJobTierHasBeenSet
bool GlacierJobTierHasBeenSet() const
Definition: S3InitiateRestoreObjectOperation.h:123
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::SetGlacierJobTier
void SetGlacierJobTier(const S3GlacierJobTier &value)
Definition: S3InitiateRestoreObjectOperation.h:129
S3GlacierJobTier.h
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::SetGlacierJobTier
void SetGlacierJobTier(S3GlacierJobTier &&value)
Definition: S3InitiateRestoreObjectOperation.h:135
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::SetExpirationInDays
void SetExpirationInDays(int value)
Definition: S3InitiateRestoreObjectOperation.h:93
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::GetGlacierJobTier
const S3GlacierJobTier & GetGlacierJobTier() const
Definition: S3InitiateRestoreObjectOperation.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::S3GlacierJobTier
S3GlacierJobTier
Definition: S3GlacierJobTier.h:17
Aws::S3Control::Model::S3InitiateRestoreObjectOperation::WithGlacierJobTier
S3InitiateRestoreObjectOperation & WithGlacierJobTier(S3GlacierJobTier &&value)
Definition: S3InitiateRestoreObjectOperation.h:147