/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An inferred field.See Also:
AWS
* API Reference
The field's value.
*/ inline const AttributeValue& GetValue() const{ return m_value; } /** *The field's value.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The field's value.
*/ inline void SetValue(const AttributeValue& value) { m_valueHasBeenSet = true; m_value = value; } /** *The field's value.
*/ inline void SetValue(AttributeValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The field's value.
*/ inline DetectedField& WithValue(const AttributeValue& value) { SetValue(value); return *this;} /** *The field's value.
*/ inline DetectedField& WithValue(AttributeValue&& value) { SetValue(std::move(value)); return *this;} /** *The field's confidence.
*/ inline const Confidence& GetConfidence() const{ return m_confidence; } /** *The field's confidence.
*/ inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } /** *The field's confidence.
*/ inline void SetConfidence(const Confidence& value) { m_confidenceHasBeenSet = true; m_confidence = value; } /** *The field's confidence.
*/ inline void SetConfidence(Confidence&& value) { m_confidenceHasBeenSet = true; m_confidence = std::move(value); } /** *The field's confidence.
*/ inline DetectedField& WithConfidence(const Confidence& value) { SetConfidence(value); return *this;} /** *The field's confidence.
*/ inline DetectedField& WithConfidence(Confidence&& value) { SetConfidence(std::move(value)); return *this;} /** *The field's message.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The field's message.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The field's message.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The field's message.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The field's message.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The field's message.
*/ inline DetectedField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The field's message.
*/ inline DetectedField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The field's message.
*/ inline DetectedField& WithMessage(const char* value) { SetMessage(value); return *this;} private: AttributeValue m_value; bool m_valueHasBeenSet = false; Confidence m_confidence; bool m_confidenceHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws