AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KnownGender.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/KnownGenderType.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
34 {
35 public:
36 AWS_REKOGNITION_API KnownGender();
37 AWS_REKOGNITION_API KnownGender(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API KnownGender& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const KnownGenderType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const KnownGenderType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(KnownGenderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline KnownGender& WithType(const KnownGenderType& value) { SetType(value); return *this;}
51 inline KnownGender& WithType(KnownGenderType&& value) { SetType(std::move(value)); return *this;}
53 private:
54
55 KnownGenderType m_type;
56 bool m_typeHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Rekognition
61} // namespace Aws
AWS_REKOGNITION_API KnownGender()
KnownGender & WithType(const KnownGenderType &value)
Definition KnownGender.h:50
void SetType(KnownGenderType &&value)
Definition KnownGender.h:49
KnownGender & WithType(KnownGenderType &&value)
Definition KnownGender.h:51
void SetType(const KnownGenderType &value)
Definition KnownGender.h:48
AWS_REKOGNITION_API KnownGender(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API KnownGender & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
const KnownGenderType & GetType() const
Definition KnownGender.h:46
Aws::Utils::Json::JsonValue JsonValue