AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsCloudFrontDistributionLogging.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsCloudFrontDistributionLogging();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucket() const{ return m_bucket; }
46 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
47 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
48 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
49 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
50 inline AwsCloudFrontDistributionLogging& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
51 inline AwsCloudFrontDistributionLogging& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
52 inline AwsCloudFrontDistributionLogging& WithBucket(const char* value) { SetBucket(value); return *this;}
54
56
59 inline bool GetEnabled() const{ return m_enabled; }
60 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
61 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
62 inline AwsCloudFrontDistributionLogging& WithEnabled(bool value) { SetEnabled(value); return *this;}
64
66
69 inline bool GetIncludeCookies() const{ return m_includeCookies; }
70 inline bool IncludeCookiesHasBeenSet() const { return m_includeCookiesHasBeenSet; }
71 inline void SetIncludeCookies(bool value) { m_includeCookiesHasBeenSet = true; m_includeCookies = value; }
72 inline AwsCloudFrontDistributionLogging& WithIncludeCookies(bool value) { SetIncludeCookies(value); return *this;}
74
76
80 inline const Aws::String& GetPrefix() const{ return m_prefix; }
81 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
82 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
83 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
84 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
85 inline AwsCloudFrontDistributionLogging& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
86 inline AwsCloudFrontDistributionLogging& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
87 inline AwsCloudFrontDistributionLogging& WithPrefix(const char* value) { SetPrefix(value); return *this;}
89 private:
90
91 Aws::String m_bucket;
92 bool m_bucketHasBeenSet = false;
93
94 bool m_enabled;
95 bool m_enabledHasBeenSet = false;
96
97 bool m_includeCookies;
98 bool m_includeCookiesHasBeenSet = false;
99
100 Aws::String m_prefix;
101 bool m_prefixHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SecurityHub
106} // namespace Aws
AWS_SECURITYHUB_API AwsCloudFrontDistributionLogging(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionLogging & WithPrefix(Aws::String &&value)
AwsCloudFrontDistributionLogging & WithPrefix(const Aws::String &value)
AwsCloudFrontDistributionLogging & WithBucket(Aws::String &&value)
AwsCloudFrontDistributionLogging & WithBucket(const char *value)
AwsCloudFrontDistributionLogging & WithPrefix(const char *value)
AwsCloudFrontDistributionLogging & WithIncludeCookies(bool value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsCloudFrontDistributionLogging & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionLogging & WithBucket(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue