AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
ProtectionPlan.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/FeatureStatus.h>
9#include <aws/guardduty/model/InvestigationDetectorFeature.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
30 public:
31 AWS_GUARDDUTY_API ProtectionPlan() = default;
32 AWS_GUARDDUTY_API ProtectionPlan(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
47 inline InvestigationDetectorFeature GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 m_nameHasBeenSet = true;
51 m_name = value;
52 }
54 SetName(value);
55 return *this;
56 }
58
60
64 inline FeatureStatus GetStatus() const { return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(FeatureStatus value) {
67 m_statusHasBeenSet = true;
68 m_status = value;
69 }
71 SetStatus(value);
72 return *this;
73 }
75 private:
77
79 bool m_nameHasBeenSet = false;
80 bool m_statusHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace GuardDuty
85} // namespace Aws
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
InvestigationDetectorFeature GetName() const
AWS_GUARDDUTY_API ProtectionPlan()=default
AWS_GUARDDUTY_API ProtectionPlan(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API ProtectionPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(FeatureStatus value)
ProtectionPlan & WithStatus(FeatureStatus value)
void SetName(InvestigationDetectorFeature value)
ProtectionPlan & WithName(InvestigationDetectorFeature value)
Aws::Utils::Json::JsonValue JsonValue