7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/Behavior.h>
11#include <aws/iot/model/MetricValue.h>
12#include <aws/iot/model/VerificationState.h>
13#include <aws/iot/model/ViolationEventAdditionalInfo.h>
14#include <aws/iot/model/ViolationEventType.h>
47 template <
typename ViolationIdT = Aws::String>
49 m_violationIdHasBeenSet =
true;
50 m_violationId = std::forward<ViolationIdT>(value);
52 template <
typename ViolationIdT = Aws::String>
65 template <
typename ThingNameT = Aws::String>
67 m_thingNameHasBeenSet =
true;
68 m_thingName = std::forward<ThingNameT>(value);
70 template <
typename ThingNameT = Aws::String>
83 template <
typename SecurityProfileNameT = Aws::String>
85 m_securityProfileNameHasBeenSet =
true;
86 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
88 template <
typename SecurityProfileNameT = Aws::String>
101 template <
typename BehaviorT = Behavior>
103 m_behaviorHasBeenSet =
true;
104 m_behavior = std::forward<BehaviorT>(value);
106 template <
typename BehaviorT = Behavior>
119 template <
typename MetricValueT = MetricValue>
121 m_metricValueHasBeenSet =
true;
122 m_metricValue = std::forward<MetricValueT>(value);
124 template <
typename MetricValueT = MetricValue>
137 template <
typename ViolationEventAdditionalInfoT = ViolationEventAdditionalInfo>
139 m_violationEventAdditionalInfoHasBeenSet =
true;
140 m_violationEventAdditionalInfo = std::forward<ViolationEventAdditionalInfoT>(value);
142 template <
typename ViolationEventAdditionalInfoT = ViolationEventAdditionalInfo>
156 m_violationEventTypeHasBeenSet =
true;
157 m_violationEventType = value;
172 m_verificationStateHasBeenSet =
true;
173 m_verificationState = value;
187 template <
typename VerificationStateDescriptionT = Aws::String>
189 m_verificationStateDescriptionHasBeenSet =
true;
190 m_verificationStateDescription = std::forward<VerificationStateDescriptionT>(value);
192 template <
typename VerificationStateDescriptionT = Aws::String>
205 template <
typename ViolationEventTimeT = Aws::Utils::DateTime>
207 m_violationEventTimeHasBeenSet =
true;
208 m_violationEventTime = std::forward<ViolationEventTimeT>(value);
210 template <
typename ViolationEventTimeT = Aws::Utils::DateTime>
236 bool m_violationIdHasBeenSet =
false;
237 bool m_thingNameHasBeenSet =
false;
238 bool m_securityProfileNameHasBeenSet =
false;
239 bool m_behaviorHasBeenSet =
false;
240 bool m_metricValueHasBeenSet =
false;
241 bool m_violationEventAdditionalInfoHasBeenSet =
false;
242 bool m_violationEventTypeHasBeenSet =
false;
243 bool m_verificationStateHasBeenSet =
false;
244 bool m_verificationStateDescriptionHasBeenSet =
false;
245 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