AWS SDK for C++  1.9.123
AWS SDK for C++
ViolationEventAdditionalInfo.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 
32  {
33  public:
38 
39 
44  inline const ConfidenceLevel& GetConfidenceLevel() const{ return m_confidenceLevel; }
45 
50  inline bool ConfidenceLevelHasBeenSet() const { return m_confidenceLevelHasBeenSet; }
51 
56  inline void SetConfidenceLevel(const ConfidenceLevel& value) { m_confidenceLevelHasBeenSet = true; m_confidenceLevel = value; }
57 
62  inline void SetConfidenceLevel(ConfidenceLevel&& value) { m_confidenceLevelHasBeenSet = true; m_confidenceLevel = std::move(value); }
63 
68  inline ViolationEventAdditionalInfo& WithConfidenceLevel(const ConfidenceLevel& value) { SetConfidenceLevel(value); return *this;}
69 
74  inline ViolationEventAdditionalInfo& WithConfidenceLevel(ConfidenceLevel&& value) { SetConfidenceLevel(std::move(value)); return *this;}
75 
76  private:
77 
78  ConfidenceLevel m_confidenceLevel;
79  bool m_confidenceLevelHasBeenSet;
80  };
81 
82 } // namespace Model
83 } // namespace IoT
84 } // namespace Aws
Aws::IoT::Model::ViolationEventAdditionalInfo::WithConfidenceLevel
ViolationEventAdditionalInfo & WithConfidenceLevel(const ConfidenceLevel &value)
Definition: ViolationEventAdditionalInfo.h:68
Aws::IoT::Model::ViolationEventAdditionalInfo::operator=
ViolationEventAdditionalInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ViolationEventAdditionalInfo::WithConfidenceLevel
ViolationEventAdditionalInfo & WithConfidenceLevel(ConfidenceLevel &&value)
Definition: ViolationEventAdditionalInfo.h:74
Aws::IoT::Model::ViolationEventAdditionalInfo::ConfidenceLevelHasBeenSet
bool ConfidenceLevelHasBeenSet() const
Definition: ViolationEventAdditionalInfo.h:50
Aws::IoT::Model::ViolationEventAdditionalInfo::SetConfidenceLevel
void SetConfidenceLevel(ConfidenceLevel &&value)
Definition: ViolationEventAdditionalInfo.h:62
Aws::IoT::Model::ViolationEventAdditionalInfo::ViolationEventAdditionalInfo
ViolationEventAdditionalInfo(Aws::Utils::Json::JsonView jsonValue)
ConfidenceLevel.h
Aws::IoT::Model::ViolationEventAdditionalInfo::GetConfidenceLevel
const ConfidenceLevel & GetConfidenceLevel() const
Definition: ViolationEventAdditionalInfo.h:44
Aws::IoT::Model::ViolationEventAdditionalInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::ViolationEventAdditionalInfo::ViolationEventAdditionalInfo
ViolationEventAdditionalInfo()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ConfidenceLevel
ConfidenceLevel
Definition: ConfidenceLevel.h:17
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::ViolationEventAdditionalInfo::SetConfidenceLevel
void SetConfidenceLevel(const ConfidenceLevel &value)
Definition: ViolationEventAdditionalInfo.h:56
Aws::IoT::Model::ViolationEventAdditionalInfo
Definition: ViolationEventAdditionalInfo.h:32
IoT_EXPORTS.h