AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccelerateConfiguration.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/BucketAccelerateStatus.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
35 {
36 public:
40
41 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const BucketAccelerateStatus& GetStatus() const{ return m_status; }
49 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
50 inline void SetStatus(const BucketAccelerateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
51 inline void SetStatus(BucketAccelerateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
52 inline AccelerateConfiguration& WithStatus(const BucketAccelerateStatus& value) { SetStatus(value); return *this;}
53 inline AccelerateConfiguration& WithStatus(BucketAccelerateStatus&& value) { SetStatus(std::move(value)); return *this;}
55 private:
56
58 bool m_statusHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace S3
63} // namespace Aws
AWS_S3_API AccelerateConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const BucketAccelerateStatus & GetStatus() const
AccelerateConfiguration & WithStatus(const BucketAccelerateStatus &value)
void SetStatus(const BucketAccelerateStatus &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AccelerateConfiguration & WithStatus(BucketAccelerateStatus &&value)
void SetStatus(BucketAccelerateStatus &&value)
AWS_S3_API AccelerateConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)