AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NoncurrentVersionExpiration.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Xml
14{
15 class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Control
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_S3CONTROL_API NoncurrentVersionExpiration();
33 AWS_S3CONTROL_API NoncurrentVersionExpiration(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
38
40
48 inline int GetNoncurrentDays() const{ return m_noncurrentDays; }
49 inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; }
50 inline void SetNoncurrentDays(int value) { m_noncurrentDaysHasBeenSet = true; m_noncurrentDays = value; }
51 inline NoncurrentVersionExpiration& WithNoncurrentDays(int value) { SetNoncurrentDays(value); return *this;}
53
55
62 inline int GetNewerNoncurrentVersions() const{ return m_newerNoncurrentVersions; }
63 inline bool NewerNoncurrentVersionsHasBeenSet() const { return m_newerNoncurrentVersionsHasBeenSet; }
64 inline void SetNewerNoncurrentVersions(int value) { m_newerNoncurrentVersionsHasBeenSet = true; m_newerNoncurrentVersions = value; }
67 private:
68
69 int m_noncurrentDays;
70 bool m_noncurrentDaysHasBeenSet = false;
71
72 int m_newerNoncurrentVersions;
73 bool m_newerNoncurrentVersionsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace S3Control
78} // namespace Aws
NoncurrentVersionExpiration & WithNewerNoncurrentVersions(int value)
NoncurrentVersionExpiration & WithNoncurrentDays(int value)
AWS_S3CONTROL_API NoncurrentVersionExpiration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API NoncurrentVersionExpiration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)