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

Describes a dataset label. For more information, see * ListDatasetLabels.

See Also:

AWS * API Reference

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

The name of the label.

*/ inline const Aws::String& GetLabelName() const{ return m_labelName; } /** *

The name of the label.

*/ inline bool LabelNameHasBeenSet() const { return m_labelNameHasBeenSet; } /** *

The name of the label.

*/ inline void SetLabelName(const Aws::String& value) { m_labelNameHasBeenSet = true; m_labelName = value; } /** *

The name of the label.

*/ inline void SetLabelName(Aws::String&& value) { m_labelNameHasBeenSet = true; m_labelName = std::move(value); } /** *

The name of the label.

*/ inline void SetLabelName(const char* value) { m_labelNameHasBeenSet = true; m_labelName.assign(value); } /** *

The name of the label.

*/ inline DatasetLabelDescription& WithLabelName(const Aws::String& value) { SetLabelName(value); return *this;} /** *

The name of the label.

*/ inline DatasetLabelDescription& WithLabelName(Aws::String&& value) { SetLabelName(std::move(value)); return *this;} /** *

The name of the label.

*/ inline DatasetLabelDescription& WithLabelName(const char* value) { SetLabelName(value); return *this;} /** *

Statistics about the label.

*/ inline const DatasetLabelStats& GetLabelStats() const{ return m_labelStats; } /** *

Statistics about the label.

*/ inline bool LabelStatsHasBeenSet() const { return m_labelStatsHasBeenSet; } /** *

Statistics about the label.

*/ inline void SetLabelStats(const DatasetLabelStats& value) { m_labelStatsHasBeenSet = true; m_labelStats = value; } /** *

Statistics about the label.

*/ inline void SetLabelStats(DatasetLabelStats&& value) { m_labelStatsHasBeenSet = true; m_labelStats = std::move(value); } /** *

Statistics about the label.

*/ inline DatasetLabelDescription& WithLabelStats(const DatasetLabelStats& value) { SetLabelStats(value); return *this;} /** *

Statistics about the label.

*/ inline DatasetLabelDescription& WithLabelStats(DatasetLabelStats&& value) { SetLabelStats(std::move(value)); return *this;} private: Aws::String m_labelName; bool m_labelNameHasBeenSet = false; DatasetLabelStats m_labelStats; bool m_labelStatsHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws