AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
EnrollmentConfig.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/voice-id/model/EnrollmentJobFraudDetectionConfig.h>
9#include <aws/voice-id/model/ExistingEnrollmentAction.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace VoiceID {
21namespace Model {
22
30 public:
31 AWS_VOICEID_API EnrollmentConfig() = default;
32 AWS_VOICEID_API EnrollmentConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline ExistingEnrollmentAction GetExistingEnrollmentAction() const { return m_existingEnrollmentAction; }
45 inline bool ExistingEnrollmentActionHasBeenSet() const { return m_existingEnrollmentActionHasBeenSet; }
47 m_existingEnrollmentActionHasBeenSet = true;
48 m_existingEnrollmentAction = value;
49 }
52 return *this;
53 }
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) {
64 m_fraudDetectionConfigHasBeenSet = true;
65 m_fraudDetectionConfig = std::forward<FraudDetectionConfigT>(value);
66 }
67 template <typename FraudDetectionConfigT = EnrollmentJobFraudDetectionConfig>
68 EnrollmentConfig& WithFraudDetectionConfig(FraudDetectionConfigT&& value) {
69 SetFraudDetectionConfig(std::forward<FraudDetectionConfigT>(value));
70 return *this;
71 }
73 private:
75
76 EnrollmentJobFraudDetectionConfig m_fraudDetectionConfig;
77 bool m_existingEnrollmentActionHasBeenSet = false;
78 bool m_fraudDetectionConfigHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace VoiceID
83} // 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