AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LabelDetectionSettings.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/GeneralLabelsSettings.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition {
20namespace Model {
21
29 public:
30 AWS_REKOGNITION_API LabelDetectionSettings() = default;
31 AWS_REKOGNITION_API LabelDetectionSettings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const GeneralLabelsSettings& GetGeneralLabels() const { return m_generalLabels; }
38 inline bool GeneralLabelsHasBeenSet() const { return m_generalLabelsHasBeenSet; }
39 template <typename GeneralLabelsT = GeneralLabelsSettings>
40 void SetGeneralLabels(GeneralLabelsT&& value) {
41 m_generalLabelsHasBeenSet = true;
42 m_generalLabels = std::forward<GeneralLabelsT>(value);
43 }
44 template <typename GeneralLabelsT = GeneralLabelsSettings>
45 LabelDetectionSettings& WithGeneralLabels(GeneralLabelsT&& value) {
46 SetGeneralLabels(std::forward<GeneralLabelsT>(value));
47 return *this;
48 }
50 private:
51 GeneralLabelsSettings m_generalLabels;
52 bool m_generalLabelsHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace Rekognition
57} // namespace Aws
LabelDetectionSettings & WithGeneralLabels(GeneralLabelsT &&value)
AWS_REKOGNITION_API LabelDetectionSettings()=default
const GeneralLabelsSettings & GetGeneralLabels() const
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API LabelDetectionSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API LabelDetectionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue