/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTEvents { namespace Model { /** *

Contains information that you can use to locate the field in your detector * model that the analysis result references.

See Also:

AWS * API Reference

*/ class AnalysisResultLocation { public: AWS_IOTEVENTS_API AnalysisResultLocation(); AWS_IOTEVENTS_API AnalysisResultLocation(Aws::Utils::Json::JsonView jsonValue); AWS_IOTEVENTS_API AnalysisResultLocation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A JsonPath expression * that identifies the error field in your detector model.

*/ inline const Aws::String& GetPath() const{ return m_path; } /** *

A JsonPath expression * that identifies the error field in your detector model.

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

A JsonPath expression * that identifies the error field in your detector model.

*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *

A JsonPath expression * that identifies the error field in your detector model.

*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

A JsonPath expression * that identifies the error field in your detector model.

*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *

A JsonPath expression * that identifies the error field in your detector model.

*/ inline AnalysisResultLocation& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *

A JsonPath expression * that identifies the error field in your detector model.

*/ inline AnalysisResultLocation& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *

A JsonPath expression * that identifies the error field in your detector model.

*/ inline AnalysisResultLocation& WithPath(const char* value) { SetPath(value); return *this;} private: Aws::String m_path; bool m_pathHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws