AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ConnectedHomeSettings.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
42 {
43 public:
44 AWS_REKOGNITION_API ConnectedHomeSettings() = default;
45 AWS_REKOGNITION_API ConnectedHomeSettings(Aws::Utils::Json::JsonView jsonValue);
47 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
56 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
57 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
58 template<typename LabelsT = Aws::Vector<Aws::String>>
59 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels = std::forward<LabelsT>(value); }
60 template<typename LabelsT = Aws::Vector<Aws::String>>
61 ConnectedHomeSettings& WithLabels(LabelsT&& value) { SetLabels(std::forward<LabelsT>(value)); return *this;}
62 template<typename LabelsT = Aws::String>
63 ConnectedHomeSettings& AddLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels.emplace_back(std::forward<LabelsT>(value)); return *this; }
65
67
70 inline double GetMinConfidence() const { return m_minConfidence; }
71 inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
72 inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
73 inline ConnectedHomeSettings& WithMinConfidence(double value) { SetMinConfidence(value); return *this;}
75 private:
76
78 bool m_labelsHasBeenSet = false;
79
80 double m_minConfidence{0.0};
81 bool m_minConfidenceHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Rekognition
86} // namespace Aws
ConnectedHomeSettings & AddLabels(LabelsT &&value)
AWS_REKOGNITION_API ConnectedHomeSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API ConnectedHomeSettings(Aws::Utils::Json::JsonView jsonValue)
ConnectedHomeSettings & WithLabels(LabelsT &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectedHomeSettings & WithMinConfidence(double value)
const Aws::Vector< Aws::String > & GetLabels() const
AWS_REKOGNITION_API ConnectedHomeSettings()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue