AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnindexedFace.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rekognition/model/FaceDetail.h>
10#include <aws/rekognition/model/Reason.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Rekognition
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_REKOGNITION_API UnindexedFace();
39 AWS_REKOGNITION_API UnindexedFace(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REKOGNITION_API UnindexedFace& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
56 inline const Aws::Vector<Reason>& GetReasons() const{ return m_reasons; }
57 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
58 inline void SetReasons(const Aws::Vector<Reason>& value) { m_reasonsHasBeenSet = true; m_reasons = value; }
59 inline void SetReasons(Aws::Vector<Reason>&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); }
60 inline UnindexedFace& WithReasons(const Aws::Vector<Reason>& value) { SetReasons(value); return *this;}
61 inline UnindexedFace& WithReasons(Aws::Vector<Reason>&& value) { SetReasons(std::move(value)); return *this;}
62 inline UnindexedFace& AddReasons(const Reason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; }
63 inline UnindexedFace& AddReasons(Reason&& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(std::move(value)); return *this; }
65
67
71 inline const FaceDetail& GetFaceDetail() const{ return m_faceDetail; }
72 inline bool FaceDetailHasBeenSet() const { return m_faceDetailHasBeenSet; }
73 inline void SetFaceDetail(const FaceDetail& value) { m_faceDetailHasBeenSet = true; m_faceDetail = value; }
74 inline void SetFaceDetail(FaceDetail&& value) { m_faceDetailHasBeenSet = true; m_faceDetail = std::move(value); }
75 inline UnindexedFace& WithFaceDetail(const FaceDetail& value) { SetFaceDetail(value); return *this;}
76 inline UnindexedFace& WithFaceDetail(FaceDetail&& value) { SetFaceDetail(std::move(value)); return *this;}
78 private:
79
80 Aws::Vector<Reason> m_reasons;
81 bool m_reasonsHasBeenSet = false;
82
83 FaceDetail m_faceDetail;
84 bool m_faceDetailHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Rekognition
89} // namespace Aws
const FaceDetail & GetFaceDetail() const
AWS_REKOGNITION_API UnindexedFace(Aws::Utils::Json::JsonView jsonValue)
UnindexedFace & WithReasons(Aws::Vector< Reason > &&value)
UnindexedFace & WithReasons(const Aws::Vector< Reason > &value)
void SetFaceDetail(const FaceDetail &value)
UnindexedFace & AddReasons(Reason &&value)
void SetReasons(const Aws::Vector< Reason > &value)
UnindexedFace & WithFaceDetail(const FaceDetail &value)
void SetFaceDetail(FaceDetail &&value)
const Aws::Vector< Reason > & GetReasons() const
AWS_REKOGNITION_API UnindexedFace & operator=(Aws::Utils::Json::JsonView jsonValue)
UnindexedFace & AddReasons(const Reason &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReasons(Aws::Vector< Reason > &&value)
UnindexedFace & WithFaceDetail(FaceDetail &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue