AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamingLoggingConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_CLOUDFRONT_API StreamingLoggingConfig();
35 AWS_CLOUDFRONT_API StreamingLoggingConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFRONT_API StreamingLoggingConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
52 inline bool GetEnabled() const{ return m_enabled; }
53 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
54 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
55 inline StreamingLoggingConfig& WithEnabled(bool value) { SetEnabled(value); return *this;}
57
59
63 inline const Aws::String& GetBucket() const{ return m_bucket; }
64 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
65 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
66 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
67 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
68 inline StreamingLoggingConfig& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
69 inline StreamingLoggingConfig& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
70 inline StreamingLoggingConfig& WithBucket(const char* value) { SetBucket(value); return *this;}
72
74
81 inline const Aws::String& GetPrefix() const{ return m_prefix; }
82 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
83 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
84 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
85 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
86 inline StreamingLoggingConfig& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
87 inline StreamingLoggingConfig& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
88 inline StreamingLoggingConfig& WithPrefix(const char* value) { SetPrefix(value); return *this;}
90 private:
91
92 bool m_enabled;
93 bool m_enabledHasBeenSet = false;
94
95 Aws::String m_bucket;
96 bool m_bucketHasBeenSet = false;
97
98 Aws::String m_prefix;
99 bool m_prefixHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CloudFront
104} // namespace Aws
StreamingLoggingConfig & WithPrefix(const char *value)
StreamingLoggingConfig & WithBucket(Aws::String &&value)
StreamingLoggingConfig & WithEnabled(bool value)
StreamingLoggingConfig & WithPrefix(Aws::String &&value)
AWS_CLOUDFRONT_API StreamingLoggingConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingLoggingConfig & WithPrefix(const Aws::String &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
StreamingLoggingConfig & WithBucket(const char *value)
AWS_CLOUDFRONT_API StreamingLoggingConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StreamingLoggingConfig & WithBucket(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String