AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Gender.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/GenderType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition
22{
23namespace Model
24{
25
42 class Gender
43 {
44 public:
45 AWS_REKOGNITION_API Gender();
46 AWS_REKOGNITION_API Gender(Aws::Utils::Json::JsonView jsonValue);
47 AWS_REKOGNITION_API Gender& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const GenderType& GetValue() const{ return m_value; }
56 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
57 inline void SetValue(const GenderType& value) { m_valueHasBeenSet = true; m_value = value; }
58 inline void SetValue(GenderType&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
59 inline Gender& WithValue(const GenderType& value) { SetValue(value); return *this;}
60 inline Gender& WithValue(GenderType&& value) { SetValue(std::move(value)); return *this;}
62
64
67 inline double GetConfidence() const{ return m_confidence; }
68 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
69 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
70 inline Gender& WithConfidence(double value) { SetConfidence(value); return *this;}
72 private:
73
74 GenderType m_value;
75 bool m_valueHasBeenSet = false;
76
77 double m_confidence;
78 bool m_confidenceHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Rekognition
83} // namespace Aws
bool ConfidenceHasBeenSet() const
Definition Gender.h:68
void SetValue(GenderType &&value)
Definition Gender.h:58
void SetConfidence(double value)
Definition Gender.h:69
Gender & WithValue(const GenderType &value)
Definition Gender.h:59
const GenderType & GetValue() const
Definition Gender.h:55
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API Gender()
AWS_REKOGNITION_API Gender & operator=(Aws::Utils::Json::JsonView jsonValue)
Gender & WithConfidence(double value)
Definition Gender.h:70
double GetConfidence() const
Definition Gender.h:67
Gender & WithValue(GenderType &&value)
Definition Gender.h:60
AWS_REKOGNITION_API Gender(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const GenderType &value)
Definition Gender.h:57
Aws::Utils::Json::JsonValue JsonValue