AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
S3LogsConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GuardDuty {
17namespace Model {
18
26 public:
27 AWS_GUARDDUTY_API S3LogsConfiguration() = default;
28 AWS_GUARDDUTY_API S3LogsConfiguration(Aws::Utils::Json::JsonView jsonValue);
30 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetEnable() const { return m_enable; }
37 inline bool EnableHasBeenSet() const { return m_enableHasBeenSet; }
38 inline void SetEnable(bool value) {
39 m_enableHasBeenSet = true;
40 m_enable = value;
41 }
42 inline S3LogsConfiguration& WithEnable(bool value) {
43 SetEnable(value);
44 return *this;
45 }
47 private:
48 bool m_enable{false};
49 bool m_enableHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace GuardDuty
54} // namespace Aws
S3LogsConfiguration & WithEnable(bool value)
AWS_GUARDDUTY_API S3LogsConfiguration()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API S3LogsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API S3LogsConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue