AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsCloudFrontDistributionLogging.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API AwsCloudFrontDistributionLogging() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBucket() const { return m_bucket; }
40 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
41 template <typename BucketT = Aws::String>
42 void SetBucket(BucketT&& value) {
43 m_bucketHasBeenSet = true;
44 m_bucket = std::forward<BucketT>(value);
45 }
46 template <typename BucketT = Aws::String>
48 SetBucket(std::forward<BucketT>(value));
49 return *this;
50 }
52
54
57 inline bool GetEnabled() const { return m_enabled; }
58 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
59 inline void SetEnabled(bool value) {
60 m_enabledHasBeenSet = true;
61 m_enabled = value;
62 }
64 SetEnabled(value);
65 return *this;
66 }
68
70
73 inline bool GetIncludeCookies() const { return m_includeCookies; }
74 inline bool IncludeCookiesHasBeenSet() const { return m_includeCookiesHasBeenSet; }
75 inline void SetIncludeCookies(bool value) {
76 m_includeCookiesHasBeenSet = true;
77 m_includeCookies = value;
78 }
80 SetIncludeCookies(value);
81 return *this;
82 }
84
86
90 inline const Aws::String& GetPrefix() const { return m_prefix; }
91 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
92 template <typename PrefixT = Aws::String>
93 void SetPrefix(PrefixT&& value) {
94 m_prefixHasBeenSet = true;
95 m_prefix = std::forward<PrefixT>(value);
96 }
97 template <typename PrefixT = Aws::String>
99 SetPrefix(std::forward<PrefixT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_bucket;
105
106 bool m_enabled{false};
107
108 bool m_includeCookies{false};
109
110 Aws::String m_prefix;
111 bool m_bucketHasBeenSet = false;
112 bool m_enabledHasBeenSet = false;
113 bool m_includeCookiesHasBeenSet = false;
114 bool m_prefixHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace SecurityHub
119} // namespace Aws
AWS_SECURITYHUB_API AwsCloudFrontDistributionLogging(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionLogging & WithBucket(BucketT &&value)
AwsCloudFrontDistributionLogging & WithPrefix(PrefixT &&value)
AwsCloudFrontDistributionLogging & WithIncludeCookies(bool value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsCloudFrontDistributionLogging()=default
AWS_SECURITYHUB_API AwsCloudFrontDistributionLogging & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue