AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NoncurrentVersionTransition.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/TransitionStorageClass.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
32 {
33 public:
34 AWS_S3CONTROL_API NoncurrentVersionTransition();
35 AWS_S3CONTROL_API NoncurrentVersionTransition(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
50 inline int GetNoncurrentDays() const{ return m_noncurrentDays; }
51 inline bool NoncurrentDaysHasBeenSet() const { return m_noncurrentDaysHasBeenSet; }
52 inline void SetNoncurrentDays(int value) { m_noncurrentDaysHasBeenSet = true; m_noncurrentDays = value; }
53 inline NoncurrentVersionTransition& WithNoncurrentDays(int value) { SetNoncurrentDays(value); return *this;}
55
57
60 inline const TransitionStorageClass& GetStorageClass() const{ return m_storageClass; }
61 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
62 inline void SetStorageClass(const TransitionStorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
63 inline void SetStorageClass(TransitionStorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
65 inline NoncurrentVersionTransition& WithStorageClass(TransitionStorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
67 private:
68
69 int m_noncurrentDays;
70 bool m_noncurrentDaysHasBeenSet = false;
71
72 TransitionStorageClass m_storageClass;
73 bool m_storageClassHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace S3Control
78} // namespace Aws
AWS_S3CONTROL_API NoncurrentVersionTransition(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetStorageClass(const TransitionStorageClass &value)
NoncurrentVersionTransition & WithStorageClass(TransitionStorageClass &&value)
NoncurrentVersionTransition & WithStorageClass(const TransitionStorageClass &value)
NoncurrentVersionTransition & WithNoncurrentDays(int value)
AWS_S3CONTROL_API NoncurrentVersionTransition & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)