/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a dataset label. For more information, see
* ListDatasetLabels. See Also:
AWS
* API Reference
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