AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BucketInfo.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/DataRedundancy.h>
9#include <aws/s3-crt/model/BucketType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Crt
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_S3CRT_API BucketInfo() = default;
39 AWS_S3CRT_API BucketInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_S3CRT_API BucketInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
50 inline DataRedundancy GetDataRedundancy() const { return m_dataRedundancy; }
51 inline bool DataRedundancyHasBeenSet() const { return m_dataRedundancyHasBeenSet; }
52 inline void SetDataRedundancy(DataRedundancy value) { m_dataRedundancyHasBeenSet = true; m_dataRedundancy = value; }
53 inline BucketInfo& WithDataRedundancy(DataRedundancy value) { SetDataRedundancy(value); return *this;}
55
57
60 inline BucketType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(BucketType value) { m_typeHasBeenSet = true; m_type = value; }
63 inline BucketInfo& WithType(BucketType value) { SetType(value); return *this;}
65 private:
66
68 bool m_dataRedundancyHasBeenSet = false;
69
71 bool m_typeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace S3Crt
76} // namespace Aws
void SetType(BucketType value)
Definition BucketInfo.h:62
AWS_S3CRT_API BucketInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDataRedundancy(DataRedundancy value)
Definition BucketInfo.h:52
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
BucketInfo & WithDataRedundancy(DataRedundancy value)
Definition BucketInfo.h:53
AWS_S3CRT_API BucketInfo()=default
AWS_S3CRT_API BucketInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
BucketInfo & WithType(BucketType value)
Definition BucketInfo.h:63
DataRedundancy GetDataRedundancy() const
Definition BucketInfo.h:50
BucketType GetType() const
Definition BucketInfo.h:60
bool DataRedundancyHasBeenSet() const
Definition BucketInfo.h:51