/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Settings for the IMAGE_PROPERTIES feature type.See Also:
AWS
* API Reference
The maximum number of dominant colors to return when detecting labels in an * image. The default value is 10.
*/ inline int GetMaxDominantColors() const{ return m_maxDominantColors; } /** *The maximum number of dominant colors to return when detecting labels in an * image. The default value is 10.
*/ inline bool MaxDominantColorsHasBeenSet() const { return m_maxDominantColorsHasBeenSet; } /** *The maximum number of dominant colors to return when detecting labels in an * image. The default value is 10.
*/ inline void SetMaxDominantColors(int value) { m_maxDominantColorsHasBeenSet = true; m_maxDominantColors = value; } /** *The maximum number of dominant colors to return when detecting labels in an * image. The default value is 10.
*/ inline DetectLabelsImagePropertiesSettings& WithMaxDominantColors(int value) { SetMaxDominantColors(value); return *this;} private: int m_maxDominantColors; bool m_maxDominantColorsHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws