AWS SDK for C++
1.8.154
AWS SDK for C++
aws-cpp-sdk-s3control
include
aws
s3control
model
CreateBucketConfiguration.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/s3control/S3Control_EXPORTS.h
>
8
#include <
aws/s3control/model/BucketLocationConstraint.h
>
9
#include <utility>
10
11
namespace
Aws
12
{
13
namespace
Utils
14
{
15
namespace
Xml
16
{
17
class
XmlNode;
18
}
// namespace Xml
19
}
// namespace Utils
20
namespace
S3Control
21
{
22
namespace
Model
23
{
24
32
class
AWS_S3CONTROL_API
CreateBucketConfiguration
33
{
34
public
:
35
CreateBucketConfiguration
();
36
CreateBucketConfiguration
(
const
Aws::Utils::Xml::XmlNode
& xmlNode);
37
CreateBucketConfiguration
&
operator=
(
const
Aws::Utils::Xml::XmlNode
& xmlNode);
38
39
void
AddToNode
(
Aws::Utils::Xml::XmlNode
& parentNode)
const
;
40
41
48
inline
const
BucketLocationConstraint
&
GetLocationConstraint
()
const
{
return
m_locationConstraint; }
49
56
inline
bool
LocationConstraintHasBeenSet
()
const
{
return
m_locationConstraintHasBeenSet; }
57
64
inline
void
SetLocationConstraint
(
const
BucketLocationConstraint
& value) { m_locationConstraintHasBeenSet =
true
; m_locationConstraint = value; }
65
72
inline
void
SetLocationConstraint
(
BucketLocationConstraint
&& value) { m_locationConstraintHasBeenSet =
true
; m_locationConstraint = std::move(value); }
73
80
inline
CreateBucketConfiguration
&
WithLocationConstraint
(
const
BucketLocationConstraint
& value) { SetLocationConstraint(value);
return
*
this
;}
81
88
inline
CreateBucketConfiguration
&
WithLocationConstraint
(
BucketLocationConstraint
&& value) { SetLocationConstraint(std::move(value));
return
*
this
;}
89
90
private
:
91
92
BucketLocationConstraint
m_locationConstraint;
93
bool
m_locationConstraintHasBeenSet;
94
};
95
96
}
// namespace Model
97
}
// namespace S3Control
98
}
// namespace Aws
BucketLocationConstraint.h
Aws::S3Control::Model::CreateBucketConfiguration::SetLocationConstraint
void SetLocationConstraint(BucketLocationConstraint &&value)
Definition:
CreateBucketConfiguration.h:72
Aws::S3Control::Model::BucketLocationConstraint
BucketLocationConstraint
Definition:
BucketLocationConstraint.h:17
Aws::S3Control::Model::CreateBucketConfiguration::CreateBucketConfiguration
CreateBucketConfiguration()
S3Control_EXPORTS.h
Aws::S3Control::Model::CreateBucketConfiguration::CreateBucketConfiguration
CreateBucketConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition:
XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition:
S3Control_EXPORTS.h:28
Aws::S3Control::Model::CreateBucketConfiguration::LocationConstraintHasBeenSet
bool LocationConstraintHasBeenSet() const
Definition:
CreateBucketConfiguration.h:56
Aws::S3Control::Model::CreateBucketConfiguration::WithLocationConstraint
CreateBucketConfiguration & WithLocationConstraint(BucketLocationConstraint &&value)
Definition:
CreateBucketConfiguration.h:88
Aws
Definition:
AccessManagementClient.h:15
Aws::S3Control::Model::CreateBucketConfiguration::WithLocationConstraint
CreateBucketConfiguration & WithLocationConstraint(const BucketLocationConstraint &value)
Definition:
CreateBucketConfiguration.h:80
Aws::S3Control::Model::CreateBucketConfiguration::operator=
CreateBucketConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::CreateBucketConfiguration
Definition:
CreateBucketConfiguration.h:33
Aws::S3Control::Model::CreateBucketConfiguration::GetLocationConstraint
const BucketLocationConstraint & GetLocationConstraint() const
Definition:
CreateBucketConfiguration.h:48
Aws::S3Control::Model::CreateBucketConfiguration::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::CreateBucketConfiguration::SetLocationConstraint
void SetLocationConstraint(const BucketLocationConstraint &value)
Definition:
CreateBucketConfiguration.h:64
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences