AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectLabelsImageBackground.h
1
6#pragma once
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/DominantColor.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Rekognition
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_REKOGNITION_API DetectLabelsImageBackground();
40 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const DetectLabelsImageQuality& GetQuality() const{ return m_quality; }
49 inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; }
50 inline void SetQuality(const DetectLabelsImageQuality& value) { m_qualityHasBeenSet = true; m_quality = value; }
51 inline void SetQuality(DetectLabelsImageQuality&& value) { m_qualityHasBeenSet = true; m_quality = std::move(value); }
52 inline DetectLabelsImageBackground& WithQuality(const DetectLabelsImageQuality& value) { SetQuality(value); return *this;}
53 inline DetectLabelsImageBackground& WithQuality(DetectLabelsImageQuality&& value) { SetQuality(std::move(value)); return *this;}
55
57
62 inline const Aws::Vector<DominantColor>& GetDominantColors() const{ return m_dominantColors; }
63 inline bool DominantColorsHasBeenSet() const { return m_dominantColorsHasBeenSet; }
64 inline void SetDominantColors(const Aws::Vector<DominantColor>& value) { m_dominantColorsHasBeenSet = true; m_dominantColors = value; }
65 inline void SetDominantColors(Aws::Vector<DominantColor>&& value) { m_dominantColorsHasBeenSet = true; m_dominantColors = std::move(value); }
68 inline DetectLabelsImageBackground& AddDominantColors(const DominantColor& value) { m_dominantColorsHasBeenSet = true; m_dominantColors.push_back(value); return *this; }
69 inline DetectLabelsImageBackground& AddDominantColors(DominantColor&& value) { m_dominantColorsHasBeenSet = true; m_dominantColors.push_back(std::move(value)); return *this; }
71 private:
72
74 bool m_qualityHasBeenSet = false;
75
76 Aws::Vector<DominantColor> m_dominantColors;
77 bool m_dominantColorsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Rekognition
82} // namespace Aws
const Aws::Vector< DominantColor > & GetDominantColors() const
AWS_REKOGNITION_API DetectLabelsImageBackground & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectLabelsImageBackground & AddDominantColors(const DominantColor &value)
DetectLabelsImageBackground & WithQuality(const DetectLabelsImageQuality &value)
void SetDominantColors(const Aws::Vector< DominantColor > &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
DetectLabelsImageBackground & WithDominantColors(const Aws::Vector< DominantColor > &value)
DetectLabelsImageBackground & AddDominantColors(DominantColor &&value)
void SetDominantColors(Aws::Vector< DominantColor > &&value)
DetectLabelsImageBackground & WithQuality(DetectLabelsImageQuality &&value)
void SetQuality(const DetectLabelsImageQuality &value)
DetectLabelsImageBackground & WithDominantColors(Aws::Vector< DominantColor > &&value)
AWS_REKOGNITION_API DetectLabelsImageBackground(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue