AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnsearchedFace.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/FaceDetail.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/UnsearchedFaceReason.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 UnsearchedFace();
39 AWS_REKOGNITION_API UnsearchedFace(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REKOGNITION_API UnsearchedFace& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const FaceDetail& GetFaceDetails() const{ return m_faceDetails; }
47 inline bool FaceDetailsHasBeenSet() const { return m_faceDetailsHasBeenSet; }
48 inline void SetFaceDetails(const FaceDetail& value) { m_faceDetailsHasBeenSet = true; m_faceDetails = value; }
49 inline void SetFaceDetails(FaceDetail&& value) { m_faceDetailsHasBeenSet = true; m_faceDetails = std::move(value); }
50 inline UnsearchedFace& WithFaceDetails(const FaceDetail& value) { SetFaceDetails(value); return *this;}
51 inline UnsearchedFace& WithFaceDetails(FaceDetail&& value) { SetFaceDetails(std::move(value)); return *this;}
53
55
58 inline const Aws::Vector<UnsearchedFaceReason>& GetReasons() const{ return m_reasons; }
59 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
60 inline void SetReasons(const Aws::Vector<UnsearchedFaceReason>& value) { m_reasonsHasBeenSet = true; m_reasons = value; }
61 inline void SetReasons(Aws::Vector<UnsearchedFaceReason>&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); }
62 inline UnsearchedFace& WithReasons(const Aws::Vector<UnsearchedFaceReason>& value) { SetReasons(value); return *this;}
63 inline UnsearchedFace& WithReasons(Aws::Vector<UnsearchedFaceReason>&& value) { SetReasons(std::move(value)); return *this;}
64 inline UnsearchedFace& AddReasons(const UnsearchedFaceReason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; }
65 inline UnsearchedFace& AddReasons(UnsearchedFaceReason&& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(std::move(value)); return *this; }
67 private:
68
69 FaceDetail m_faceDetails;
70 bool m_faceDetailsHasBeenSet = false;
71
73 bool m_reasonsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Rekognition
78} // namespace Aws
void SetReasons(const Aws::Vector< UnsearchedFaceReason > &value)
UnsearchedFace & AddReasons(UnsearchedFaceReason &&value)
void SetFaceDetails(FaceDetail &&value)
UnsearchedFace & WithReasons(const Aws::Vector< UnsearchedFaceReason > &value)
void SetFaceDetails(const FaceDetail &value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
UnsearchedFace & AddReasons(const UnsearchedFaceReason &value)
void SetReasons(Aws::Vector< UnsearchedFaceReason > &&value)
const Aws::Vector< UnsearchedFaceReason > & GetReasons() const
AWS_REKOGNITION_API UnsearchedFace(Aws::Utils::Json::JsonView jsonValue)
UnsearchedFace & WithReasons(Aws::Vector< UnsearchedFaceReason > &&value)
UnsearchedFace & WithFaceDetails(const FaceDetail &value)
const FaceDetail & GetFaceDetails() const
UnsearchedFace & WithFaceDetails(FaceDetail &&value)
AWS_REKOGNITION_API UnsearchedFace & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue