AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectorAdditionalConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/FeatureAdditionalConfiguration.h>
9#include <aws/guardduty/model/FeatureStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const FeatureAdditionalConfiguration& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const FeatureAdditionalConfiguration& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(FeatureAdditionalConfiguration&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline DetectorAdditionalConfiguration& WithName(FeatureAdditionalConfiguration&& value) { SetName(std::move(value)); return *this;}
53
55
58 inline const FeatureStatus& GetStatus() const{ return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
61 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
62 inline DetectorAdditionalConfiguration& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
63 inline DetectorAdditionalConfiguration& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
65 private:
66
68 bool m_nameHasBeenSet = false;
69
70 FeatureStatus m_status;
71 bool m_statusHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace GuardDuty
76} // namespace Aws
DetectorAdditionalConfiguration & WithStatus(const FeatureStatus &value)
DetectorAdditionalConfiguration & WithStatus(FeatureStatus &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const FeatureAdditionalConfiguration &value)
AWS_GUARDDUTY_API DetectorAdditionalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API DetectorAdditionalConfiguration(Aws::Utils::Json::JsonView jsonValue)
DetectorAdditionalConfiguration & WithName(FeatureAdditionalConfiguration &&value)
DetectorAdditionalConfiguration & WithName(const FeatureAdditionalConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue