/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class DescribeDetectMitigationActionsTaskResult { public: AWS_IOT_API DescribeDetectMitigationActionsTaskResult(); AWS_IOT_API DescribeDetectMitigationActionsTaskResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API DescribeDetectMitigationActionsTaskResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The description of a task.

*/ inline const DetectMitigationActionsTaskSummary& GetTaskSummary() const{ return m_taskSummary; } /** *

The description of a task.

*/ inline void SetTaskSummary(const DetectMitigationActionsTaskSummary& value) { m_taskSummary = value; } /** *

The description of a task.

*/ inline void SetTaskSummary(DetectMitigationActionsTaskSummary&& value) { m_taskSummary = std::move(value); } /** *

The description of a task.

*/ inline DescribeDetectMitigationActionsTaskResult& WithTaskSummary(const DetectMitigationActionsTaskSummary& value) { SetTaskSummary(value); return *this;} /** *

The description of a task.

*/ inline DescribeDetectMitigationActionsTaskResult& WithTaskSummary(DetectMitigationActionsTaskSummary&& value) { SetTaskSummary(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDetectMitigationActionsTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDetectMitigationActionsTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDetectMitigationActionsTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DetectMitigationActionsTaskSummary m_taskSummary; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws