/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the quality and dominant colors of an input image. Quality
* and color information is returned for the entire image, foreground, and
* background.See Also:
AWS
* API Reference
Information about the quality of the image foreground as defined by * brightness, sharpness, and contrast. The higher the value the greater the * brightness, sharpness, and contrast respectively.
*/ inline const DetectLabelsImageQuality& GetQuality() const{ return m_quality; } /** *Information about the quality of the image foreground as defined by * brightness, sharpness, and contrast. The higher the value the greater the * brightness, sharpness, and contrast respectively.
*/ inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; } /** *Information about the quality of the image foreground as defined by * brightness, sharpness, and contrast. The higher the value the greater the * brightness, sharpness, and contrast respectively.
*/ inline void SetQuality(const DetectLabelsImageQuality& value) { m_qualityHasBeenSet = true; m_quality = value; } /** *Information about the quality of the image foreground as defined by * brightness, sharpness, and contrast. The higher the value the greater the * brightness, sharpness, and contrast respectively.
*/ inline void SetQuality(DetectLabelsImageQuality&& value) { m_qualityHasBeenSet = true; m_quality = std::move(value); } /** *Information about the quality of the image foreground as defined by * brightness, sharpness, and contrast. The higher the value the greater the * brightness, sharpness, and contrast respectively.
*/ inline DetectLabelsImageProperties& WithQuality(const DetectLabelsImageQuality& value) { SetQuality(value); return *this;} /** *Information about the quality of the image foreground as defined by * brightness, sharpness, and contrast. The higher the value the greater the * brightness, sharpness, and contrast respectively.
*/ inline DetectLabelsImageProperties& WithQuality(DetectLabelsImageQuality&& value) { SetQuality(std::move(value)); return *this;} /** *Information about the dominant colors found in an image, described with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline const Aws::VectorInformation about the dominant colors found in an image, described 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; } /** *Information about the dominant colors found in an image, described 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::VectorInformation about the dominant colors found in an image, described 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::VectorInformation about the dominant colors found in an image, described with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline DetectLabelsImageProperties& WithDominantColors(const Aws::VectorInformation about the dominant colors found in an image, described with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline DetectLabelsImageProperties& WithDominantColors(Aws::VectorInformation about the dominant colors found in an image, described with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline DetectLabelsImageProperties& AddDominantColors(const DominantColor& value) { m_dominantColorsHasBeenSet = true; m_dominantColors.push_back(value); return *this; } /** *Information about the dominant colors found in an image, described with RGB * values, CSS color name, simplified color name, and PixelPercentage (the * percentage of image pixels that have a particular color).
*/ inline DetectLabelsImageProperties& AddDominantColors(DominantColor&& value) { m_dominantColorsHasBeenSet = true; m_dominantColors.push_back(std::move(value)); return *this; } /** *Information about the properties of an image’s foreground, including the * foreground’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline const DetectLabelsImageForeground& GetForeground() const{ return m_foreground; } /** *Information about the properties of an image’s foreground, including the * foreground’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline bool ForegroundHasBeenSet() const { return m_foregroundHasBeenSet; } /** *Information about the properties of an image’s foreground, including the * foreground’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline void SetForeground(const DetectLabelsImageForeground& value) { m_foregroundHasBeenSet = true; m_foreground = value; } /** *Information about the properties of an image’s foreground, including the * foreground’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline void SetForeground(DetectLabelsImageForeground&& value) { m_foregroundHasBeenSet = true; m_foreground = std::move(value); } /** *Information about the properties of an image’s foreground, including the * foreground’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline DetectLabelsImageProperties& WithForeground(const DetectLabelsImageForeground& value) { SetForeground(value); return *this;} /** *Information about the properties of an image’s foreground, including the * foreground’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline DetectLabelsImageProperties& WithForeground(DetectLabelsImageForeground&& value) { SetForeground(std::move(value)); return *this;} /** *Information about the properties of an image’s background, including the * background’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline const DetectLabelsImageBackground& GetBackground() const{ return m_background; } /** *Information about the properties of an image’s background, including the * background’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline bool BackgroundHasBeenSet() const { return m_backgroundHasBeenSet; } /** *Information about the properties of an image’s background, including the * background’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline void SetBackground(const DetectLabelsImageBackground& value) { m_backgroundHasBeenSet = true; m_background = value; } /** *Information about the properties of an image’s background, including the * background’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline void SetBackground(DetectLabelsImageBackground&& value) { m_backgroundHasBeenSet = true; m_background = std::move(value); } /** *Information about the properties of an image’s background, including the * background’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline DetectLabelsImageProperties& WithBackground(const DetectLabelsImageBackground& value) { SetBackground(value); return *this;} /** *Information about the properties of an image’s background, including the * background’s quality and dominant colors, including the quality and dominant * colors of the image.
*/ inline DetectLabelsImageProperties& WithBackground(DetectLabelsImageBackground&& value) { SetBackground(std::move(value)); return *this;} private: DetectLabelsImageQuality m_quality; bool m_qualityHasBeenSet = false; Aws::Vector