AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
OwnershipControlsRule.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/ObjectOwnership.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3 {
19namespace Model {
20
28 public:
29 AWS_S3_API OwnershipControlsRule() = default;
32
33 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
34
36
37 inline ObjectOwnership GetObjectOwnership() const { return m_objectOwnership; }
38 inline bool ObjectOwnershipHasBeenSet() const { return m_objectOwnershipHasBeenSet; }
40 m_objectOwnershipHasBeenSet = true;
41 m_objectOwnership = value;
42 }
44 SetObjectOwnership(value);
45 return *this;
46 }
48 private:
50 bool m_objectOwnershipHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace S3
55} // namespace Aws
void SetObjectOwnership(ObjectOwnership value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API OwnershipControlsRule()=default
OwnershipControlsRule & WithObjectOwnership(ObjectOwnership value)
AWS_S3_API OwnershipControlsRule(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API OwnershipControlsRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)