AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateFaceLivenessSessionRequestSettings.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/LivenessOutputConfig.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/ChallengePreference.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 CreateFaceLivenessSessionRequestSettings() = default;
41 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
53 inline const LivenessOutputConfig& GetOutputConfig() const { return m_outputConfig; }
54 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
55 template<typename OutputConfigT = LivenessOutputConfig>
56 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
57 template<typename OutputConfigT = LivenessOutputConfig>
58 CreateFaceLivenessSessionRequestSettings& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
60
62
68 inline int GetAuditImagesLimit() const { return m_auditImagesLimit; }
69 inline bool AuditImagesLimitHasBeenSet() const { return m_auditImagesLimitHasBeenSet; }
70 inline void SetAuditImagesLimit(int value) { m_auditImagesLimitHasBeenSet = true; m_auditImagesLimit = value; }
73
75
79 inline const Aws::Vector<ChallengePreference>& GetChallengePreferences() const { return m_challengePreferences; }
80 inline bool ChallengePreferencesHasBeenSet() const { return m_challengePreferencesHasBeenSet; }
81 template<typename ChallengePreferencesT = Aws::Vector<ChallengePreference>>
82 void SetChallengePreferences(ChallengePreferencesT&& value) { m_challengePreferencesHasBeenSet = true; m_challengePreferences = std::forward<ChallengePreferencesT>(value); }
83 template<typename ChallengePreferencesT = Aws::Vector<ChallengePreference>>
84 CreateFaceLivenessSessionRequestSettings& WithChallengePreferences(ChallengePreferencesT&& value) { SetChallengePreferences(std::forward<ChallengePreferencesT>(value)); return *this;}
85 template<typename ChallengePreferencesT = ChallengePreference>
86 CreateFaceLivenessSessionRequestSettings& AddChallengePreferences(ChallengePreferencesT&& value) { m_challengePreferencesHasBeenSet = true; m_challengePreferences.emplace_back(std::forward<ChallengePreferencesT>(value)); return *this; }
88 private:
89
90 LivenessOutputConfig m_outputConfig;
91 bool m_outputConfigHasBeenSet = false;
92
93 int m_auditImagesLimit{0};
94 bool m_auditImagesLimitHasBeenSet = false;
95
96 Aws::Vector<ChallengePreference> m_challengePreferences;
97 bool m_challengePreferencesHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Rekognition
102} // namespace Aws
CreateFaceLivenessSessionRequestSettings & AddChallengePreferences(ChallengePreferencesT &&value)
AWS_REKOGNITION_API CreateFaceLivenessSessionRequestSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateFaceLivenessSessionRequestSettings & WithOutputConfig(OutputConfigT &&value)
CreateFaceLivenessSessionRequestSettings & WithChallengePreferences(ChallengePreferencesT &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API CreateFaceLivenessSessionRequestSettings(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue