AWS SDK for C++  1.9.129
AWS SDK for C++
AccelerateConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/s3/S3_EXPORTS.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 S3
21 {
22 namespace Model
23 {
24 
35  {
36  public:
40 
41  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42 
43 
47  inline const BucketAccelerateStatus& GetStatus() const{ return m_status; }
48 
52  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
53 
57  inline void SetStatus(const BucketAccelerateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
58 
62  inline void SetStatus(BucketAccelerateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 
67  inline AccelerateConfiguration& WithStatus(const BucketAccelerateStatus& value) { SetStatus(value); return *this;}
68 
72  inline AccelerateConfiguration& WithStatus(BucketAccelerateStatus&& value) { SetStatus(std::move(value)); return *this;}
73 
74  private:
75 
76  BucketAccelerateStatus m_status;
77  bool m_statusHasBeenSet;
78  };
79 
80 } // namespace Model
81 } // namespace S3
82 } // namespace Aws
Aws::S3::Model::AccelerateConfiguration::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AccelerateConfiguration.h:52
Aws::S3::Model::AccelerateConfiguration::SetStatus
void SetStatus(BucketAccelerateStatus &&value)
Definition: AccelerateConfiguration.h:62
Aws::S3::Model::AccelerateConfiguration::AccelerateConfiguration
AccelerateConfiguration()
Aws::S3::Model::AccelerateConfiguration::operator=
AccelerateConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3::Model::AccelerateConfiguration::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
S3_EXPORTS.h
AWS_S3_API
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
Aws::S3::Model::AccelerateConfiguration
Definition: AccelerateConfiguration.h:35
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
BucketAccelerateStatus.h
Aws::S3::Model::AccelerateConfiguration::WithStatus
AccelerateConfiguration & WithStatus(const BucketAccelerateStatus &value)
Definition: AccelerateConfiguration.h:67
Aws::S3::Model::AccelerateConfiguration::WithStatus
AccelerateConfiguration & WithStatus(BucketAccelerateStatus &&value)
Definition: AccelerateConfiguration.h:72
Aws::S3::Model::BucketAccelerateStatus
BucketAccelerateStatus
Definition: BucketAccelerateStatus.h:17
Aws::S3::Model::AccelerateConfiguration::SetStatus
void SetStatus(const BucketAccelerateStatus &value)
Definition: AccelerateConfiguration.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::S3::Model::AccelerateConfiguration::AccelerateConfiguration
AccelerateConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3::Model::AccelerateConfiguration::GetStatus
const BucketAccelerateStatus & GetStatus() const
Definition: AccelerateConfiguration.h:47
Aws::S3::ARNService::S3
static const char S3[]
Definition: S3ARN.h:25