AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectorFeatureConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/DetectorFeature.h>
9#include <aws/guardduty/model/FeatureStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/DetectorAdditionalConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty
25{
26namespace Model
27{
28
41 {
42 public:
43 AWS_GUARDDUTY_API DetectorFeatureConfiguration();
46 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const DetectorFeature& GetName() const{ return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 inline void SetName(const DetectorFeature& value) { m_nameHasBeenSet = true; m_name = value; }
56 inline void SetName(DetectorFeature&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 inline DetectorFeatureConfiguration& WithName(const DetectorFeature& value) { SetName(value); return *this;}
58 inline DetectorFeatureConfiguration& WithName(DetectorFeature&& value) { SetName(std::move(value)); return *this;}
60
62
65 inline const FeatureStatus& GetStatus() const{ return m_status; }
66 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
67 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
68 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
69 inline DetectorFeatureConfiguration& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
70 inline DetectorFeatureConfiguration& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
72
74
77 inline const Aws::Vector<DetectorAdditionalConfiguration>& GetAdditionalConfiguration() const{ return m_additionalConfiguration; }
78 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
79 inline void SetAdditionalConfiguration(const Aws::Vector<DetectorAdditionalConfiguration>& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
80 inline void SetAdditionalConfiguration(Aws::Vector<DetectorAdditionalConfiguration>&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
83 inline DetectorFeatureConfiguration& AddAdditionalConfiguration(const DetectorAdditionalConfiguration& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(value); return *this; }
84 inline DetectorFeatureConfiguration& AddAdditionalConfiguration(DetectorAdditionalConfiguration&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.push_back(std::move(value)); return *this; }
86 private:
87
88 DetectorFeature m_name;
89 bool m_nameHasBeenSet = false;
90
91 FeatureStatus m_status;
92 bool m_statusHasBeenSet = false;
93
94 Aws::Vector<DetectorAdditionalConfiguration> m_additionalConfiguration;
95 bool m_additionalConfigurationHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace GuardDuty
100} // namespace Aws
DetectorFeatureConfiguration & WithStatus(const FeatureStatus &value)
DetectorFeatureConfiguration & AddAdditionalConfiguration(const DetectorAdditionalConfiguration &value)
const Aws::Vector< DetectorAdditionalConfiguration > & GetAdditionalConfiguration() const
DetectorFeatureConfiguration & WithAdditionalConfiguration(const Aws::Vector< DetectorAdditionalConfiguration > &value)
void SetAdditionalConfiguration(Aws::Vector< DetectorAdditionalConfiguration > &&value)
DetectorFeatureConfiguration & WithName(DetectorFeature &&value)
void SetAdditionalConfiguration(const Aws::Vector< DetectorAdditionalConfiguration > &value)
DetectorFeatureConfiguration & WithStatus(FeatureStatus &&value)
AWS_GUARDDUTY_API DetectorFeatureConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API DetectorFeatureConfiguration(Aws::Utils::Json::JsonView jsonValue)
DetectorFeatureConfiguration & AddAdditionalConfiguration(DetectorAdditionalConfiguration &&value)
DetectorFeatureConfiguration & WithAdditionalConfiguration(Aws::Vector< DetectorAdditionalConfiguration > &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
DetectorFeatureConfiguration & WithName(const DetectorFeature &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue