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>
46 template <
typename ViolationIdT = Aws::String>
48 m_violationIdHasBeenSet =
true;
49 m_violationId = std::forward<ViolationIdT>(value);
51 template <
typename ViolationIdT = Aws::String>
64 template <
typename ThingNameT = Aws::String>
66 m_thingNameHasBeenSet =
true;
67 m_thingName = std::forward<ThingNameT>(value);
69 template <
typename ThingNameT = Aws::String>
82 template <
typename SecurityProfileNameT = Aws::String>
84 m_securityProfileNameHasBeenSet =
true;
85 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
87 template <
typename SecurityProfileNameT = Aws::String>
100 template <
typename BehaviorT = Behavior>
102 m_behaviorHasBeenSet =
true;
103 m_behavior = std::forward<BehaviorT>(value);
105 template <
typename BehaviorT = Behavior>
119 template <
typename LastViolationValueT = MetricValue>
121 m_lastViolationValueHasBeenSet =
true;
122 m_lastViolationValue = std::forward<LastViolationValueT>(value);
124 template <
typename LastViolationValueT = MetricValue>
137 template <
typename ViolationEventAdditionalInfoT = ViolationEventAdditionalInfo>
139 m_violationEventAdditionalInfoHasBeenSet =
true;
140 m_violationEventAdditionalInfo = std::forward<ViolationEventAdditionalInfoT>(value);
142 template <
typename ViolationEventAdditionalInfoT = ViolationEventAdditionalInfo>
156 m_verificationStateHasBeenSet =
true;
157 m_verificationState = value;
171 template <
typename VerificationStateDescriptionT = Aws::String>
173 m_verificationStateDescriptionHasBeenSet =
true;
174 m_verificationStateDescription = std::forward<VerificationStateDescriptionT>(value);
176 template <
typename VerificationStateDescriptionT = Aws::String>
189 template <
typename LastViolationTimeT = Aws::Utils::DateTime>
191 m_lastViolationTimeHasBeenSet =
true;
192 m_lastViolationTime = std::forward<LastViolationTimeT>(value);
194 template <
typename LastViolationTimeT = Aws::Utils::DateTime>
207 template <
typename ViolationStartTimeT = Aws::Utils::DateTime>
209 m_violationStartTimeHasBeenSet =
true;
210 m_violationStartTime = std::forward<ViolationStartTimeT>(value);
212 template <
typename ViolationStartTimeT = Aws::Utils::DateTime>
238 bool m_violationIdHasBeenSet =
false;
239 bool m_thingNameHasBeenSet =
false;
240 bool m_securityProfileNameHasBeenSet =
false;
241 bool m_behaviorHasBeenSet =
false;
242 bool m_lastViolationValueHasBeenSet =
false;
243 bool m_violationEventAdditionalInfoHasBeenSet =
false;
244 bool m_verificationStateHasBeenSet =
false;
245 bool m_verificationStateDescriptionHasBeenSet =
false;
246 bool m_lastViolationTimeHasBeenSet =
false;
247 bool m_violationStartTimeHasBeenSet =
false;
const Aws::Utils::DateTime & GetViolationStartTime() const
const MetricValue & GetLastViolationValue() const
ActiveViolation & WithBehavior(BehaviorT &&value)
ActiveViolation & WithLastViolationTime(LastViolationTimeT &&value)
bool BehaviorHasBeenSet() const
const Aws::String & GetViolationId() const
ActiveViolation & WithViolationStartTime(ViolationStartTimeT &&value)
const Aws::String & GetThingName() const
bool VerificationStateDescriptionHasBeenSet() const
bool SecurityProfileNameHasBeenSet() const
AWS_IOT_API ActiveViolation()=default
void SetViolationId(ViolationIdT &&value)
bool ViolationIdHasBeenSet() const
void SetVerificationState(VerificationState value)
ActiveViolation & WithViolationEventAdditionalInfo(ViolationEventAdditionalInfoT &&value)
void SetVerificationStateDescription(VerificationStateDescriptionT &&value)
ActiveViolation & WithThingName(ThingNameT &&value)
void SetThingName(ThingNameT &&value)
const Aws::Utils::DateTime & GetLastViolationTime() const
AWS_IOT_API ActiveViolation(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityProfileName(SecurityProfileNameT &&value)
void SetLastViolationValue(LastViolationValueT &&value)
bool ViolationStartTimeHasBeenSet() const
ActiveViolation & WithLastViolationValue(LastViolationValueT &&value)
void SetViolationStartTime(ViolationStartTimeT &&value)
void SetBehavior(BehaviorT &&value)
VerificationState GetVerificationState() const
const Aws::String & GetVerificationStateDescription() const
ActiveViolation & WithVerificationStateDescription(VerificationStateDescriptionT &&value)
ActiveViolation & WithSecurityProfileName(SecurityProfileNameT &&value)
bool LastViolationValueHasBeenSet() const
const Behavior & GetBehavior() const
bool LastViolationTimeHasBeenSet() const
void SetViolationEventAdditionalInfo(ViolationEventAdditionalInfoT &&value)
ActiveViolation & WithViolationId(ViolationIdT &&value)
bool ThingNameHasBeenSet() const
bool VerificationStateHasBeenSet() const
const ViolationEventAdditionalInfo & GetViolationEventAdditionalInfo() const
void SetLastViolationTime(LastViolationTimeT &&value)
const Aws::String & GetSecurityProfileName() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ActiveViolation & WithVerificationState(VerificationState value)
bool ViolationEventAdditionalInfoHasBeenSet() const
AWS_IOT_API ActiveViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue