AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
FraudDetectionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/voice-id/VoiceID_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace VoiceID {
20namespace Model {
21
29 public:
30 AWS_VOICEID_API FraudDetectionConfiguration() = default;
33 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline int GetRiskThreshold() const { return m_riskThreshold; }
42 inline bool RiskThresholdHasBeenSet() const { return m_riskThresholdHasBeenSet; }
43 inline void SetRiskThreshold(int value) {
44 m_riskThresholdHasBeenSet = true;
45 m_riskThreshold = value;
46 }
48 SetRiskThreshold(value);
49 return *this;
50 }
52
54
58 inline const Aws::String& GetWatchlistId() const { return m_watchlistId; }
59 inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; }
60 template <typename WatchlistIdT = Aws::String>
61 void SetWatchlistId(WatchlistIdT&& value) {
62 m_watchlistIdHasBeenSet = true;
63 m_watchlistId = std::forward<WatchlistIdT>(value);
64 }
65 template <typename WatchlistIdT = Aws::String>
67 SetWatchlistId(std::forward<WatchlistIdT>(value));
68 return *this;
69 }
71 private:
72 int m_riskThreshold{0};
73
74 Aws::String m_watchlistId;
75 bool m_riskThresholdHasBeenSet = false;
76 bool m_watchlistIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace VoiceID
81} // namespace Aws
AWS_VOICEID_API FraudDetectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API FraudDetectionConfiguration()=default
FraudDetectionConfiguration & WithWatchlistId(WatchlistIdT &&value)
FraudDetectionConfiguration & WithRiskThreshold(int value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API FraudDetectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue