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/VerificationState.h>
13#include <aws/core/utils/DateTime.h>
54 inline void SetViolationId(
const char* value) { m_violationIdHasBeenSet =
true; m_violationId.assign(value); }
68 inline void SetThingName(
const char* value) { m_thingNameHasBeenSet =
true; m_thingName.assign(value); }
82 inline void SetSecurityProfileName(
const char* value) { m_securityProfileNameHasBeenSet =
true; m_securityProfileName.assign(value); }
95 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_lastViolationValueHasBeenSet =
false;
192 bool m_violationEventAdditionalInfoHasBeenSet =
false;
195 bool m_verificationStateHasBeenSet =
false;
198 bool m_verificationStateDescriptionHasBeenSet =
false;
201 bool m_lastViolationTimeHasBeenSet =
false;
204 bool m_violationStartTimeHasBeenSet =
false;
const Aws::Utils::DateTime & GetViolationStartTime() const
ActiveViolation & WithViolationId(Aws::String &&value)
ActiveViolation & WithVerificationStateDescription(const char *value)
const MetricValue & GetLastViolationValue() const
ActiveViolation & WithViolationId(const char *value)
ActiveViolation & WithVerificationState(const VerificationState &value)
ActiveViolation & WithThingName(const Aws::String &value)
void SetLastViolationTime(Aws::Utils::DateTime &&value)
void SetViolationStartTime(const Aws::Utils::DateTime &value)
bool BehaviorHasBeenSet() const
const Aws::String & GetViolationId() const
void SetSecurityProfileName(const Aws::String &value)
const Aws::String & GetThingName() const
bool VerificationStateDescriptionHasBeenSet() const
void SetSecurityProfileName(Aws::String &&value)
bool SecurityProfileNameHasBeenSet() const
void SetVerificationStateDescription(Aws::String &&value)
ActiveViolation & WithVerificationStateDescription(Aws::String &&value)
void SetBehavior(const Behavior &value)
void SetViolationId(Aws::String &&value)
ActiveViolation & WithViolationStartTime(Aws::Utils::DateTime &&value)
void SetVerificationStateDescription(const char *value)
ActiveViolation & WithThingName(const char *value)
bool ViolationIdHasBeenSet() const
void SetViolationEventAdditionalInfo(ViolationEventAdditionalInfo &&value)
ActiveViolation & WithViolationId(const Aws::String &value)
ActiveViolation & WithViolationStartTime(const Aws::Utils::DateTime &value)
ActiveViolation & WithBehavior(Behavior &&value)
void SetViolationEventAdditionalInfo(const ViolationEventAdditionalInfo &value)
const Aws::Utils::DateTime & GetLastViolationTime() const
void SetVerificationStateDescription(const Aws::String &value)
AWS_IOT_API ActiveViolation(Aws::Utils::Json::JsonView jsonValue)
void SetThingName(const char *value)
void SetLastViolationValue(const MetricValue &value)
ActiveViolation & WithLastViolationValue(const MetricValue &value)
ActiveViolation & WithBehavior(const Behavior &value)
ActiveViolation & WithVerificationState(VerificationState &&value)
ActiveViolation & WithSecurityProfileName(Aws::String &&value)
void SetViolationId(const Aws::String &value)
ActiveViolation & WithLastViolationTime(const Aws::Utils::DateTime &value)
bool ViolationStartTimeHasBeenSet() const
ActiveViolation & WithVerificationStateDescription(const Aws::String &value)
void SetVerificationState(const VerificationState &value)
AWS_IOT_API ActiveViolation()
ActiveViolation & WithViolationEventAdditionalInfo(ViolationEventAdditionalInfo &&value)
const Aws::String & GetVerificationStateDescription() const
ActiveViolation & WithLastViolationValue(MetricValue &&value)
bool LastViolationValueHasBeenSet() const
void SetBehavior(Behavior &&value)
const Behavior & GetBehavior() const
void SetViolationStartTime(Aws::Utils::DateTime &&value)
ActiveViolation & WithLastViolationTime(Aws::Utils::DateTime &&value)
void SetSecurityProfileName(const char *value)
bool LastViolationTimeHasBeenSet() const
ActiveViolation & WithSecurityProfileName(const Aws::String &value)
void SetViolationId(const char *value)
void SetThingName(Aws::String &&value)
void SetVerificationState(VerificationState &&value)
void SetLastViolationValue(MetricValue &&value)
void SetLastViolationTime(const Aws::Utils::DateTime &value)
bool ThingNameHasBeenSet() const
bool VerificationStateHasBeenSet() const
ActiveViolation & WithSecurityProfileName(const char *value)
const ViolationEventAdditionalInfo & GetViolationEventAdditionalInfo() const
ActiveViolation & WithThingName(Aws::String &&value)
const VerificationState & GetVerificationState() const
const Aws::String & GetSecurityProfileName() const
void SetThingName(const Aws::String &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ViolationEventAdditionalInfoHasBeenSet() const
AWS_IOT_API ActiveViolation & operator=(Aws::Utils::Json::JsonView jsonValue)
ActiveViolation & WithViolationEventAdditionalInfo(const ViolationEventAdditionalInfo &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue