AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
52 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
53 inline ConnectedHomeSettingsForUpdate& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
54 inline ConnectedHomeSettingsForUpdate& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
55 inline ConnectedHomeSettingsForUpdate& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
56 inline ConnectedHomeSettingsForUpdate& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
57 inline ConnectedHomeSettingsForUpdate& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
59
61
64 inline double GetMinConfidence() const{ return m_minConfidence; }
65 inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
66 inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
67 inline ConnectedHomeSettingsForUpdate& WithMinConfidence(double value) { SetMinConfidence(value); return *this;}
69 private:
70
72 bool m_labelsHasBeenSet = false;
73
74 double m_minConfidence;
75 bool m_minConfidenceHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Rekognition
80} // namespace Aws
ConnectedHomeSettingsForUpdate & WithLabels(const Aws::Vector< Aws::String > &value)
ConnectedHomeSettingsForUpdate & AddLabels(const Aws::String &value)
ConnectedHomeSettingsForUpdate & AddLabels(const char *value)
AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectedHomeSettingsForUpdate & WithLabels(Aws::Vector< Aws::String > &&value)
ConnectedHomeSettingsForUpdate & AddLabels(Aws::String &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectedHomeSettingsForUpdate & WithMinConfidence(double value)
AWS_REKOGNITION_API ConnectedHomeSettingsForUpdate(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue