AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessControlTranslation.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/OwnerOverride.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_S3CRT_API AccessControlTranslation();
37
38 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
47 inline const OwnerOverride& GetOwner() const{ return m_owner; }
48 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
49 inline void SetOwner(const OwnerOverride& value) { m_ownerHasBeenSet = true; m_owner = value; }
50 inline void SetOwner(OwnerOverride&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
51 inline AccessControlTranslation& WithOwner(const OwnerOverride& value) { SetOwner(value); return *this;}
52 inline AccessControlTranslation& WithOwner(OwnerOverride&& value) { SetOwner(std::move(value)); return *this;}
54 private:
55
56 OwnerOverride m_owner;
57 bool m_ownerHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace S3Crt
62} // namespace Aws
AccessControlTranslation & WithOwner(OwnerOverride &&value)
AWS_S3CRT_API AccessControlTranslation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API AccessControlTranslation(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessControlTranslation & WithOwner(const OwnerOverride &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const