/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The foreground of the image with regard to image quality and dominant
* colors.See Also:
AWS
* API Reference
The quality of the image foreground as defined by brightness and * sharpness.
*/ inline const DetectLabelsImageQuality& GetQuality() const{ return m_quality; } /** *The quality of the image foreground as defined by brightness and * sharpness.
*/ inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; } /** *The quality of the image foreground as defined by brightness and * sharpness.
*/ inline void SetQuality(const DetectLabelsImageQuality& value) { m_qualityHasBeenSet = true; m_quality = value; } /** *The quality of the image foreground as defined by brightness and * sharpness.
*/ inline void SetQuality(DetectLabelsImageQuality&& value) { m_qualityHasBeenSet = true; m_quality = std::move(value); } /** *The quality of the image foreground as defined by brightness and * sharpness.
*/ inline DetectLabelsImageForeground& WithQuality(const DetectLabelsImageQuality& value) { SetQuality(value); return *this;} /** *The quality of the image foreground as defined by brightness and * sharpness.
*/ inline DetectLabelsImageForeground& WithQuality(DetectLabelsImageQuality&& value) { SetQuality(std::move(value)); return *this;} /** *The dominant colors found in the foreground of an image, defined with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline const Aws::VectorThe dominant colors found in the foreground of an image, defined with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline bool DominantColorsHasBeenSet() const { return m_dominantColorsHasBeenSet; } /** *The dominant colors found in the foreground of an image, defined with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline void SetDominantColors(const Aws::VectorThe dominant colors found in the foreground of an image, defined with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline void SetDominantColors(Aws::VectorThe dominant colors found in the foreground of an image, defined with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline DetectLabelsImageForeground& WithDominantColors(const Aws::VectorThe dominant colors found in the foreground of an image, defined with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline DetectLabelsImageForeground& WithDominantColors(Aws::VectorThe dominant colors found in the foreground of an image, defined with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline DetectLabelsImageForeground& AddDominantColors(const DominantColor& value) { m_dominantColorsHasBeenSet = true; m_dominantColors.push_back(value); return *this; } /** *The dominant colors found in the foreground of an image, defined with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline DetectLabelsImageForeground& AddDominantColors(DominantColor&& value) { m_dominantColorsHasBeenSet = true; m_dominantColors.push_back(std::move(value)); return *this; } private: DetectLabelsImageQuality m_quality; bool m_qualityHasBeenSet = false; Aws::Vector