AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const FraudDetectionAction& GetFraudDetectionAction() const{ return m_fraudDetectionAction; }
51 inline bool FraudDetectionActionHasBeenSet() const { return m_fraudDetectionActionHasBeenSet; }
52 inline void SetFraudDetectionAction(const FraudDetectionAction& value) { m_fraudDetectionActionHasBeenSet = true; m_fraudDetectionAction = value; }
53 inline void SetFraudDetectionAction(FraudDetectionAction&& value) { m_fraudDetectionActionHasBeenSet = true; m_fraudDetectionAction = std::move(value); }
57
59
64 inline int GetRiskThreshold() const{ return m_riskThreshold; }
65 inline bool RiskThresholdHasBeenSet() const { return m_riskThresholdHasBeenSet; }
66 inline void SetRiskThreshold(int value) { m_riskThresholdHasBeenSet = true; m_riskThreshold = value; }
67 inline EnrollmentJobFraudDetectionConfig& WithRiskThreshold(int value) { SetRiskThreshold(value); return *this;}
69
71
74 inline const Aws::Vector<Aws::String>& GetWatchlistIds() const{ return m_watchlistIds; }
75 inline bool WatchlistIdsHasBeenSet() const { return m_watchlistIdsHasBeenSet; }
76 inline void SetWatchlistIds(const Aws::Vector<Aws::String>& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds = value; }
77 inline void SetWatchlistIds(Aws::Vector<Aws::String>&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds = std::move(value); }
80 inline EnrollmentJobFraudDetectionConfig& AddWatchlistIds(const Aws::String& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(value); return *this; }
81 inline EnrollmentJobFraudDetectionConfig& AddWatchlistIds(Aws::String&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(std::move(value)); return *this; }
82 inline EnrollmentJobFraudDetectionConfig& AddWatchlistIds(const char* value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(value); return *this; }
84 private:
85
86 FraudDetectionAction m_fraudDetectionAction;
87 bool m_fraudDetectionActionHasBeenSet = false;
88
89 int m_riskThreshold;
90 bool m_riskThresholdHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_watchlistIds;
93 bool m_watchlistIdsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace VoiceID
98} // namespace Aws
EnrollmentJobFraudDetectionConfig & AddWatchlistIds(Aws::String &&value)
EnrollmentJobFraudDetectionConfig & WithRiskThreshold(int value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
EnrollmentJobFraudDetectionConfig & WithFraudDetectionAction(const FraudDetectionAction &value)
AWS_VOICEID_API EnrollmentJobFraudDetectionConfig(Aws::Utils::Json::JsonView jsonValue)
EnrollmentJobFraudDetectionConfig & WithWatchlistIds(const Aws::Vector< Aws::String > &value)
EnrollmentJobFraudDetectionConfig & WithFraudDetectionAction(FraudDetectionAction &&value)
EnrollmentJobFraudDetectionConfig & AddWatchlistIds(const Aws::String &value)
EnrollmentJobFraudDetectionConfig & AddWatchlistIds(const char *value)
AWS_VOICEID_API EnrollmentJobFraudDetectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EnrollmentJobFraudDetectionConfig & WithWatchlistIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue