AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnrollmentConfig.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/voice-id/model/ExistingEnrollmentAction.h>
9#include <aws/voice-id/model/EnrollmentJobFraudDetectionConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace VoiceID
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_VOICEID_API EnrollmentConfig() = default;
37 AWS_VOICEID_API EnrollmentConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline ExistingEnrollmentAction GetExistingEnrollmentAction() const { return m_existingEnrollmentAction; }
51 inline bool ExistingEnrollmentActionHasBeenSet() const { return m_existingEnrollmentActionHasBeenSet; }
52 inline void SetExistingEnrollmentAction(ExistingEnrollmentAction value) { m_existingEnrollmentActionHasBeenSet = true; m_existingEnrollmentAction = value; }
55
57
60 inline const EnrollmentJobFraudDetectionConfig& GetFraudDetectionConfig() const { return m_fraudDetectionConfig; }
61 inline bool FraudDetectionConfigHasBeenSet() const { return m_fraudDetectionConfigHasBeenSet; }
62 template<typename FraudDetectionConfigT = EnrollmentJobFraudDetectionConfig>
63 void SetFraudDetectionConfig(FraudDetectionConfigT&& value) { m_fraudDetectionConfigHasBeenSet = true; m_fraudDetectionConfig = std::forward<FraudDetectionConfigT>(value); }
64 template<typename FraudDetectionConfigT = EnrollmentJobFraudDetectionConfig>
65 EnrollmentConfig& WithFraudDetectionConfig(FraudDetectionConfigT&& value) { SetFraudDetectionConfig(std::forward<FraudDetectionConfigT>(value)); return *this;}
67 private:
68
70 bool m_existingEnrollmentActionHasBeenSet = false;
71
72 EnrollmentJobFraudDetectionConfig m_fraudDetectionConfig;
73 bool m_fraudDetectionConfigHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace VoiceID
78} // namespace Aws
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API EnrollmentConfig()=default
AWS_VOICEID_API EnrollmentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExistingEnrollmentAction(ExistingEnrollmentAction value)
const EnrollmentJobFraudDetectionConfig & GetFraudDetectionConfig() const
AWS_VOICEID_API EnrollmentConfig(Aws::Utils::Json::JsonView jsonValue)
EnrollmentConfig & WithFraudDetectionConfig(FraudDetectionConfigT &&value)
void SetFraudDetectionConfig(FraudDetectionConfigT &&value)
EnrollmentConfig & WithExistingEnrollmentAction(ExistingEnrollmentAction value)
ExistingEnrollmentAction GetExistingEnrollmentAction() const
Aws::Utils::Json::JsonValue JsonValue