AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAudioAggregationEndedAt(const Aws::Utils::DateTime& value) { m_audioAggregationEndedAtHasBeenSet = true; m_audioAggregationEndedAt = value; }
56 inline void SetAudioAggregationEndedAt(Aws::Utils::DateTime&& value) { m_audioAggregationEndedAtHasBeenSet = true; m_audioAggregationEndedAt = std::move(value); }
60
62
66 inline const Aws::Utils::DateTime& GetAudioAggregationStartedAt() const{ return m_audioAggregationStartedAt; }
67 inline bool AudioAggregationStartedAtHasBeenSet() const { return m_audioAggregationStartedAtHasBeenSet; }
68 inline void SetAudioAggregationStartedAt(const Aws::Utils::DateTime& value) { m_audioAggregationStartedAtHasBeenSet = true; m_audioAggregationStartedAt = value; }
69 inline void SetAudioAggregationStartedAt(Aws::Utils::DateTime&& value) { m_audioAggregationStartedAtHasBeenSet = true; m_audioAggregationStartedAt = std::move(value); }
73
75
79 inline const FraudDetectionConfiguration& GetConfiguration() const{ return m_configuration; }
80 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
81 inline void SetConfiguration(const FraudDetectionConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
82 inline void SetConfiguration(FraudDetectionConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
84 inline FraudDetectionResult& WithConfiguration(FraudDetectionConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
86
88
92 inline const FraudDetectionDecision& GetDecision() const{ return m_decision; }
93 inline bool DecisionHasBeenSet() const { return m_decisionHasBeenSet; }
94 inline void SetDecision(const FraudDetectionDecision& value) { m_decisionHasBeenSet = true; m_decision = value; }
95 inline void SetDecision(FraudDetectionDecision&& value) { m_decisionHasBeenSet = true; m_decision = std::move(value); }
96 inline FraudDetectionResult& WithDecision(const FraudDetectionDecision& value) { SetDecision(value); return *this;}
97 inline FraudDetectionResult& WithDecision(FraudDetectionDecision&& value) { SetDecision(std::move(value)); return *this;}
99
101
108 inline const Aws::String& GetFraudDetectionResultId() const{ return m_fraudDetectionResultId; }
109 inline bool FraudDetectionResultIdHasBeenSet() const { return m_fraudDetectionResultIdHasBeenSet; }
110 inline void SetFraudDetectionResultId(const Aws::String& value) { m_fraudDetectionResultIdHasBeenSet = true; m_fraudDetectionResultId = value; }
111 inline void SetFraudDetectionResultId(Aws::String&& value) { m_fraudDetectionResultIdHasBeenSet = true; m_fraudDetectionResultId = std::move(value); }
112 inline void SetFraudDetectionResultId(const char* value) { m_fraudDetectionResultIdHasBeenSet = true; m_fraudDetectionResultId.assign(value); }
115 inline FraudDetectionResult& WithFraudDetectionResultId(const char* value) { SetFraudDetectionResultId(value); return *this;}
117
119
125 inline const Aws::Vector<FraudDetectionReason>& GetReasons() const{ return m_reasons; }
126 inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; }
127 inline void SetReasons(const Aws::Vector<FraudDetectionReason>& value) { m_reasonsHasBeenSet = true; m_reasons = value; }
128 inline void SetReasons(Aws::Vector<FraudDetectionReason>&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); }
130 inline FraudDetectionResult& WithReasons(Aws::Vector<FraudDetectionReason>&& value) { SetReasons(std::move(value)); return *this;}
131 inline FraudDetectionResult& AddReasons(const FraudDetectionReason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; }
132 inline FraudDetectionResult& AddReasons(FraudDetectionReason&& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(std::move(value)); return *this; }
134
136
140 inline const FraudRiskDetails& GetRiskDetails() const{ return m_riskDetails; }
141 inline bool RiskDetailsHasBeenSet() const { return m_riskDetailsHasBeenSet; }
142 inline void SetRiskDetails(const FraudRiskDetails& value) { m_riskDetailsHasBeenSet = true; m_riskDetails = value; }
143 inline void SetRiskDetails(FraudRiskDetails&& value) { m_riskDetailsHasBeenSet = true; m_riskDetails = std::move(value); }
144 inline FraudDetectionResult& WithRiskDetails(const FraudRiskDetails& value) { SetRiskDetails(value); return *this;}
145 inline FraudDetectionResult& WithRiskDetails(FraudRiskDetails&& value) { SetRiskDetails(std::move(value)); return *this;}
147 private:
148
149 Aws::Utils::DateTime m_audioAggregationEndedAt;
150 bool m_audioAggregationEndedAtHasBeenSet = false;
151
152 Aws::Utils::DateTime m_audioAggregationStartedAt;
153 bool m_audioAggregationStartedAtHasBeenSet = false;
154
155 FraudDetectionConfiguration m_configuration;
156 bool m_configurationHasBeenSet = false;
157
158 FraudDetectionDecision m_decision;
159 bool m_decisionHasBeenSet = false;
160
161 Aws::String m_fraudDetectionResultId;
162 bool m_fraudDetectionResultIdHasBeenSet = false;
163
165 bool m_reasonsHasBeenSet = false;
166
167 FraudRiskDetails m_riskDetails;
168 bool m_riskDetailsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace VoiceID
173} // namespace Aws
void SetAudioAggregationStartedAt(const Aws::Utils::DateTime &value)
void SetConfiguration(const FraudDetectionConfiguration &value)
FraudDetectionResult & WithAudioAggregationStartedAt(const Aws::Utils::DateTime &value)
void SetFraudDetectionResultId(const Aws::String &value)
FraudDetectionResult & WithReasons(const Aws::Vector< FraudDetectionReason > &value)
void SetRiskDetails(FraudRiskDetails &&value)
AWS_VOICEID_API FraudDetectionResult(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfiguration(FraudDetectionConfiguration &&value)
void SetDecision(const FraudDetectionDecision &value)
FraudDetectionResult & AddReasons(FraudDetectionReason &&value)
void SetReasons(const Aws::Vector< FraudDetectionReason > &value)
void SetReasons(Aws::Vector< FraudDetectionReason > &&value)
void SetAudioAggregationEndedAt(Aws::Utils::DateTime &&value)
FraudDetectionResult & WithFraudDetectionResultId(const char *value)
FraudDetectionResult & WithFraudDetectionResultId(const Aws::String &value)
const Aws::Vector< FraudDetectionReason > & GetReasons() const
AWS_VOICEID_API FraudDetectionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
FraudDetectionResult & WithReasons(Aws::Vector< FraudDetectionReason > &&value)
FraudDetectionResult & AddReasons(const FraudDetectionReason &value)
void SetAudioAggregationStartedAt(Aws::Utils::DateTime &&value)
const FraudRiskDetails & GetRiskDetails() const
const Aws::String & GetFraudDetectionResultId() const
const Aws::Utils::DateTime & GetAudioAggregationStartedAt() const
FraudDetectionResult & WithAudioAggregationStartedAt(Aws::Utils::DateTime &&value)
void SetAudioAggregationEndedAt(const Aws::Utils::DateTime &value)
FraudDetectionResult & WithDecision(FraudDetectionDecision &&value)
FraudDetectionResult & WithRiskDetails(FraudRiskDetails &&value)
FraudDetectionResult & WithConfiguration(FraudDetectionConfiguration &&value)
FraudDetectionResult & WithRiskDetails(const FraudRiskDetails &value)
FraudDetectionResult & WithAudioAggregationEndedAt(const Aws::Utils::DateTime &value)
FraudDetectionResult & WithFraudDetectionResultId(Aws::String &&value)
const FraudDetectionConfiguration & GetConfiguration() const
FraudDetectionResult & WithConfiguration(const FraudDetectionConfiguration &value)
FraudDetectionResult & WithAudioAggregationEndedAt(Aws::Utils::DateTime &&value)
void SetRiskDetails(const FraudRiskDetails &value)
const FraudDetectionDecision & GetDecision() const
void SetDecision(FraudDetectionDecision &&value)
FraudDetectionResult & WithDecision(const FraudDetectionDecision &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