AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EnrollmentJobFraudDetectionConfig.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/voice-id/model/FraudDetectionAction.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.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 VoiceID
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_VOICEID_API EnrollmentJobFraudDetectionConfig() = default;
40 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline FraudDetectionAction GetFraudDetectionAction() const { return m_fraudDetectionAction; }
51 inline bool FraudDetectionActionHasBeenSet() const { return m_fraudDetectionActionHasBeenSet; }
52 inline void SetFraudDetectionAction(FraudDetectionAction value) { m_fraudDetectionActionHasBeenSet = true; m_fraudDetectionAction = value; }
55
57
62 inline int GetRiskThreshold() const { return m_riskThreshold; }
63 inline bool RiskThresholdHasBeenSet() const { return m_riskThresholdHasBeenSet; }
64 inline void SetRiskThreshold(int value) { m_riskThresholdHasBeenSet = true; m_riskThreshold = value; }
65 inline EnrollmentJobFraudDetectionConfig& WithRiskThreshold(int value) { SetRiskThreshold(value); return *this;}
67
69
72 inline const Aws::Vector<Aws::String>& GetWatchlistIds() const { return m_watchlistIds; }
73 inline bool WatchlistIdsHasBeenSet() const { return m_watchlistIdsHasBeenSet; }
74 template<typename WatchlistIdsT = Aws::Vector<Aws::String>>
75 void SetWatchlistIds(WatchlistIdsT&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds = std::forward<WatchlistIdsT>(value); }
76 template<typename WatchlistIdsT = Aws::Vector<Aws::String>>
77 EnrollmentJobFraudDetectionConfig& WithWatchlistIds(WatchlistIdsT&& value) { SetWatchlistIds(std::forward<WatchlistIdsT>(value)); return *this;}
78 template<typename WatchlistIdsT = Aws::String>
79 EnrollmentJobFraudDetectionConfig& AddWatchlistIds(WatchlistIdsT&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.emplace_back(std::forward<WatchlistIdsT>(value)); return *this; }
81 private:
82
84 bool m_fraudDetectionActionHasBeenSet = false;
85
86 int m_riskThreshold{0};
87 bool m_riskThresholdHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_watchlistIds;
90 bool m_watchlistIdsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace VoiceID
95} // namespace Aws
EnrollmentJobFraudDetectionConfig & WithRiskThreshold(int value)
EnrollmentJobFraudDetectionConfig & WithWatchlistIds(WatchlistIdsT &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API EnrollmentJobFraudDetectionConfig(Aws::Utils::Json::JsonView jsonValue)
EnrollmentJobFraudDetectionConfig & AddWatchlistIds(WatchlistIdsT &&value)
AWS_VOICEID_API EnrollmentJobFraudDetectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EnrollmentJobFraudDetectionConfig & WithFraudDetectionAction(FraudDetectionAction value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue