AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetBucketLoggingResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Xml
19{
20 class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace S3
24{
25namespace Model
26{
28 {
29 public:
33
34
35
36 inline const LoggingEnabled& GetLoggingEnabled() const{ return m_loggingEnabled; }
37
38
39 inline void SetLoggingEnabled(const LoggingEnabled& value) { m_loggingEnabled = value; }
40
41
42 inline void SetLoggingEnabled(LoggingEnabled&& value) { m_loggingEnabled = std::move(value); }
43
44
45 inline GetBucketLoggingResult& WithLoggingEnabled(const LoggingEnabled& value) { SetLoggingEnabled(value); return *this;}
46
47
48 inline GetBucketLoggingResult& WithLoggingEnabled(LoggingEnabled&& value) { SetLoggingEnabled(std::move(value)); return *this;}
49
50 private:
51
52 LoggingEnabled m_loggingEnabled;
53 };
54
55} // namespace Model
56} // namespace S3
57} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
GetBucketLoggingResult & WithLoggingEnabled(const LoggingEnabled &value)
void SetLoggingEnabled(LoggingEnabled &&value)
void SetLoggingEnabled(const LoggingEnabled &value)
GetBucketLoggingResult & WithLoggingEnabled(LoggingEnabled &&value)
AWS_S3_API GetBucketLoggingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const LoggingEnabled & GetLoggingEnabled() const
AWS_S3_API GetBucketLoggingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)