AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BucketLoggingStatus.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/LoggingEnabled.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
31 {
32 public:
33 AWS_S3CRT_API BucketLoggingStatus();
34 AWS_S3CRT_API BucketLoggingStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
42 inline const LoggingEnabled& GetLoggingEnabled() const{ return m_loggingEnabled; }
43 inline bool LoggingEnabledHasBeenSet() const { return m_loggingEnabledHasBeenSet; }
44 inline void SetLoggingEnabled(const LoggingEnabled& value) { m_loggingEnabledHasBeenSet = true; m_loggingEnabled = value; }
45 inline void SetLoggingEnabled(LoggingEnabled&& value) { m_loggingEnabledHasBeenSet = true; m_loggingEnabled = std::move(value); }
46 inline BucketLoggingStatus& WithLoggingEnabled(const LoggingEnabled& value) { SetLoggingEnabled(value); return *this;}
47 inline BucketLoggingStatus& WithLoggingEnabled(LoggingEnabled&& value) { SetLoggingEnabled(std::move(value)); return *this;}
49 private:
50
51 LoggingEnabled m_loggingEnabled;
52 bool m_loggingEnabledHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace S3Crt
57} // namespace Aws
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CRT_API BucketLoggingStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLoggingEnabled(LoggingEnabled &&value)
AWS_S3CRT_API BucketLoggingStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLoggingEnabled(const LoggingEnabled &value)
BucketLoggingStatus & WithLoggingEnabled(const LoggingEnabled &value)
BucketLoggingStatus & WithLoggingEnabled(LoggingEnabled &&value)
const LoggingEnabled & GetLoggingEnabled() const