AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FraudDetectionResult.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/voice-id/model/FraudDetectionConfiguration.h>
10#include <aws/voice-id/model/FraudDetectionDecision.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/voice-id/model/FraudRiskDetails.h>
14#include <aws/voice-id/model/FraudDetectionReason.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace VoiceID
28{
29namespace Model
30{
31
40 {
41 public:
42 AWS_VOICEID_API FraudDetectionResult() = default;
45 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::Utils::DateTime& GetAudioAggregationEndedAt() const { return m_audioAggregationEndedAt; }
54 inline bool AudioAggregationEndedAtHasBeenSet() const { return m_audioAggregationEndedAtHasBeenSet; }
55 template<typename AudioAggregationEndedAtT = Aws::Utils::DateTime>
56 void SetAudioAggregationEndedAt(AudioAggregationEndedAtT&& value) { m_audioAggregationEndedAtHasBeenSet = true; m_audioAggregationEndedAt = std::forward<AudioAggregationEndedAtT>(value); }
57 template<typename AudioAggregationEndedAtT = Aws::Utils::DateTime>
58 FraudDetectionResult& WithAudioAggregationEndedAt(AudioAggregationEndedAtT&& value) { SetAudioAggregationEndedAt(std::forward<AudioAggregationEndedAtT>(value)); return *this;}
60
62
66 inline const Aws::Utils::DateTime& GetAudioAggregationStartedAt() const { return m_audioAggregationStartedAt; }
67 inline bool AudioAggregationStartedAtHasBeenSet() const { return m_audioAggregationStartedAtHasBeenSet; }
68 template<typename AudioAggregationStartedAtT = Aws::Utils::DateTime>
69 void SetAudioAggregationStartedAt(AudioAggregationStartedAtT&& value) { m_audioAggregationStartedAtHasBeenSet = true; m_audioAggregationStartedAt = std::forward<AudioAggregationStartedAtT>(value); }
70 template<typename AudioAggregationStartedAtT = Aws::Utils::DateTime>
71 FraudDetectionResult& WithAudioAggregationStartedAt(AudioAggregationStartedAtT&& value) { SetAudioAggregationStartedAt(std::forward<AudioAggregationStartedAtT>(value)); return *this;}
73
75
79 inline const FraudDetectionConfiguration& GetConfiguration() const { return m_configuration; }
80 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
81 template<typename ConfigurationT = FraudDetectionConfiguration>
82 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
83 template<typename ConfigurationT = FraudDetectionConfiguration>
84 FraudDetectionResult& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
86
88
92 inline FraudDetectionDecision GetDecision() const { return m_decision; }
93 inline bool DecisionHasBeenSet() const { return m_decisionHasBeenSet; }
94 inline void SetDecision(FraudDetectionDecision value) { m_decisionHasBeenSet = true; m_decision = value; }
97
99
106 inline const Aws::String& GetFraudDetectionResultId() const { return m_fraudDetectionResultId; }
107 inline bool FraudDetectionResultIdHasBeenSet() const { return m_fraudDetectionResultIdHasBeenSet; }
108 template<typename FraudDetectionResultIdT = Aws::String>
109 void SetFraudDetectionResultId(FraudDetectionResultIdT&& value) { m_fraudDetectionResultIdHasBeenSet = true; m_fraudDetectionResultId = std::forward<FraudDetectionResultIdT>(value); }
110 template<typename FraudDetectionResultIdT = Aws::String>
111 FraudDetectionResult& WithFraudDetectionResultId(FraudDetectionResultIdT&& value) { SetFraudDetectionResultId(std::forward<FraudDetectionResultIdT>(value)); return *this;}
113
115
121 inline const Aws::Vector<FraudDetectionReason>& GetReasons() const { return m_reasons; }
122 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
123 template<typename ReasonsT = Aws::Vector<FraudDetectionReason>>
124 void SetReasons(ReasonsT&& value) { m_reasonsHasBeenSet = true; m_reasons = std::forward<ReasonsT>(value); }
125 template<typename ReasonsT = Aws::Vector<FraudDetectionReason>>
126 FraudDetectionResult& WithReasons(ReasonsT&& value) { SetReasons(std::forward<ReasonsT>(value)); return *this;}
127 inline FraudDetectionResult& AddReasons(FraudDetectionReason value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; }
129
131
135 inline const FraudRiskDetails& GetRiskDetails() const { return m_riskDetails; }
136 inline bool RiskDetailsHasBeenSet() const { return m_riskDetailsHasBeenSet; }
137 template<typename RiskDetailsT = FraudRiskDetails>
138 void SetRiskDetails(RiskDetailsT&& value) { m_riskDetailsHasBeenSet = true; m_riskDetails = std::forward<RiskDetailsT>(value); }
139 template<typename RiskDetailsT = FraudRiskDetails>
140 FraudDetectionResult& WithRiskDetails(RiskDetailsT&& value) { SetRiskDetails(std::forward<RiskDetailsT>(value)); return *this;}
142 private:
143
144 Aws::Utils::DateTime m_audioAggregationEndedAt{};
145 bool m_audioAggregationEndedAtHasBeenSet = false;
146
147 Aws::Utils::DateTime m_audioAggregationStartedAt{};
148 bool m_audioAggregationStartedAtHasBeenSet = false;
149
150 FraudDetectionConfiguration m_configuration;
151 bool m_configurationHasBeenSet = false;
152
154 bool m_decisionHasBeenSet = false;
155
156 Aws::String m_fraudDetectionResultId;
157 bool m_fraudDetectionResultIdHasBeenSet = false;
158
160 bool m_reasonsHasBeenSet = false;
161
162 FraudRiskDetails m_riskDetails;
163 bool m_riskDetailsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace VoiceID
168} // namespace Aws
FraudDetectionResult & WithFraudDetectionResultId(FraudDetectionResultIdT &&value)
void SetConfiguration(ConfigurationT &&value)
FraudDetectionResult & WithAudioAggregationStartedAt(AudioAggregationStartedAtT &&value)
FraudDetectionResult & AddReasons(FraudDetectionReason value)
AWS_VOICEID_API FraudDetectionResult(Aws::Utils::Json::JsonView jsonValue)
FraudDetectionResult & WithAudioAggregationEndedAt(AudioAggregationEndedAtT &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDecision(FraudDetectionDecision value)
void SetFraudDetectionResultId(FraudDetectionResultIdT &&value)
FraudDetectionResult & WithReasons(ReasonsT &&value)
FraudDetectionDecision GetDecision() const
const Aws::Vector< FraudDetectionReason > & GetReasons() const
void SetAudioAggregationEndedAt(AudioAggregationEndedAtT &&value)
AWS_VOICEID_API FraudDetectionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
FraudDetectionResult & WithRiskDetails(RiskDetailsT &&value)
FraudDetectionResult & WithConfiguration(ConfigurationT &&value)
const FraudRiskDetails & GetRiskDetails() const
AWS_VOICEID_API FraudDetectionResult()=default
const Aws::String & GetFraudDetectionResultId() const
const Aws::Utils::DateTime & GetAudioAggregationStartedAt() const
const FraudDetectionConfiguration & GetConfiguration() const
FraudDetectionResult & WithDecision(FraudDetectionDecision value)
void SetAudioAggregationStartedAt(AudioAggregationStartedAtT &&value)
const Aws::Utils::DateTime & GetAudioAggregationEndedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue