7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/DetectLabelsImageQuality.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/DetectLabelsImageForeground.h>
11#include <aws/rekognition/model/DetectLabelsImageBackground.h>
12#include <aws/rekognition/model/DominantColor.h>
54 template<
typename QualityT = DetectLabelsImageQuality>
55 void SetQuality(QualityT&& value) { m_qualityHasBeenSet =
true; m_quality = std::forward<QualityT>(value); }
56 template<
typename QualityT = DetectLabelsImageQuality>
68 template<
typename DominantColorsT = Aws::Vector<DominantColor>>
69 void SetDominantColors(DominantColorsT&& value) { m_dominantColorsHasBeenSet =
true; m_dominantColors = std::forward<DominantColorsT>(value); }
70 template<
typename DominantColorsT = Aws::Vector<DominantColor>>
72 template<
typename DominantColorsT = DominantColor>
84 template<
typename ForegroundT = DetectLabelsImageForeground>
85 void SetForeground(ForegroundT&& value) { m_foregroundHasBeenSet =
true; m_foreground = std::forward<ForegroundT>(value); }
86 template<
typename ForegroundT = DetectLabelsImageForeground>
98 template<
typename BackgroundT = DetectLabelsImageBackground>
99 void SetBackground(BackgroundT&& value) { m_backgroundHasBeenSet =
true; m_background = std::forward<BackgroundT>(value); }
100 template<
typename BackgroundT = DetectLabelsImageBackground>
106 bool m_qualityHasBeenSet =
false;
109 bool m_dominantColorsHasBeenSet =
false;
112 bool m_foregroundHasBeenSet =
false;
115 bool m_backgroundHasBeenSet =
false;
AWS_REKOGNITION_API DetectLabelsImageProperties(Aws::Utils::Json::JsonView jsonValue)
const DetectLabelsImageBackground & GetBackground() const
const DetectLabelsImageQuality & GetQuality() const
DetectLabelsImageProperties & WithBackground(BackgroundT &&value)
void SetDominantColors(DominantColorsT &&value)
AWS_REKOGNITION_API DetectLabelsImageProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQuality(QualityT &&value)
DetectLabelsImageProperties & WithDominantColors(DominantColorsT &&value)
const Aws::Vector< DominantColor > & GetDominantColors() const
void SetBackground(BackgroundT &&value)
const DetectLabelsImageForeground & GetForeground() const
bool QualityHasBeenSet() const
DetectLabelsImageProperties & WithQuality(QualityT &&value)
AWS_REKOGNITION_API DetectLabelsImageProperties()=default
bool BackgroundHasBeenSet() const
void SetForeground(ForegroundT &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
bool ForegroundHasBeenSet() const
bool DominantColorsHasBeenSet() const
DetectLabelsImageProperties & WithForeground(ForegroundT &&value)
DetectLabelsImageProperties & AddDominantColors(DominantColorsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue