AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateBucketConfiguration.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
31 {
32 public:
36
38
39
45 inline const BucketLocationConstraint& GetLocationConstraint() const{ return m_locationConstraint; }
46
52 inline bool LocationConstraintHasBeenSet() const { return m_locationConstraintHasBeenSet; }
53
59 inline void SetLocationConstraint(const BucketLocationConstraint& value) { m_locationConstraintHasBeenSet = true; m_locationConstraint = value; }
60
66 inline void SetLocationConstraint(BucketLocationConstraint&& value) { m_locationConstraintHasBeenSet = true; m_locationConstraint = std::move(value); }
67
74
81
82 private:
83
84 BucketLocationConstraint m_locationConstraint;
85 bool m_locationConstraintHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace S3
90} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
void SetLocationConstraint(const BucketLocationConstraint &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API CreateBucketConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const BucketLocationConstraint & GetLocationConstraint() const
CreateBucketConfiguration & WithLocationConstraint(const BucketLocationConstraint &value)
void SetLocationConstraint(BucketLocationConstraint &&value)
AWS_S3_API CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CreateBucketConfiguration & WithLocationConstraint(BucketLocationConstraint &&value)