AWS SDK for C++  1.9.155
AWS SDK for C++
MachineLearningDetectionConfig.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const ConfidenceLevel& GetConfidenceLevel() const{ return m_confidenceLevel; }
46 
51  inline bool ConfidenceLevelHasBeenSet() const { return m_confidenceLevelHasBeenSet; }
52 
57  inline void SetConfidenceLevel(const ConfidenceLevel& value) { m_confidenceLevelHasBeenSet = true; m_confidenceLevel = value; }
58 
63  inline void SetConfidenceLevel(ConfidenceLevel&& value) { m_confidenceLevelHasBeenSet = true; m_confidenceLevel = std::move(value); }
64 
69  inline MachineLearningDetectionConfig& WithConfidenceLevel(const ConfidenceLevel& value) { SetConfidenceLevel(value); return *this;}
70 
75  inline MachineLearningDetectionConfig& WithConfidenceLevel(ConfidenceLevel&& value) { SetConfidenceLevel(std::move(value)); return *this;}
76 
77  private:
78 
79  ConfidenceLevel m_confidenceLevel;
80  bool m_confidenceLevelHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace IoT
85 } // namespace Aws
Aws::IoT::Model::MachineLearningDetectionConfig::ConfidenceLevelHasBeenSet
bool ConfidenceLevelHasBeenSet() const
Definition: MachineLearningDetectionConfig.h:51
Aws::IoT::Model::MachineLearningDetectionConfig::operator=
MachineLearningDetectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::MachineLearningDetectionConfig::GetConfidenceLevel
const ConfidenceLevel & GetConfidenceLevel() const
Definition: MachineLearningDetectionConfig.h:45
Aws::IoT::Model::MachineLearningDetectionConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::MachineLearningDetectionConfig::SetConfidenceLevel
void SetConfidenceLevel(const ConfidenceLevel &value)
Definition: MachineLearningDetectionConfig.h:57
Aws::IoT::Model::MachineLearningDetectionConfig::SetConfidenceLevel
void SetConfidenceLevel(ConfidenceLevel &&value)
Definition: MachineLearningDetectionConfig.h:63
Aws::IoT::Model::MachineLearningDetectionConfig
Definition: MachineLearningDetectionConfig.h:33
Aws::IoT::Model::MachineLearningDetectionConfig::WithConfidenceLevel
MachineLearningDetectionConfig & WithConfidenceLevel(ConfidenceLevel &&value)
Definition: MachineLearningDetectionConfig.h:75
ConfidenceLevel.h
Aws::IoT::Model::MachineLearningDetectionConfig::MachineLearningDetectionConfig
MachineLearningDetectionConfig()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::MachineLearningDetectionConfig::MachineLearningDetectionConfig
MachineLearningDetectionConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::MachineLearningDetectionConfig::WithConfidenceLevel
MachineLearningDetectionConfig & WithConfidenceLevel(const ConfidenceLevel &value)
Definition: MachineLearningDetectionConfig.h:69
Aws::IoT::Model::ConfidenceLevel
ConfidenceLevel
Definition: ConfidenceLevel.h:17
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
IoT_EXPORTS.h