AWS SDK for C++  1.9.106
AWS SDK for C++
AwsCloudFrontDistributionLogging.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetBucket() const{ return m_bucket; }
45 
49  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
50 
54  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
55 
59  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
60 
64  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
65 
69  inline AwsCloudFrontDistributionLogging& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
70 
74  inline AwsCloudFrontDistributionLogging& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
75 
79  inline AwsCloudFrontDistributionLogging& WithBucket(const char* value) { SetBucket(value); return *this;}
80 
81 
85  inline bool GetEnabled() const{ return m_enabled; }
86 
90  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
91 
95  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
96 
100  inline AwsCloudFrontDistributionLogging& WithEnabled(bool value) { SetEnabled(value); return *this;}
101 
102 
106  inline bool GetIncludeCookies() const{ return m_includeCookies; }
107 
111  inline bool IncludeCookiesHasBeenSet() const { return m_includeCookiesHasBeenSet; }
112 
116  inline void SetIncludeCookies(bool value) { m_includeCookiesHasBeenSet = true; m_includeCookies = value; }
117 
121  inline AwsCloudFrontDistributionLogging& WithIncludeCookies(bool value) { SetIncludeCookies(value); return *this;}
122 
123 
128  inline const Aws::String& GetPrefix() const{ return m_prefix; }
129 
134  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
135 
140  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
141 
146  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
147 
152  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
153 
158  inline AwsCloudFrontDistributionLogging& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
159 
164  inline AwsCloudFrontDistributionLogging& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
165 
170  inline AwsCloudFrontDistributionLogging& WithPrefix(const char* value) { SetPrefix(value); return *this;}
171 
172  private:
173 
174  Aws::String m_bucket;
175  bool m_bucketHasBeenSet;
176 
177  bool m_enabled;
178  bool m_enabledHasBeenSet;
179 
180  bool m_includeCookies;
181  bool m_includeCookiesHasBeenSet;
182 
183  Aws::String m_prefix;
184  bool m_prefixHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace SecurityHub
189 } // namespace Aws
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: AwsCloudFrontDistributionLogging.h:140
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::WithPrefix
AwsCloudFrontDistributionLogging & WithPrefix(const Aws::String &value)
Definition: AwsCloudFrontDistributionLogging.h:158
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::GetBucket
const Aws::String & GetBucket() const
Definition: AwsCloudFrontDistributionLogging.h:44
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: AwsCloudFrontDistributionLogging.h:134
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::WithPrefix
AwsCloudFrontDistributionLogging & WithPrefix(Aws::String &&value)
Definition: AwsCloudFrontDistributionLogging.h:164
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::WithBucket
AwsCloudFrontDistributionLogging & WithBucket(const Aws::String &value)
Definition: AwsCloudFrontDistributionLogging.h:69
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::SetBucket
void SetBucket(const char *value)
Definition: AwsCloudFrontDistributionLogging.h:64
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::AwsCloudFrontDistributionLogging
AwsCloudFrontDistributionLogging()
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::GetPrefix
const Aws::String & GetPrefix() const
Definition: AwsCloudFrontDistributionLogging.h:128
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging
Definition: AwsCloudFrontDistributionLogging.h:33
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::SetEnabled
void SetEnabled(bool value)
Definition: AwsCloudFrontDistributionLogging.h:95
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::WithBucket
AwsCloudFrontDistributionLogging & WithBucket(const char *value)
Definition: AwsCloudFrontDistributionLogging.h:79
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::IncludeCookiesHasBeenSet
bool IncludeCookiesHasBeenSet() const
Definition: AwsCloudFrontDistributionLogging.h:111
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::WithEnabled
AwsCloudFrontDistributionLogging & WithEnabled(bool value)
Definition: AwsCloudFrontDistributionLogging.h:100
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::WithIncludeCookies
AwsCloudFrontDistributionLogging & WithIncludeCookies(bool value)
Definition: AwsCloudFrontDistributionLogging.h:121
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: AwsCloudFrontDistributionLogging.h:49
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::GetEnabled
bool GetEnabled() const
Definition: AwsCloudFrontDistributionLogging.h:85
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: AwsCloudFrontDistributionLogging.h:90
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::SetBucket
void SetBucket(Aws::String &&value)
Definition: AwsCloudFrontDistributionLogging.h:59
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::GetIncludeCookies
bool GetIncludeCookies() const
Definition: AwsCloudFrontDistributionLogging.h:106
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: AwsCloudFrontDistributionLogging.h:146
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::SetBucket
void SetBucket(const Aws::String &value)
Definition: AwsCloudFrontDistributionLogging.h:54
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::SetIncludeCookies
void SetIncludeCookies(bool value)
Definition: AwsCloudFrontDistributionLogging.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::AwsCloudFrontDistributionLogging
AwsCloudFrontDistributionLogging(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::WithPrefix
AwsCloudFrontDistributionLogging & WithPrefix(const char *value)
Definition: AwsCloudFrontDistributionLogging.h:170
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::WithBucket
AwsCloudFrontDistributionLogging & WithBucket(Aws::String &&value)
Definition: AwsCloudFrontDistributionLogging.h:74
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::SetPrefix
void SetPrefix(const char *value)
Definition: AwsCloudFrontDistributionLogging.h:152
Aws::SecurityHub::Model::AwsCloudFrontDistributionLogging::operator=
AwsCloudFrontDistributionLogging & operator=(Aws::Utils::Json::JsonView jsonValue)