AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3SetObjectAclOperation.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/S3AccessControlPolicy.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
36 {
37 public:
38 AWS_S3CONTROL_API S3SetObjectAclOperation();
39 AWS_S3CONTROL_API S3SetObjectAclOperation(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const S3AccessControlPolicy& GetAccessControlPolicy() const{ return m_accessControlPolicy; }
50 inline bool AccessControlPolicyHasBeenSet() const { return m_accessControlPolicyHasBeenSet; }
51 inline void SetAccessControlPolicy(const S3AccessControlPolicy& value) { m_accessControlPolicyHasBeenSet = true; m_accessControlPolicy = value; }
52 inline void SetAccessControlPolicy(S3AccessControlPolicy&& value) { m_accessControlPolicyHasBeenSet = true; m_accessControlPolicy = std::move(value); }
56 private:
57
58 S3AccessControlPolicy m_accessControlPolicy;
59 bool m_accessControlPolicyHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace S3Control
64} // namespace Aws
const S3AccessControlPolicy & GetAccessControlPolicy() const
void SetAccessControlPolicy(const S3AccessControlPolicy &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetAccessControlPolicy(S3AccessControlPolicy &&value)
S3SetObjectAclOperation & WithAccessControlPolicy(const S3AccessControlPolicy &value)
S3SetObjectAclOperation & WithAccessControlPolicy(S3AccessControlPolicy &&value)
AWS_S3CONTROL_API S3SetObjectAclOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API S3SetObjectAclOperation(const Aws::Utils::Xml::XmlNode &xmlNode)