AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
OrganizationAdditionalConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/OrgFeatureAdditionalConfiguration.h>
9#include <aws/guardduty/model/OrgFeatureStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GuardDuty {
21namespace Model {
22
31 public:
32 AWS_GUARDDUTY_API OrganizationAdditionalConfiguration() = default;
35 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline OrgFeatureAdditionalConfiguration GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 m_nameHasBeenSet = true;
47 m_name = value;
48 }
50 SetName(value);
51 return *this;
52 }
54
56
72 inline OrgFeatureStatus GetAutoEnable() const { return m_autoEnable; }
73 inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
74 inline void SetAutoEnable(OrgFeatureStatus value) {
75 m_autoEnableHasBeenSet = true;
76 m_autoEnable = value;
77 }
79 SetAutoEnable(value);
80 return *this;
81 }
83 private:
85
87 bool m_nameHasBeenSet = false;
88 bool m_autoEnableHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace GuardDuty
93} // namespace Aws
AWS_GUARDDUTY_API OrganizationAdditionalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API OrganizationAdditionalConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationAdditionalConfiguration & WithAutoEnable(OrgFeatureStatus value)
OrganizationAdditionalConfiguration & WithName(OrgFeatureAdditionalConfiguration value)
Aws::Utils::Json::JsonValue JsonValue