AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BucketLoggingStatus.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.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
31 {
32 public:
36
38
39
40
41 inline const LoggingEnabled& GetLoggingEnabled() const{ return m_loggingEnabled; }
42
43
44 inline bool LoggingEnabledHasBeenSet() const { return m_loggingEnabledHasBeenSet; }
45
46
47 inline void SetLoggingEnabled(const LoggingEnabled& value) { m_loggingEnabledHasBeenSet = true; m_loggingEnabled = value; }
48
49
50 inline void SetLoggingEnabled(LoggingEnabled&& value) { m_loggingEnabledHasBeenSet = true; m_loggingEnabled = std::move(value); }
51
52
53 inline BucketLoggingStatus& WithLoggingEnabled(const LoggingEnabled& value) { SetLoggingEnabled(value); return *this;}
54
55
56 inline BucketLoggingStatus& WithLoggingEnabled(LoggingEnabled&& value) { SetLoggingEnabled(std::move(value)); return *this;}
57
58 private:
59
60 LoggingEnabled m_loggingEnabled;
61 bool m_loggingEnabledHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace S3
66} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
BucketLoggingStatus & WithLoggingEnabled(LoggingEnabled &&value)
const LoggingEnabled & GetLoggingEnabled() const
AWS_S3_API BucketLoggingStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLoggingEnabled(const LoggingEnabled &value)
BucketLoggingStatus & WithLoggingEnabled(const LoggingEnabled &value)
AWS_S3_API BucketLoggingStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLoggingEnabled(LoggingEnabled &&value)