AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConnectedHomeSettingsForUpdate.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
35 {
36 public:
37 AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate() = default;
40 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<Aws::String>& GetLabels() const { return m_labels; }
50 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
51 template<typename LabelsT = Aws::Vector<Aws::String>>
52 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels = std::forward<LabelsT>(value); }
53 template<typename LabelsT = Aws::Vector<Aws::String>>
54 ConnectedHomeSettingsForUpdate& WithLabels(LabelsT&& value) { SetLabels(std::forward<LabelsT>(value)); return *this;}
55 template<typename LabelsT = Aws::String>
56 ConnectedHomeSettingsForUpdate& AddLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels.emplace_back(std::forward<LabelsT>(value)); return *this; }
58
60
63 inline double GetMinConfidence() const { return m_minConfidence; }
64 inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
65 inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
66 inline ConnectedHomeSettingsForUpdate& WithMinConfidence(double value) { SetMinConfidence(value); return *this;}
68 private:
69
71 bool m_labelsHasBeenSet = false;
72
73 double m_minConfidence{0.0};
74 bool m_minConfidenceHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Rekognition
79} // namespace Aws
ConnectedHomeSettingsForUpdate & WithLabels(LabelsT &&value)
AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate()=default
ConnectedHomeSettingsForUpdate & AddLabels(LabelsT &&value)
AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectedHomeSettingsForUpdate & WithMinConfidence(double value)
AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue