AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCollectionId(const Aws::String& value) { m_collectionIdHasBeenSet = true; m_collectionId = value; }
50 inline void SetCollectionId(Aws::String&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::move(value); }
51 inline void SetCollectionId(const char* value) { m_collectionIdHasBeenSet = true; m_collectionId.assign(value); }
52 inline FaceSearchSettings& WithCollectionId(const Aws::String& value) { SetCollectionId(value); return *this;}
53 inline FaceSearchSettings& WithCollectionId(Aws::String&& value) { SetCollectionId(std::move(value)); return *this;}
54 inline FaceSearchSettings& WithCollectionId(const char* value) { SetCollectionId(value); return *this;}
56
58
64 inline double GetFaceMatchThreshold() const{ return m_faceMatchThreshold; }
65 inline bool FaceMatchThresholdHasBeenSet() const { return m_faceMatchThresholdHasBeenSet; }
66 inline void SetFaceMatchThreshold(double value) { m_faceMatchThresholdHasBeenSet = true; m_faceMatchThreshold = value; }
67 inline FaceSearchSettings& WithFaceMatchThreshold(double value) { SetFaceMatchThreshold(value); return *this;}
69 private:
70
71 Aws::String m_collectionId;
72 bool m_collectionIdHasBeenSet = false;
73
74 double m_faceMatchThreshold;
75 bool m_faceMatchThresholdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Rekognition
80} // namespace Aws
FaceSearchSettings & WithCollectionId(const char *value)
void SetCollectionId(const Aws::String &value)
FaceSearchSettings & WithCollectionId(const Aws::String &value)
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 & WithCollectionId(Aws::String &&value)
FaceSearchSettings & WithFaceMatchThreshold(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue