/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The audits that were performed.See Also:
AWS
* API Reference
The ID of this audit.
*/ inline const Aws::String& GetTaskId() const{ return m_taskId; } /** *The ID of this audit.
*/ inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } /** *The ID of this audit.
*/ inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } /** *The ID of this audit.
*/ inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } /** *The ID of this audit.
*/ inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } /** *The ID of this audit.
*/ inline AuditTaskMetadata& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} /** *The ID of this audit.
*/ inline AuditTaskMetadata& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} /** *The ID of this audit.
*/ inline AuditTaskMetadata& WithTaskId(const char* value) { SetTaskId(value); return *this;} /** *The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or * "CANCELED".
*/ inline const AuditTaskStatus& GetTaskStatus() const{ return m_taskStatus; } /** *The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or * "CANCELED".
*/ inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; } /** *The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or * "CANCELED".
*/ inline void SetTaskStatus(const AuditTaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; } /** *The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or * "CANCELED".
*/ inline void SetTaskStatus(AuditTaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); } /** *The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or * "CANCELED".
*/ inline AuditTaskMetadata& WithTaskStatus(const AuditTaskStatus& value) { SetTaskStatus(value); return *this;} /** *The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or * "CANCELED".
*/ inline AuditTaskMetadata& WithTaskStatus(AuditTaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;} /** *The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or * "SCHEDULED_AUDIT_TASK".
*/ inline const AuditTaskType& GetTaskType() const{ return m_taskType; } /** *The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or * "SCHEDULED_AUDIT_TASK".
*/ inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; } /** *The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or * "SCHEDULED_AUDIT_TASK".
*/ inline void SetTaskType(const AuditTaskType& value) { m_taskTypeHasBeenSet = true; m_taskType = value; } /** *The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or * "SCHEDULED_AUDIT_TASK".
*/ inline void SetTaskType(AuditTaskType&& value) { m_taskTypeHasBeenSet = true; m_taskType = std::move(value); } /** *The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or * "SCHEDULED_AUDIT_TASK".
*/ inline AuditTaskMetadata& WithTaskType(const AuditTaskType& value) { SetTaskType(value); return *this;} /** *The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or * "SCHEDULED_AUDIT_TASK".
*/ inline AuditTaskMetadata& WithTaskType(AuditTaskType&& value) { SetTaskType(std::move(value)); return *this;} private: Aws::String m_taskId; bool m_taskIdHasBeenSet = false; AuditTaskStatus m_taskStatus; bool m_taskStatusHasBeenSet = false; AuditTaskType m_taskType; bool m_taskTypeHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws