AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DetectLabelsSettings.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/GeneralLabelsSettings.h>
9#include <aws/rekognition/model/DetectLabelsImagePropertiesSettings.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Rekognition
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_REKOGNITION_API DetectLabelsSettings() = default;
40 AWS_REKOGNITION_API DetectLabelsSettings(Aws::Utils::Json::JsonView jsonValue);
42 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const GeneralLabelsSettings& GetGeneralLabels() const { return m_generalLabels; }
50 inline bool GeneralLabelsHasBeenSet() const { return m_generalLabelsHasBeenSet; }
51 template<typename GeneralLabelsT = GeneralLabelsSettings>
52 void SetGeneralLabels(GeneralLabelsT&& value) { m_generalLabelsHasBeenSet = true; m_generalLabels = std::forward<GeneralLabelsT>(value); }
53 template<typename GeneralLabelsT = GeneralLabelsSettings>
54 DetectLabelsSettings& WithGeneralLabels(GeneralLabelsT&& value) { SetGeneralLabels(std::forward<GeneralLabelsT>(value)); return *this;}
56
58
61 inline const DetectLabelsImagePropertiesSettings& GetImageProperties() const { return m_imageProperties; }
62 inline bool ImagePropertiesHasBeenSet() const { return m_imagePropertiesHasBeenSet; }
63 template<typename ImagePropertiesT = DetectLabelsImagePropertiesSettings>
64 void SetImageProperties(ImagePropertiesT&& value) { m_imagePropertiesHasBeenSet = true; m_imageProperties = std::forward<ImagePropertiesT>(value); }
65 template<typename ImagePropertiesT = DetectLabelsImagePropertiesSettings>
66 DetectLabelsSettings& WithImageProperties(ImagePropertiesT&& value) { SetImageProperties(std::forward<ImagePropertiesT>(value)); return *this;}
68 private:
69
70 GeneralLabelsSettings m_generalLabels;
71 bool m_generalLabelsHasBeenSet = false;
72
74 bool m_imagePropertiesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Rekognition
79} // namespace Aws
const GeneralLabelsSettings & GetGeneralLabels() const
DetectLabelsSettings & WithGeneralLabels(GeneralLabelsT &&value)
AWS_REKOGNITION_API DetectLabelsSettings()=default
AWS_REKOGNITION_API DetectLabelsSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API DetectLabelsSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetImageProperties(ImagePropertiesT &&value)
DetectLabelsSettings & WithImageProperties(ImagePropertiesT &&value)
const DetectLabelsImagePropertiesSettings & GetImageProperties() const
Aws::Utils::Json::JsonValue JsonValue