AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BucketInfo.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/BucketType.h>
9#include <aws/s3/model/DataRedundancy.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3 {
20namespace Model {
21
32 public:
33 AWS_S3_API BucketInfo() = default;
34 AWS_S3_API BucketInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_S3_API BucketInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
40
44 inline DataRedundancy GetDataRedundancy() const { return m_dataRedundancy; }
45 inline bool DataRedundancyHasBeenSet() const { return m_dataRedundancyHasBeenSet; }
46 inline void SetDataRedundancy(DataRedundancy value) {
47 m_dataRedundancyHasBeenSet = true;
48 m_dataRedundancy = value;
49 }
51 SetDataRedundancy(value);
52 return *this;
53 }
55
57
60 inline BucketType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(BucketType value) {
63 m_typeHasBeenSet = true;
64 m_type = value;
65 }
67 SetType(value);
68 return *this;
69 }
71 private:
73
75 bool m_dataRedundancyHasBeenSet = false;
76 bool m_typeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace S3
81} // namespace Aws
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API BucketInfo()=default
bool TypeHasBeenSet() const
Definition BucketInfo.h:61
DataRedundancy GetDataRedundancy() const
Definition BucketInfo.h:44
BucketType GetType() const
Definition BucketInfo.h:60
void SetType(BucketType value)
Definition BucketInfo.h:62
bool DataRedundancyHasBeenSet() const
Definition BucketInfo.h:45
BucketInfo & WithDataRedundancy(DataRedundancy value)
Definition BucketInfo.h:50
AWS_S3_API BucketInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
BucketInfo & WithType(BucketType value)
Definition BucketInfo.h:66
void SetDataRedundancy(DataRedundancy value)
Definition BucketInfo.h:46
AWS_S3_API BucketInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)