AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabels(const Aws::Vector<Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
59 inline void SetLabels(Aws::Vector<Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
60 inline ConnectedHomeSettings& WithLabels(const Aws::Vector<Aws::String>& value) { SetLabels(value); return *this;}
61 inline ConnectedHomeSettings& WithLabels(Aws::Vector<Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
62 inline ConnectedHomeSettings& AddLabels(const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
63 inline ConnectedHomeSettings& AddLabels(Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
64 inline ConnectedHomeSettings& AddLabels(const char* value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
66
68
71 inline double GetMinConfidence() const{ return m_minConfidence; }
72 inline bool MinConfidenceHasBeenSet() const { return m_minConfidenceHasBeenSet; }
73 inline void SetMinConfidence(double value) { m_minConfidenceHasBeenSet = true; m_minConfidence = value; }
74 inline ConnectedHomeSettings& WithMinConfidence(double value) { SetMinConfidence(value); return *this;}
76 private:
77
79 bool m_labelsHasBeenSet = false;
80
81 double m_minConfidence;
82 bool m_minConfidenceHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Rekognition
87} // namespace Aws
void SetLabels(const Aws::Vector< Aws::String > &value)
AWS_REKOGNITION_API ConnectedHomeSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectedHomeSettings & AddLabels(Aws::String &&value)
ConnectedHomeSettings & WithLabels(const Aws::Vector< Aws::String > &value)
ConnectedHomeSettings & AddLabels(const Aws::String &value)
ConnectedHomeSettings & WithLabels(Aws::Vector< Aws::String > &&value)
AWS_REKOGNITION_API ConnectedHomeSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLabels(Aws::Vector< Aws::String > &&value)
ConnectedHomeSettings & WithMinConfidence(double value)
const Aws::Vector< Aws::String > & GetLabels() const
ConnectedHomeSettings & AddLabels(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue