/** * 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 LookoutEquipment { namespace Model { /** *

Entity that comprises information on categorical values in data. *

See Also:

AWS * API Reference

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

Indicates whether there is a potential data issue related to categorical * values.

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

Indicates whether there is a potential data issue related to categorical * values.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Indicates whether there is a potential data issue related to categorical * values.

*/ inline void SetStatus(const StatisticalIssueStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Indicates whether there is a potential data issue related to categorical * values.

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

Indicates whether there is a potential data issue related to categorical * values.

*/ inline CategoricalValues& WithStatus(const StatisticalIssueStatus& value) { SetStatus(value); return *this;} /** *

Indicates whether there is a potential data issue related to categorical * values.

*/ inline CategoricalValues& WithStatus(StatisticalIssueStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Indicates the number of categories in the data.

*/ inline int GetNumberOfCategory() const{ return m_numberOfCategory; } /** *

Indicates the number of categories in the data.

*/ inline bool NumberOfCategoryHasBeenSet() const { return m_numberOfCategoryHasBeenSet; } /** *

Indicates the number of categories in the data.

*/ inline void SetNumberOfCategory(int value) { m_numberOfCategoryHasBeenSet = true; m_numberOfCategory = value; } /** *

Indicates the number of categories in the data.

*/ inline CategoricalValues& WithNumberOfCategory(int value) { SetNumberOfCategory(value); return *this;} private: StatisticalIssueStatus m_status; bool m_statusHasBeenSet = false; int m_numberOfCategory; bool m_numberOfCategoryHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws