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-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/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 S3Crt
21{
22namespace Model
23{
24
35 {
36 public:
37 AWS_S3CRT_API AccelerateConfiguration();
40
41 AWS_S3CRT_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 S3Crt
63} // namespace Aws
void SetStatus(BucketAccelerateStatus &&value)
AccelerateConfiguration & WithStatus(const BucketAccelerateStatus &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetStatus(const BucketAccelerateStatus &value)
AWS_S3CRT_API AccelerateConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API AccelerateConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AccelerateConfiguration & WithStatus(BucketAccelerateStatus &&value)
const BucketAccelerateStatus & GetStatus() const