AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DetectLabelsSettings.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/DetectLabelsImagePropertiesSettings.h>
9#include <aws/rekognition/model/GeneralLabelsSettings.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Rekognition {
21namespace Model {
22
33 public:
34 AWS_REKOGNITION_API DetectLabelsSettings() = default;
35 AWS_REKOGNITION_API DetectLabelsSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const GeneralLabelsSettings& GetGeneralLabels() const { return m_generalLabels; }
44 inline bool GeneralLabelsHasBeenSet() const { return m_generalLabelsHasBeenSet; }
45 template <typename GeneralLabelsT = GeneralLabelsSettings>
46 void SetGeneralLabels(GeneralLabelsT&& value) {
47 m_generalLabelsHasBeenSet = true;
48 m_generalLabels = std::forward<GeneralLabelsT>(value);
49 }
50 template <typename GeneralLabelsT = GeneralLabelsSettings>
51 DetectLabelsSettings& WithGeneralLabels(GeneralLabelsT&& value) {
52 SetGeneralLabels(std::forward<GeneralLabelsT>(value));
53 return *this;
54 }
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) {
65 m_imagePropertiesHasBeenSet = true;
66 m_imageProperties = std::forward<ImagePropertiesT>(value);
67 }
68 template <typename ImagePropertiesT = DetectLabelsImagePropertiesSettings>
69 DetectLabelsSettings& WithImageProperties(ImagePropertiesT&& value) {
70 SetImageProperties(std::forward<ImagePropertiesT>(value));
71 return *this;
72 }
74 private:
75 GeneralLabelsSettings m_generalLabels;
76
78 bool m_generalLabelsHasBeenSet = false;
79 bool m_imagePropertiesHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Rekognition
84} // 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