/** * 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 IoTEvents { namespace Model { class DescribeDetectorModelAnalysisResult { public: AWS_IOTEVENTS_API DescribeDetectorModelAnalysisResult(); AWS_IOTEVENTS_API DescribeDetectorModelAnalysisResult(const Aws::AmazonWebServiceResult& result); AWS_IOTEVENTS_API DescribeDetectorModelAnalysisResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The status of the analysis activity. The status can be one of the following * values:

  • RUNNING - AWS IoT Events is analyzing * your detector model. This process can take several minutes to complete.

    *
  • COMPLETE - AWS IoT Events finished analyzing your * detector model.

  • FAILED - AWS IoT Events couldn't * analyze your detector model. Try again later.

*/ inline const AnalysisStatus& GetStatus() const{ return m_status; } /** *

The status of the analysis activity. The status can be one of the following * values:

  • RUNNING - AWS IoT Events is analyzing * your detector model. This process can take several minutes to complete.

    *
  • COMPLETE - AWS IoT Events finished analyzing your * detector model.

  • FAILED - AWS IoT Events couldn't * analyze your detector model. Try again later.

*/ inline void SetStatus(const AnalysisStatus& value) { m_status = value; } /** *

The status of the analysis activity. The status can be one of the following * values:

  • RUNNING - AWS IoT Events is analyzing * your detector model. This process can take several minutes to complete.

    *
  • COMPLETE - AWS IoT Events finished analyzing your * detector model.

  • FAILED - AWS IoT Events couldn't * analyze your detector model. Try again later.

*/ inline void SetStatus(AnalysisStatus&& value) { m_status = std::move(value); } /** *

The status of the analysis activity. The status can be one of the following * values:

  • RUNNING - AWS IoT Events is analyzing * your detector model. This process can take several minutes to complete.

    *
  • COMPLETE - AWS IoT Events finished analyzing your * detector model.

  • FAILED - AWS IoT Events couldn't * analyze your detector model. Try again later.

*/ inline DescribeDetectorModelAnalysisResult& WithStatus(const AnalysisStatus& value) { SetStatus(value); return *this;} /** *

The status of the analysis activity. The status can be one of the following * values:

  • RUNNING - AWS IoT Events is analyzing * your detector model. This process can take several minutes to complete.

    *
  • COMPLETE - AWS IoT Events finished analyzing your * detector model.

  • FAILED - AWS IoT Events couldn't * analyze your detector model. Try again later.

*/ inline DescribeDetectorModelAnalysisResult& WithStatus(AnalysisStatus&& value) { SetStatus(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 DescribeDetectorModelAnalysisResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDetectorModelAnalysisResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDetectorModelAnalysisResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AnalysisStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace IoTEvents } // namespace Aws