/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoT
{
namespace Model
{
/**
* The configuration of an ML Detect Security Profile.
See
* Also:
AWS
* API Reference
*/
class MachineLearningDetectionConfig
{
public:
AWS_IOT_API MachineLearningDetectionConfig();
AWS_IOT_API MachineLearningDetectionConfig(Aws::Utils::Json::JsonView jsonValue);
AWS_IOT_API MachineLearningDetectionConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The sensitivity of anomalous behavior evaluation. Can be Low
,
* Medium
, or High
.
*/
inline const ConfidenceLevel& GetConfidenceLevel() const{ return m_confidenceLevel; }
/**
* The sensitivity of anomalous behavior evaluation. Can be Low
,
* Medium
, or High
.
*/
inline bool ConfidenceLevelHasBeenSet() const { return m_confidenceLevelHasBeenSet; }
/**
* The sensitivity of anomalous behavior evaluation. Can be Low
,
* Medium
, or High
.
*/
inline void SetConfidenceLevel(const ConfidenceLevel& value) { m_confidenceLevelHasBeenSet = true; m_confidenceLevel = value; }
/**
* The sensitivity of anomalous behavior evaluation. Can be Low
,
* Medium
, or High
.
*/
inline void SetConfidenceLevel(ConfidenceLevel&& value) { m_confidenceLevelHasBeenSet = true; m_confidenceLevel = std::move(value); }
/**
* The sensitivity of anomalous behavior evaluation. Can be Low
,
* Medium
, or High
.
*/
inline MachineLearningDetectionConfig& WithConfidenceLevel(const ConfidenceLevel& value) { SetConfidenceLevel(value); return *this;}
/**
* The sensitivity of anomalous behavior evaluation. Can be Low
,
* Medium
, or High
.
*/
inline MachineLearningDetectionConfig& WithConfidenceLevel(ConfidenceLevel&& value) { SetConfidenceLevel(std::move(value)); return *this;}
private:
ConfidenceLevel m_confidenceLevel;
bool m_confidenceLevelHasBeenSet = false;
};
} // namespace Model
} // namespace IoT
} // namespace Aws