AWS SDK for C++  1.8.154
AWS SDK for C++
NoncurrentVersionExpiration.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Xml
14 {
15  class XmlNode;
16 } // namespace Xml
17 } // namespace Utils
18 namespace S3Control
19 {
20 namespace Model
21 {
22 
30  {
31  public:
35 
36  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37 
38 
47  inline int GetNoncurrentDays() const{ return m_noncurrentDays; }
48 
57  inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; }
58 
67  inline void SetNoncurrentDays(int value) { m_noncurrentDaysHasBeenSet = true; m_noncurrentDays = value; }
68 
77  inline NoncurrentVersionExpiration& WithNoncurrentDays(int value) { SetNoncurrentDays(value); return *this;}
78 
79  private:
80 
81  int m_noncurrentDays;
82  bool m_noncurrentDaysHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace S3Control
87 } // namespace Aws
Aws::S3Control::Model::NoncurrentVersionExpiration
Definition: NoncurrentVersionExpiration.h:30
Aws::S3Control::Model::NoncurrentVersionExpiration::operator=
NoncurrentVersionExpiration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::NoncurrentVersionExpiration::WithNoncurrentDays
NoncurrentVersionExpiration & WithNoncurrentDays(int value)
Definition: NoncurrentVersionExpiration.h:77
Aws::S3Control::Model::NoncurrentVersionExpiration::NoncurrentVersionExpiration
NoncurrentVersionExpiration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::NoncurrentVersionExpiration::GetNoncurrentDays
int GetNoncurrentDays() const
Definition: NoncurrentVersionExpiration.h:47
S3Control_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::NoncurrentVersionExpiration::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::NoncurrentVersionExpiration::NoncurrentDaysHasBeenSet
bool NoncurrentDaysHasBeenSet() const
Definition: NoncurrentVersionExpiration.h:57
Aws::S3Control::Model::NoncurrentVersionExpiration::SetNoncurrentDays
void SetNoncurrentDays(int value)
Definition: NoncurrentVersionExpiration.h:67
Aws::S3Control::Model::NoncurrentVersionExpiration::NoncurrentVersionExpiration
NoncurrentVersionExpiration()