AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
OrganizationS3LogsConfiguration.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 OrganizationS3LogsConfiguration() = default;
30 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline bool GetAutoEnable() const { return m_autoEnable; }
38 inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
39 inline void SetAutoEnable(bool value) {
40 m_autoEnableHasBeenSet = true;
41 m_autoEnable = value;
42 }
44 SetAutoEnable(value);
45 return *this;
46 }
48 private:
49 bool m_autoEnable{false};
50 bool m_autoEnableHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace GuardDuty
55} // namespace Aws
OrganizationS3LogsConfiguration & WithAutoEnable(bool value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API OrganizationS3LogsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API OrganizationS3LogsConfiguration()=default
AWS_GUARDDUTY_API OrganizationS3LogsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue