AWS SDK for C++  1.9.106
AWS SDK for C++
S3LogsConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace GuardDuty
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline bool GetEnable() const{ return m_enable; }
43 
47  inline bool EnableHasBeenSet() const { return m_enableHasBeenSet; }
48 
52  inline void SetEnable(bool value) { m_enableHasBeenSet = true; m_enable = value; }
53 
57  inline S3LogsConfiguration& WithEnable(bool value) { SetEnable(value); return *this;}
58 
59  private:
60 
61  bool m_enable;
62  bool m_enableHasBeenSet;
63  };
64 
65 } // namespace Model
66 } // namespace GuardDuty
67 } // namespace Aws
Aws::GuardDuty::Model::S3LogsConfiguration::EnableHasBeenSet
bool EnableHasBeenSet() const
Definition: S3LogsConfiguration.h:47
Aws::GuardDuty::Model::S3LogsConfiguration
Definition: S3LogsConfiguration.h:31
Aws::GuardDuty::Model::S3LogsConfiguration::S3LogsConfiguration
S3LogsConfiguration()
Aws::GuardDuty::Model::S3LogsConfiguration::WithEnable
S3LogsConfiguration & WithEnable(bool value)
Definition: S3LogsConfiguration.h:57
Aws::GuardDuty::Model::S3LogsConfiguration::GetEnable
bool GetEnable() const
Definition: S3LogsConfiguration.h:42
Aws::GuardDuty::Model::S3LogsConfiguration::S3LogsConfiguration
S3LogsConfiguration(Aws::Utils::Json::JsonView jsonValue)
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::S3LogsConfiguration::SetEnable
void SetEnable(bool value)
Definition: S3LogsConfiguration.h:52
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::S3LogsConfiguration::operator=
S3LogsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GuardDuty::Model::S3LogsConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15