7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/DetectMitigationActionsTaskStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/DetectMitigationActionsTaskTarget.h>
12#include <aws/iot/model/ViolationEventOccurrenceRange.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/iot/model/DetectMitigationActionsTaskStatistics.h>
15#include <aws/iot/model/MitigationAction.h>
55 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
170 bool m_taskIdHasBeenSet =
false;
173 bool m_taskStatusHasBeenSet =
false;
176 bool m_taskStartTimeHasBeenSet =
false;
179 bool m_taskEndTimeHasBeenSet =
false;
182 bool m_targetHasBeenSet =
false;
185 bool m_violationEventOccurrenceRangeHasBeenSet =
false;
187 bool m_onlyActiveViolationsIncluded;
188 bool m_onlyActiveViolationsIncludedHasBeenSet =
false;
190 bool m_suppressedAlertsIncluded;
191 bool m_suppressedAlertsIncludedHasBeenSet =
false;
194 bool m_actionsDefinitionHasBeenSet =
false;
197 bool m_taskStatisticsHasBeenSet =
false;
void SetActionsDefinition(Aws::Vector< MitigationAction > &&value)
AWS_IOT_API DetectMitigationActionsTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectMitigationActionsTaskSummary & WithTaskId(Aws::String &&value)
DetectMitigationActionsTaskSummary & AddActionsDefinition(const MitigationAction &value)
bool TaskStatisticsHasBeenSet() const
void SetTarget(DetectMitigationActionsTaskTarget &&value)
bool TaskIdHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSuppressedAlertsIncluded(bool value)
const Aws::Utils::DateTime & GetTaskStartTime() const
DetectMitigationActionsTaskSummary & WithTaskStartTime(Aws::Utils::DateTime &&value)
DetectMitigationActionsTaskSummary & WithTarget(DetectMitigationActionsTaskTarget &&value)
DetectMitigationActionsTaskSummary & WithViolationEventOccurrenceRange(ViolationEventOccurrenceRange &&value)
void SetOnlyActiveViolationsIncluded(bool value)
const ViolationEventOccurrenceRange & GetViolationEventOccurrenceRange() const
DetectMitigationActionsTaskSummary & WithTaskStartTime(const Aws::Utils::DateTime &value)
bool OnlyActiveViolationsIncludedHasBeenSet() const
const DetectMitigationActionsTaskTarget & GetTarget() const
const Aws::Vector< MitigationAction > & GetActionsDefinition() const
bool ViolationEventOccurrenceRangeHasBeenSet() const
void SetViolationEventOccurrenceRange(ViolationEventOccurrenceRange &&value)
DetectMitigationActionsTaskSummary & WithTaskStatistics(const DetectMitigationActionsTaskStatistics &value)
bool GetOnlyActiveViolationsIncluded() const
DetectMitigationActionsTaskSummary & WithActionsDefinition(Aws::Vector< MitigationAction > &&value)
DetectMitigationActionsTaskSummary & WithTaskStatus(DetectMitigationActionsTaskStatus &&value)
void SetTaskId(const char *value)
DetectMitigationActionsTaskSummary & WithTaskEndTime(Aws::Utils::DateTime &&value)
DetectMitigationActionsTaskSummary & AddActionsDefinition(MitigationAction &&value)
bool TargetHasBeenSet() const
DetectMitigationActionsTaskSummary & WithViolationEventOccurrenceRange(const ViolationEventOccurrenceRange &value)
DetectMitigationActionsTaskSummary & WithActionsDefinition(const Aws::Vector< MitigationAction > &value)
AWS_IOT_API DetectMitigationActionsTaskSummary(Aws::Utils::Json::JsonView jsonValue)
DetectMitigationActionsTaskSummary & WithTaskStatus(const DetectMitigationActionsTaskStatus &value)
void SetViolationEventOccurrenceRange(const ViolationEventOccurrenceRange &value)
const DetectMitigationActionsTaskStatistics & GetTaskStatistics() const
void SetTaskId(const Aws::String &value)
DetectMitigationActionsTaskSummary & WithTaskId(const char *value)
void SetTaskStatistics(const DetectMitigationActionsTaskStatistics &value)
bool TaskStatusHasBeenSet() const
void SetTarget(const DetectMitigationActionsTaskTarget &value)
void SetTaskId(Aws::String &&value)
bool SuppressedAlertsIncludedHasBeenSet() const
bool TaskEndTimeHasBeenSet() const
bool GetSuppressedAlertsIncluded() const
DetectMitigationActionsTaskSummary & WithOnlyActiveViolationsIncluded(bool value)
DetectMitigationActionsTaskSummary & WithTaskId(const Aws::String &value)
void SetTaskStatistics(DetectMitigationActionsTaskStatistics &&value)
void SetTaskEndTime(const Aws::Utils::DateTime &value)
void SetTaskEndTime(Aws::Utils::DateTime &&value)
void SetTaskStartTime(const Aws::Utils::DateTime &value)
DetectMitigationActionsTaskSummary & WithTaskEndTime(const Aws::Utils::DateTime &value)
bool ActionsDefinitionHasBeenSet() const
void SetTaskStartTime(Aws::Utils::DateTime &&value)
DetectMitigationActionsTaskSummary & WithSuppressedAlertsIncluded(bool value)
AWS_IOT_API DetectMitigationActionsTaskSummary()
const DetectMitigationActionsTaskStatus & GetTaskStatus() const
void SetTaskStatus(DetectMitigationActionsTaskStatus &&value)
void SetTaskStatus(const DetectMitigationActionsTaskStatus &value)
const Aws::String & GetTaskId() const
bool TaskStartTimeHasBeenSet() const
void SetActionsDefinition(const Aws::Vector< MitigationAction > &value)
DetectMitigationActionsTaskSummary & WithTaskStatistics(DetectMitigationActionsTaskStatistics &&value)
DetectMitigationActionsTaskSummary & WithTarget(const DetectMitigationActionsTaskTarget &value)
const Aws::Utils::DateTime & GetTaskEndTime() const
DetectMitigationActionsTaskStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue