AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Tiering.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/IntelligentTieringAccessTier.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
32 class Tiering
33 {
34 public:
35 AWS_S3_API Tiering();
36 AWS_S3_API Tiering(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3_API Tiering& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
50 inline int GetDays() const{ return m_days; }
51 inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; }
52 inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; }
53 inline Tiering& WithDays(int value) { SetDays(value); return *this;}
55
57
64 inline const IntelligentTieringAccessTier& GetAccessTier() const{ return m_accessTier; }
65 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
66 inline void SetAccessTier(const IntelligentTieringAccessTier& value) { m_accessTierHasBeenSet = true; m_accessTier = value; }
67 inline void SetAccessTier(IntelligentTieringAccessTier&& value) { m_accessTierHasBeenSet = true; m_accessTier = std::move(value); }
68 inline Tiering& WithAccessTier(const IntelligentTieringAccessTier& value) { SetAccessTier(value); return *this;}
69 inline Tiering& WithAccessTier(IntelligentTieringAccessTier&& value) { SetAccessTier(std::move(value)); return *this;}
71 private:
72
73 int m_days;
74 bool m_daysHasBeenSet = false;
75
77 bool m_accessTierHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace S3
82} // namespace Aws
void SetAccessTier(IntelligentTieringAccessTier &&value)
Definition Tiering.h:67
Tiering & WithAccessTier(const IntelligentTieringAccessTier &value)
Definition Tiering.h:68
Tiering & WithDays(int value)
Definition Tiering.h:53
void SetDays(int value)
Definition Tiering.h:52
int GetDays() const
Definition Tiering.h:50
AWS_S3_API Tiering & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAccessTier(const IntelligentTieringAccessTier &value)
Definition Tiering.h:66
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool DaysHasBeenSet() const
Definition Tiering.h:51
const IntelligentTieringAccessTier & GetAccessTier() const
Definition Tiering.h:64
Tiering & WithAccessTier(IntelligentTieringAccessTier &&value)
Definition Tiering.h:69
AWS_S3_API Tiering(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AccessTierHasBeenSet() const
Definition Tiering.h:65