7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/DetectLabelsImageBackground.h>
10#include <aws/rekognition/model/DetectLabelsImageForeground.h>
11#include <aws/rekognition/model/DetectLabelsImageQuality.h>
12#include <aws/rekognition/model/DominantColor.h>
23namespace Rekognition {
48 template <
typename QualityT = DetectLabelsImageQuality>
50 m_qualityHasBeenSet =
true;
51 m_quality = std::forward<QualityT>(value);
53 template <
typename QualityT = DetectLabelsImageQuality>
68 template <
typename DominantColorsT = Aws::Vector<DominantColor>>
70 m_dominantColorsHasBeenSet =
true;
71 m_dominantColors = std::forward<DominantColorsT>(value);
73 template <
typename DominantColorsT = Aws::Vector<DominantColor>>
78 template <
typename DominantColorsT = DominantColor>
80 m_dominantColorsHasBeenSet =
true;
81 m_dominantColors.emplace_back(std::forward<DominantColorsT>(value));
94 template <
typename ForegroundT = DetectLabelsImageForeground>
96 m_foregroundHasBeenSet =
true;
97 m_foreground = std::forward<ForegroundT>(value);
99 template <
typename ForegroundT = DetectLabelsImageForeground>
114 template <
typename BackgroundT = DetectLabelsImageBackground>
116 m_backgroundHasBeenSet =
true;
117 m_background = std::forward<BackgroundT>(value);
119 template <
typename BackgroundT = DetectLabelsImageBackground>
133 bool m_qualityHasBeenSet =
false;
134 bool m_dominantColorsHasBeenSet =
false;
135 bool m_foregroundHasBeenSet =
false;
136 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