7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iot/model/DetectMitigationActionExecutionStatus.h>
51 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
65 inline void SetViolationId(
const char* value) { m_violationIdHasBeenSet =
true; m_violationId.assign(value); }
79 inline void SetActionName(
const char* value) { m_actionNameHasBeenSet =
true; m_actionName.assign(value); }
93 inline void SetThingName(
const char* value) { m_thingNameHasBeenSet =
true; m_thingName.assign(value); }
143 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
157 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
165 bool m_taskIdHasBeenSet =
false;
168 bool m_violationIdHasBeenSet =
false;
171 bool m_actionNameHasBeenSet =
false;
174 bool m_thingNameHasBeenSet =
false;
177 bool m_executionStartDateHasBeenSet =
false;
180 bool m_executionEndDateHasBeenSet =
false;
183 bool m_statusHasBeenSet =
false;
186 bool m_errorCodeHasBeenSet =
false;
189 bool m_messageHasBeenSet =
false;
bool TaskIdHasBeenSet() const
bool ActionNameHasBeenSet() const
void SetMessage(Aws::String &&value)
DetectMitigationActionExecution & WithExecutionStartDate(const Aws::Utils::DateTime &value)
void SetViolationId(Aws::String &&value)
DetectMitigationActionExecution & WithMessage(const Aws::String &value)
AWS_IOT_API DetectMitigationActionExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectMitigationActionExecution & WithThingName(Aws::String &&value)
DetectMitigationActionExecution & WithActionName(const Aws::String &value)
void SetErrorCode(const Aws::String &value)
void SetThingName(const Aws::String &value)
void SetThingName(const char *value)
void SetActionName(Aws::String &&value)
DetectMitigationActionExecution & WithMessage(Aws::String &&value)
const Aws::String & GetActionName() const
void SetExecutionStartDate(Aws::Utils::DateTime &&value)
void SetTaskId(const Aws::String &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorCode() const
const Aws::String & GetMessage() const
DetectMitigationActionExecution & WithErrorCode(const char *value)
DetectMitigationActionExecution & WithExecutionEndDate(const Aws::Utils::DateTime &value)
void SetViolationId(const Aws::String &value)
void SetStatus(const DetectMitigationActionExecutionStatus &value)
DetectMitigationActionExecution & WithViolationId(const char *value)
bool ErrorCodeHasBeenSet() const
void SetErrorCode(Aws::String &&value)
void SetExecutionEndDate(const Aws::Utils::DateTime &value)
void SetErrorCode(const char *value)
AWS_IOT_API DetectMitigationActionExecution(Aws::Utils::Json::JsonView jsonValue)
void SetViolationId(const char *value)
bool MessageHasBeenSet() const
bool ExecutionStartDateHasBeenSet() const
DetectMitigationActionExecution & WithMessage(const char *value)
void SetTaskId(Aws::String &&value)
bool StatusHasBeenSet() const
DetectMitigationActionExecution & WithViolationId(const Aws::String &value)
void SetStatus(DetectMitigationActionExecutionStatus &&value)
DetectMitigationActionExecution & WithStatus(DetectMitigationActionExecutionStatus &&value)
DetectMitigationActionExecution & WithThingName(const char *value)
DetectMitigationActionExecution & WithActionName(const char *value)
DetectMitigationActionExecution & WithExecutionEndDate(Aws::Utils::DateTime &&value)
DetectMitigationActionExecution & WithErrorCode(Aws::String &&value)
const Aws::String & GetTaskId() const
DetectMitigationActionExecution & WithViolationId(Aws::String &&value)
const DetectMitigationActionExecutionStatus & GetStatus() const
DetectMitigationActionExecution & WithStatus(const DetectMitigationActionExecutionStatus &value)
DetectMitigationActionExecution & WithExecutionStartDate(Aws::Utils::DateTime &&value)
DetectMitigationActionExecution & WithTaskId(Aws::String &&value)
bool ThingNameHasBeenSet() const
bool ViolationIdHasBeenSet() const
void SetTaskId(const char *value)
void SetThingName(Aws::String &&value)
const Aws::String & GetThingName() const
DetectMitigationActionExecution & WithTaskId(const Aws::String &value)
DetectMitigationActionExecution & WithThingName(const Aws::String &value)
const Aws::Utils::DateTime & GetExecutionStartDate() const
const Aws::Utils::DateTime & GetExecutionEndDate() const
void SetMessage(const Aws::String &value)
void SetActionName(const Aws::String &value)
AWS_IOT_API DetectMitigationActionExecution()
DetectMitigationActionExecution & WithErrorCode(const Aws::String &value)
DetectMitigationActionExecution & WithTaskId(const char *value)
void SetActionName(const char *value)
void SetExecutionStartDate(const Aws::Utils::DateTime &value)
void SetMessage(const char *value)
bool ExecutionEndDateHasBeenSet() const
void SetExecutionEndDate(Aws::Utils::DateTime &&value)
DetectMitigationActionExecution & WithActionName(Aws::String &&value)
const Aws::String & GetViolationId() const
DetectMitigationActionExecutionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue