AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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
33 {
34 public:
35 AWS_S3CONTROL_API CreateBucketConfiguration();
36 AWS_S3CONTROL_API CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
49 inline const BucketLocationConstraint& GetLocationConstraint() const{ return m_locationConstraint; }
50 inline bool LocationConstraintHasBeenSet() const { return m_locationConstraintHasBeenSet; }
51 inline void SetLocationConstraint(const BucketLocationConstraint& value) { m_locationConstraintHasBeenSet = true; m_locationConstraint = value; }
52 inline void SetLocationConstraint(BucketLocationConstraint&& value) { m_locationConstraintHasBeenSet = true; m_locationConstraint = std::move(value); }
56 private:
57
58 BucketLocationConstraint m_locationConstraint;
59 bool m_locationConstraintHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace S3Control
64} // namespace Aws
void SetLocationConstraint(BucketLocationConstraint &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLocationConstraint(const BucketLocationConstraint &value)
AWS_S3CONTROL_API CreateBucketConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CreateBucketConfiguration & WithLocationConstraint(const BucketLocationConstraint &value)
CreateBucketConfiguration & WithLocationConstraint(BucketLocationConstraint &&value)
AWS_S3CONTROL_API CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
const BucketLocationConstraint & GetLocationConstraint() const