AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FaceSearchSettings.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
35 {
36 public:
37 AWS_REKOGNITION_API FaceSearchSettings() = default;
38 AWS_REKOGNITION_API FaceSearchSettings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
48 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
49 template<typename CollectionIdT = Aws::String>
50 void SetCollectionId(CollectionIdT&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::forward<CollectionIdT>(value); }
51 template<typename CollectionIdT = Aws::String>
52 FaceSearchSettings& WithCollectionId(CollectionIdT&& value) { SetCollectionId(std::forward<CollectionIdT>(value)); return *this;}
54
56
62 inline double GetFaceMatchThreshold() const { return m_faceMatchThreshold; }
63 inline bool FaceMatchThresholdHasBeenSet() const { return m_faceMatchThresholdHasBeenSet; }
64 inline void SetFaceMatchThreshold(double value) { m_faceMatchThresholdHasBeenSet = true; m_faceMatchThreshold = value; }
65 inline FaceSearchSettings& WithFaceMatchThreshold(double value) { SetFaceMatchThreshold(value); return *this;}
67 private:
68
69 Aws::String m_collectionId;
70 bool m_collectionIdHasBeenSet = false;
71
72 double m_faceMatchThreshold{0.0};
73 bool m_faceMatchThresholdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Rekognition
78} // namespace Aws
FaceSearchSettings & WithCollectionId(CollectionIdT &&value)
AWS_REKOGNITION_API FaceSearchSettings()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API FaceSearchSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API FaceSearchSettings(Aws::Utils::Json::JsonView jsonValue)
FaceSearchSettings & WithFaceMatchThreshold(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue