AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
FaceSearchSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition {
20namespace Model {
21
31 public:
32 AWS_REKOGNITION_API FaceSearchSettings() = default;
33 AWS_REKOGNITION_API FaceSearchSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
42 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
43 template <typename CollectionIdT = Aws::String>
44 void SetCollectionId(CollectionIdT&& value) {
45 m_collectionIdHasBeenSet = true;
46 m_collectionId = std::forward<CollectionIdT>(value);
47 }
48 template <typename CollectionIdT = Aws::String>
49 FaceSearchSettings& WithCollectionId(CollectionIdT&& value) {
50 SetCollectionId(std::forward<CollectionIdT>(value));
51 return *this;
52 }
54
56
62 inline double GetFaceMatchThreshold() const { return m_faceMatchThreshold; }
63 inline bool FaceMatchThresholdHasBeenSet() const { return m_faceMatchThresholdHasBeenSet; }
64 inline void SetFaceMatchThreshold(double value) {
65 m_faceMatchThresholdHasBeenSet = true;
66 m_faceMatchThreshold = value;
67 }
70 return *this;
71 }
73 private:
74 Aws::String m_collectionId;
75
76 double m_faceMatchThreshold{0.0};
77 bool m_collectionIdHasBeenSet = false;
78 bool m_faceMatchThresholdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Rekognition
83} // 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