7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/Behavior.h>
10#include <aws/iot/model/MetricValue.h>
11#include <aws/iot/model/ViolationEventAdditionalInfo.h>
12#include <aws/iot/model/ViolationEventType.h>
13#include <aws/iot/model/VerificationState.h>
14#include <aws/core/utils/DateTime.h>
53 template<
typename ViolationIdT = Aws::String>
54 void SetViolationId(ViolationIdT&& value) { m_violationIdHasBeenSet =
true; m_violationId = std::forward<ViolationIdT>(value); }
55 template<
typename ViolationIdT = Aws::String>
65 template<
typename ThingNameT = Aws::String>
66 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet =
true; m_thingName = std::forward<ThingNameT>(value); }
67 template<
typename ThingNameT = Aws::String>
77 template<
typename SecurityProfileNameT = Aws::String>
78 void SetSecurityProfileName(SecurityProfileNameT&& value) { m_securityProfileNameHasBeenSet =
true; m_securityProfileName = std::forward<SecurityProfileNameT>(value); }
79 template<
typename SecurityProfileNameT = Aws::String>
89 template<
typename BehaviorT = Behavior>
90 void SetBehavior(BehaviorT&& value) { m_behaviorHasBeenSet =
true; m_behavior = std::forward<BehaviorT>(value); }
91 template<
typename BehaviorT = Behavior>
101 template<
typename MetricValueT = MetricValue>
102 void SetMetricValue(MetricValueT&& value) { m_metricValueHasBeenSet =
true; m_metricValue = std::forward<MetricValueT>(value); }
103 template<
typename MetricValueT = MetricValue>
113 template<
typename ViolationEventAdditionalInfoT = ViolationEventAdditionalInfo>
114 void SetViolationEventAdditionalInfo(ViolationEventAdditionalInfoT&& value) { m_violationEventAdditionalInfoHasBeenSet =
true; m_violationEventAdditionalInfo = std::forward<ViolationEventAdditionalInfoT>(value); }
115 template<
typename ViolationEventAdditionalInfoT = ViolationEventAdditionalInfo>
145 template<
typename VerificationStateDescriptionT = Aws::String>
146 void SetVerificationStateDescription(VerificationStateDescriptionT&& value) { m_verificationStateDescriptionHasBeenSet =
true; m_verificationStateDescription = std::forward<VerificationStateDescriptionT>(value); }
147 template<
typename VerificationStateDescriptionT = Aws::String>
157 template<
typename ViolationEventTimeT = Aws::Utils::DateTime>
158 void SetViolationEventTime(ViolationEventTimeT&& value) { m_violationEventTimeHasBeenSet =
true; m_violationEventTime = std::forward<ViolationEventTimeT>(value); }
159 template<
typename ViolationEventTimeT = Aws::Utils::DateTime>
165 bool m_violationIdHasBeenSet =
false;
168 bool m_thingNameHasBeenSet =
false;
171 bool m_securityProfileNameHasBeenSet =
false;
174 bool m_behaviorHasBeenSet =
false;
177 bool m_metricValueHasBeenSet =
false;
180 bool m_violationEventAdditionalInfoHasBeenSet =
false;
183 bool m_violationEventTypeHasBeenSet =
false;
186 bool m_verificationStateHasBeenSet =
false;
189 bool m_verificationStateDescriptionHasBeenSet =
false;
192 bool m_violationEventTimeHasBeenSet =
false;
VerificationState GetVerificationState() const
ViolationEvent & WithBehavior(BehaviorT &&value)
ViolationEvent & WithViolationId(ViolationIdT &&value)
const MetricValue & GetMetricValue() const
ViolationEventType GetViolationEventType() const
void SetSecurityProfileName(SecurityProfileNameT &&value)
void SetViolationEventAdditionalInfo(ViolationEventAdditionalInfoT &&value)
const Aws::String & GetViolationId() const
AWS_IOT_API ViolationEvent()=default
bool BehaviorHasBeenSet() const
ViolationEvent & WithSecurityProfileName(SecurityProfileNameT &&value)
void SetVerificationState(VerificationState value)
bool ViolationEventAdditionalInfoHasBeenSet() const
void SetViolationEventTime(ViolationEventTimeT &&value)
ViolationEvent & WithMetricValue(MetricValueT &&value)
ViolationEvent & WithViolationEventType(ViolationEventType value)
ViolationEvent & WithVerificationState(VerificationState value)
void SetThingName(ThingNameT &&value)
const Behavior & GetBehavior() const
const ViolationEventAdditionalInfo & GetViolationEventAdditionalInfo() const
bool VerificationStateHasBeenSet() const
const Aws::Utils::DateTime & GetViolationEventTime() const
void SetMetricValue(MetricValueT &&value)
const Aws::String & GetVerificationStateDescription() const
ViolationEvent & WithVerificationStateDescription(VerificationStateDescriptionT &&value)
void SetViolationId(ViolationIdT &&value)
bool SecurityProfileNameHasBeenSet() const
ViolationEvent & WithThingName(ThingNameT &&value)
void SetVerificationStateDescription(VerificationStateDescriptionT &&value)
AWS_IOT_API ViolationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThingNameHasBeenSet() const
bool MetricValueHasBeenSet() const
void SetViolationEventType(ViolationEventType value)
ViolationEvent & WithViolationEventTime(ViolationEventTimeT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ViolationEventTypeHasBeenSet() const
bool VerificationStateDescriptionHasBeenSet() const
const Aws::String & GetSecurityProfileName() const
AWS_IOT_API ViolationEvent(Aws::Utils::Json::JsonView jsonValue)
ViolationEvent & WithViolationEventAdditionalInfo(ViolationEventAdditionalInfoT &&value)
bool ViolationIdHasBeenSet() const
void SetBehavior(BehaviorT &&value)
bool ViolationEventTimeHasBeenSet() const
const Aws::String & GetThingName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue