/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an audit mitigation actions task that is returned by
* ListAuditMitigationActionsTasks
.See Also:
AWS
* API Reference
The unique identifier for the task.
*/ inline const Aws::String& GetTaskId() const{ return m_taskId; } /** *The unique identifier for the task.
*/ inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } /** *The unique identifier for the task.
*/ inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } /** *The unique identifier for the task.
*/ inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } /** *The unique identifier for the task.
*/ inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } /** *The unique identifier for the task.
*/ inline AuditMitigationActionsTaskMetadata& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} /** *The unique identifier for the task.
*/ inline AuditMitigationActionsTaskMetadata& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} /** *The unique identifier for the task.
*/ inline AuditMitigationActionsTaskMetadata& WithTaskId(const char* value) { SetTaskId(value); return *this;} /** *The time at which the audit mitigation actions task was started.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The time at which the audit mitigation actions task was started.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The time at which the audit mitigation actions task was started.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The time at which the audit mitigation actions task was started.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The time at which the audit mitigation actions task was started.
*/ inline AuditMitigationActionsTaskMetadata& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The time at which the audit mitigation actions task was started.
*/ inline AuditMitigationActionsTaskMetadata& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The current state of the audit mitigation actions task.
*/ inline const AuditMitigationActionsTaskStatus& GetTaskStatus() const{ return m_taskStatus; } /** *The current state of the audit mitigation actions task.
*/ inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; } /** *The current state of the audit mitigation actions task.
*/ inline void SetTaskStatus(const AuditMitigationActionsTaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; } /** *The current state of the audit mitigation actions task.
*/ inline void SetTaskStatus(AuditMitigationActionsTaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); } /** *The current state of the audit mitigation actions task.
*/ inline AuditMitigationActionsTaskMetadata& WithTaskStatus(const AuditMitigationActionsTaskStatus& value) { SetTaskStatus(value); return *this;} /** *The current state of the audit mitigation actions task.
*/ inline AuditMitigationActionsTaskMetadata& WithTaskStatus(AuditMitigationActionsTaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;} private: Aws::String m_taskId; bool m_taskIdHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; AuditMitigationActionsTaskStatus m_taskStatus; bool m_taskStatusHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws