AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateBucketConfiguration.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/BucketLocationConstraint.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3Control {
19namespace Model {
20
29 public:
30 AWS_S3CONTROL_API CreateBucketConfiguration() = default;
31 AWS_S3CONTROL_API CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
43 inline BucketLocationConstraint GetLocationConstraint() const { return m_locationConstraint; }
44 inline bool LocationConstraintHasBeenSet() const { return m_locationConstraintHasBeenSet; }
46 m_locationConstraintHasBeenSet = true;
47 m_locationConstraint = value;
48 }
51 return *this;
52 }
54 private:
56 bool m_locationConstraintHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace S3Control
61} // namespace Aws
CreateBucketConfiguration & WithLocationConstraint(BucketLocationConstraint value)
void SetLocationConstraint(BucketLocationConstraint value)
AWS_S3CONTROL_API CreateBucketConfiguration()=default
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API CreateBucketConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)