AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthenticationResult.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/voice-id/model/AuthenticationConfiguration.h>
11#include <aws/voice-id/model/AuthenticationDecision.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace VoiceID
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_VOICEID_API AuthenticationResult();
41 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Utils::DateTime& GetAudioAggregationEndedAt() const{ return m_audioAggregationEndedAt; }
50 inline bool AudioAggregationEndedAtHasBeenSet() const { return m_audioAggregationEndedAtHasBeenSet; }
51 inline void SetAudioAggregationEndedAt(const Aws::Utils::DateTime& value) { m_audioAggregationEndedAtHasBeenSet = true; m_audioAggregationEndedAt = value; }
52 inline void SetAudioAggregationEndedAt(Aws::Utils::DateTime&& value) { m_audioAggregationEndedAtHasBeenSet = true; m_audioAggregationEndedAt = std::move(value); }
56
58
62 inline const Aws::Utils::DateTime& GetAudioAggregationStartedAt() const{ return m_audioAggregationStartedAt; }
63 inline bool AudioAggregationStartedAtHasBeenSet() const { return m_audioAggregationStartedAtHasBeenSet; }
64 inline void SetAudioAggregationStartedAt(const Aws::Utils::DateTime& value) { m_audioAggregationStartedAtHasBeenSet = true; m_audioAggregationStartedAt = value; }
65 inline void SetAudioAggregationStartedAt(Aws::Utils::DateTime&& value) { m_audioAggregationStartedAtHasBeenSet = true; m_audioAggregationStartedAt = std::move(value); }
69
71
79 inline const Aws::String& GetAuthenticationResultId() const{ return m_authenticationResultId; }
80 inline bool AuthenticationResultIdHasBeenSet() const { return m_authenticationResultIdHasBeenSet; }
81 inline void SetAuthenticationResultId(const Aws::String& value) { m_authenticationResultIdHasBeenSet = true; m_authenticationResultId = value; }
82 inline void SetAuthenticationResultId(Aws::String&& value) { m_authenticationResultIdHasBeenSet = true; m_authenticationResultId = std::move(value); }
83 inline void SetAuthenticationResultId(const char* value) { m_authenticationResultIdHasBeenSet = true; m_authenticationResultId.assign(value); }
85 inline AuthenticationResult& WithAuthenticationResultId(Aws::String&& value) { SetAuthenticationResultId(std::move(value)); return *this;}
86 inline AuthenticationResult& WithAuthenticationResultId(const char* value) { SetAuthenticationResultId(value); return *this;}
88
90
94 inline const AuthenticationConfiguration& GetConfiguration() const{ return m_configuration; }
95 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
96 inline void SetConfiguration(const AuthenticationConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
97 inline void SetConfiguration(AuthenticationConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
99 inline AuthenticationResult& WithConfiguration(AuthenticationConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
101
103
108 inline const Aws::String& GetCustomerSpeakerId() const{ return m_customerSpeakerId; }
109 inline bool CustomerSpeakerIdHasBeenSet() const { return m_customerSpeakerIdHasBeenSet; }
110 inline void SetCustomerSpeakerId(const Aws::String& value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = value; }
111 inline void SetCustomerSpeakerId(Aws::String&& value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = std::move(value); }
112 inline void SetCustomerSpeakerId(const char* value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId.assign(value); }
113 inline AuthenticationResult& WithCustomerSpeakerId(const Aws::String& value) { SetCustomerSpeakerId(value); return *this;}
114 inline AuthenticationResult& WithCustomerSpeakerId(Aws::String&& value) { SetCustomerSpeakerId(std::move(value)); return *this;}
115 inline AuthenticationResult& WithCustomerSpeakerId(const char* value) { SetCustomerSpeakerId(value); return *this;}
117
119
123 inline const AuthenticationDecision& GetDecision() const{ return m_decision; }
124 inline bool DecisionHasBeenSet() const { return m_decisionHasBeenSet; }
125 inline void SetDecision(const AuthenticationDecision& value) { m_decisionHasBeenSet = true; m_decision = value; }
126 inline void SetDecision(AuthenticationDecision&& value) { m_decisionHasBeenSet = true; m_decision = std::move(value); }
127 inline AuthenticationResult& WithDecision(const AuthenticationDecision& value) { SetDecision(value); return *this;}
128 inline AuthenticationResult& WithDecision(AuthenticationDecision&& value) { SetDecision(std::move(value)); return *this;}
130
132
136 inline const Aws::String& GetGeneratedSpeakerId() const{ return m_generatedSpeakerId; }
137 inline bool GeneratedSpeakerIdHasBeenSet() const { return m_generatedSpeakerIdHasBeenSet; }
138 inline void SetGeneratedSpeakerId(const Aws::String& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = value; }
139 inline void SetGeneratedSpeakerId(Aws::String&& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = std::move(value); }
140 inline void SetGeneratedSpeakerId(const char* value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId.assign(value); }
142 inline AuthenticationResult& WithGeneratedSpeakerId(Aws::String&& value) { SetGeneratedSpeakerId(std::move(value)); return *this;}
143 inline AuthenticationResult& WithGeneratedSpeakerId(const char* value) { SetGeneratedSpeakerId(value); return *this;}
145
147
152 inline int GetScore() const{ return m_score; }
153 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
154 inline void SetScore(int value) { m_scoreHasBeenSet = true; m_score = value; }
155 inline AuthenticationResult& WithScore(int value) { SetScore(value); return *this;}
157 private:
158
159 Aws::Utils::DateTime m_audioAggregationEndedAt;
160 bool m_audioAggregationEndedAtHasBeenSet = false;
161
162 Aws::Utils::DateTime m_audioAggregationStartedAt;
163 bool m_audioAggregationStartedAtHasBeenSet = false;
164
165 Aws::String m_authenticationResultId;
166 bool m_authenticationResultIdHasBeenSet = false;
167
168 AuthenticationConfiguration m_configuration;
169 bool m_configurationHasBeenSet = false;
170
171 Aws::String m_customerSpeakerId;
172 bool m_customerSpeakerIdHasBeenSet = false;
173
174 AuthenticationDecision m_decision;
175 bool m_decisionHasBeenSet = false;
176
177 Aws::String m_generatedSpeakerId;
178 bool m_generatedSpeakerIdHasBeenSet = false;
179
180 int m_score;
181 bool m_scoreHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace VoiceID
186} // namespace Aws
AuthenticationResult & WithDecision(const AuthenticationDecision &value)
void SetConfiguration(const AuthenticationConfiguration &value)
AuthenticationResult & WithGeneratedSpeakerId(const char *value)
void SetAuthenticationResultId(const Aws::String &value)
AuthenticationResult & WithAudioAggregationStartedAt(const Aws::Utils::DateTime &value)
void SetConfiguration(AuthenticationConfiguration &&value)
AuthenticationResult & WithAuthenticationResultId(const char *value)
AuthenticationResult & WithAuthenticationResultId(const Aws::String &value)
void SetAudioAggregationEndedAt(const Aws::Utils::DateTime &value)
AuthenticationResult & WithAudioAggregationStartedAt(Aws::Utils::DateTime &&value)
AuthenticationResult & WithAuthenticationResultId(Aws::String &&value)
const Aws::String & GetAuthenticationResultId() const
void SetAudioAggregationEndedAt(Aws::Utils::DateTime &&value)
AWS_VOICEID_API AuthenticationResult(Aws::Utils::Json::JsonView jsonValue)
const AuthenticationDecision & GetDecision() const
void SetAuthenticationResultId(Aws::String &&value)
void SetGeneratedSpeakerId(const Aws::String &value)
const Aws::String & GetGeneratedSpeakerId() const
AuthenticationResult & WithConfiguration(const AuthenticationConfiguration &value)
AuthenticationResult & WithDecision(AuthenticationDecision &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationResult & WithCustomerSpeakerId(const Aws::String &value)
AuthenticationResult & WithScore(int value)
AuthenticationResult & WithConfiguration(AuthenticationConfiguration &&value)
const Aws::Utils::DateTime & GetAudioAggregationStartedAt() const
AuthenticationResult & WithAudioAggregationEndedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetAudioAggregationEndedAt() const
void SetDecision(const AuthenticationDecision &value)
AuthenticationResult & WithCustomerSpeakerId(const char *value)
void SetDecision(AuthenticationDecision &&value)
AuthenticationResult & WithCustomerSpeakerId(Aws::String &&value)
AuthenticationResult & WithGeneratedSpeakerId(Aws::String &&value)
AWS_VOICEID_API AuthenticationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAudioAggregationStartedAt(const Aws::Utils::DateTime &value)
const AuthenticationConfiguration & GetConfiguration() const
AuthenticationResult & WithAudioAggregationEndedAt(Aws::Utils::DateTime &&value)
AuthenticationResult & WithGeneratedSpeakerId(const Aws::String &value)
void SetCustomerSpeakerId(const Aws::String &value)
void SetAudioAggregationStartedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue