7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/DetectMitigationActionsTaskTarget.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot/model/ViolationEventOccurrenceRange.h>
14#include <aws/core/utils/UUID.h>
34 inline virtual const char*
GetServiceRequestName()
const override {
return "StartDetectMitigationActionsTask"; }
47 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
124 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
132 bool m_taskIdHasBeenSet =
false;
135 bool m_targetHasBeenSet =
false;
138 bool m_actionsHasBeenSet =
false;
141 bool m_violationEventOccurrenceRangeHasBeenSet =
false;
143 bool m_includeOnlyActiveViolations;
144 bool m_includeOnlyActiveViolationsHasBeenSet =
false;
146 bool m_includeSuppressedAlerts;
147 bool m_includeSuppressedAlertsHasBeenSet =
false;
150 bool m_clientRequestTokenHasBeenSet =
false;
void SetIncludeOnlyActiveViolations(bool value)
const Aws::String & GetTaskId() const
bool ViolationEventOccurrenceRangeHasBeenSet() const
StartDetectMitigationActionsTaskRequest & AddActions(Aws::String &&value)
StartDetectMitigationActionsTaskRequest & WithIncludeOnlyActiveViolations(bool value)
StartDetectMitigationActionsTaskRequest & WithTarget(DetectMitigationActionsTaskTarget &&value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetTaskId(const char *value)
StartDetectMitigationActionsTaskRequest & WithIncludeSuppressedAlerts(bool value)
StartDetectMitigationActionsTaskRequest & WithClientRequestToken(const char *value)
StartDetectMitigationActionsTaskRequest & WithTaskId(const Aws::String &value)
void SetClientRequestToken(Aws::String &&value)
void SetTaskId(Aws::String &&value)
void SetIncludeSuppressedAlerts(bool value)
void SetTarget(DetectMitigationActionsTaskTarget &&value)
void SetViolationEventOccurrenceRange(const ViolationEventOccurrenceRange &value)
void SetClientRequestToken(const char *value)
void SetTaskId(const Aws::String &value)
bool TargetHasBeenSet() const
StartDetectMitigationActionsTaskRequest & WithViolationEventOccurrenceRange(ViolationEventOccurrenceRange &&value)
bool GetIncludeOnlyActiveViolations() const
bool ClientRequestTokenHasBeenSet() const
bool GetIncludeSuppressedAlerts() const
StartDetectMitigationActionsTaskRequest & AddActions(const char *value)
void SetClientRequestToken(const Aws::String &value)
StartDetectMitigationActionsTaskRequest & WithTaskId(const char *value)
StartDetectMitigationActionsTaskRequest & WithTarget(const DetectMitigationActionsTaskTarget &value)
const Aws::Vector< Aws::String > & GetActions() const
bool TaskIdHasBeenSet() const
const ViolationEventOccurrenceRange & GetViolationEventOccurrenceRange() const
void SetActions(const Aws::Vector< Aws::String > &value)
StartDetectMitigationActionsTaskRequest & WithTaskId(Aws::String &&value)
bool IncludeSuppressedAlertsHasBeenSet() const
StartDetectMitigationActionsTaskRequest & WithViolationEventOccurrenceRange(const ViolationEventOccurrenceRange &value)
void SetViolationEventOccurrenceRange(ViolationEventOccurrenceRange &&value)
bool ActionsHasBeenSet() const
StartDetectMitigationActionsTaskRequest & WithClientRequestToken(Aws::String &&value)
void SetActions(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
bool IncludeOnlyActiveViolationsHasBeenSet() const
const Aws::String & GetClientRequestToken() const
StartDetectMitigationActionsTaskRequest & WithActions(const Aws::Vector< Aws::String > &value)
const DetectMitigationActionsTaskTarget & GetTarget() const
void SetTarget(const DetectMitigationActionsTaskTarget &value)
StartDetectMitigationActionsTaskRequest & WithActions(Aws::Vector< Aws::String > &&value)
StartDetectMitigationActionsTaskRequest & WithClientRequestToken(const Aws::String &value)
StartDetectMitigationActionsTaskRequest & AddActions(const Aws::String &value)
AWS_IOT_API StartDetectMitigationActionsTaskRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector