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>
55 inline void SetViolationId(
const char* value) { m_violationIdHasBeenSet =
true; m_violationId.assign(value); }
69 inline void SetThingName(
const char* value) { m_thingNameHasBeenSet =
true; m_thingName.assign(value); }
83 inline void SetSecurityProfileName(
const char* value) { m_securityProfileNameHasBeenSet =
true; m_securityProfileName.assign(value); }
96 inline void SetBehavior(
Behavior&& value) { m_behaviorHasBeenSet =
true; m_behavior = std::move(value); }
177 bool m_violationIdHasBeenSet =
false;
180 bool m_thingNameHasBeenSet =
false;
183 bool m_securityProfileNameHasBeenSet =
false;
186 bool m_behaviorHasBeenSet =
false;
189 bool m_metricValueHasBeenSet =
false;
192 bool m_violationEventAdditionalInfoHasBeenSet =
false;
195 bool m_violationEventTypeHasBeenSet =
false;
198 bool m_verificationStateHasBeenSet =
false;
201 bool m_verificationStateDescriptionHasBeenSet =
false;
204 bool m_violationEventTimeHasBeenSet =
false;
ViolationEvent & WithViolationEventTime(Aws::Utils::DateTime &&value)
ViolationEvent & WithVerificationState(const VerificationState &value)
void SetVerificationState(VerificationState &&value)
ViolationEvent & WithViolationEventAdditionalInfo(const ViolationEventAdditionalInfo &value)
void SetMetricValue(const MetricValue &value)
void SetBehavior(Behavior &&value)
void SetViolationId(Aws::String &&value)
const MetricValue & GetMetricValue() const
ViolationEvent & WithViolationEventAdditionalInfo(ViolationEventAdditionalInfo &&value)
void SetVerificationStateDescription(const Aws::String &value)
const Aws::String & GetViolationId() const
void SetThingName(const Aws::String &value)
void SetVerificationStateDescription(Aws::String &&value)
ViolationEvent & WithThingName(Aws::String &&value)
void SetViolationEventAdditionalInfo(const ViolationEventAdditionalInfo &value)
void SetSecurityProfileName(const char *value)
ViolationEvent & WithSecurityProfileName(const Aws::String &value)
bool BehaviorHasBeenSet() const
ViolationEvent & WithVerificationStateDescription(const Aws::String &value)
ViolationEvent & WithThingName(const char *value)
ViolationEvent & WithViolationId(const Aws::String &value)
void SetViolationEventTime(const Aws::Utils::DateTime &value)
bool ViolationEventAdditionalInfoHasBeenSet() const
ViolationEvent & WithMetricValue(MetricValue &&value)
ViolationEvent & WithViolationEventType(const ViolationEventType &value)
ViolationEvent & WithThingName(const Aws::String &value)
void SetVerificationStateDescription(const char *value)
void SetViolationEventAdditionalInfo(ViolationEventAdditionalInfo &&value)
const Behavior & GetBehavior() const
ViolationEvent & WithVerificationState(VerificationState &&value)
const ViolationEventAdditionalInfo & GetViolationEventAdditionalInfo() const
ViolationEvent & WithSecurityProfileName(Aws::String &&value)
void SetViolationEventTime(Aws::Utils::DateTime &&value)
bool VerificationStateHasBeenSet() const
const VerificationState & GetVerificationState() const
const Aws::Utils::DateTime & GetViolationEventTime() const
void SetViolationEventType(const ViolationEventType &value)
ViolationEvent & WithMetricValue(const MetricValue &value)
ViolationEvent & WithVerificationStateDescription(Aws::String &&value)
void SetViolationEventType(ViolationEventType &&value)
const Aws::String & GetVerificationStateDescription() const
void SetViolationId(const Aws::String &value)
bool SecurityProfileNameHasBeenSet() const
const ViolationEventType & GetViolationEventType() const
ViolationEvent & WithSecurityProfileName(const char *value)
ViolationEvent & WithViolationEventTime(const Aws::Utils::DateTime &value)
ViolationEvent & WithBehavior(const Behavior &value)
AWS_IOT_API ViolationEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThingNameHasBeenSet() const
bool MetricValueHasBeenSet() const
ViolationEvent & WithVerificationStateDescription(const char *value)
void SetMetricValue(MetricValue &&value)
void SetThingName(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ViolationEventTypeHasBeenSet() const
bool VerificationStateDescriptionHasBeenSet() const
const Aws::String & GetSecurityProfileName() const
void SetViolationId(const char *value)
void SetVerificationState(const VerificationState &value)
ViolationEvent & WithViolationEventType(ViolationEventType &&value)
ViolationEvent & WithViolationId(Aws::String &&value)
ViolationEvent & WithBehavior(Behavior &&value)
AWS_IOT_API ViolationEvent(Aws::Utils::Json::JsonView jsonValue)
void SetThingName(Aws::String &&value)
bool ViolationIdHasBeenSet() const
bool ViolationEventTimeHasBeenSet() const
void SetSecurityProfileName(const Aws::String &value)
void SetSecurityProfileName(Aws::String &&value)
void SetBehavior(const Behavior &value)
const Aws::String & GetThingName() const
AWS_IOT_API ViolationEvent()
ViolationEvent & WithViolationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue