AWS SDK for C++

AWS SDK for C++ Version 1.11.790

Loading...
Searching...
No Matches
EvaluateSessionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/voice-id/VoiceID_EXPORTS.h>
10#include <aws/voice-id/model/AuthenticationResult.h>
11#include <aws/voice-id/model/FraudDetectionResult.h>
12#include <aws/voice-id/model/StreamingStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace VoiceID {
26namespace Model {
28 public:
29 AWS_VOICEID_API EvaluateSessionResult() = default;
32
34
38 inline const AuthenticationResult& GetAuthenticationResult() const { return m_authenticationResult; }
39 template <typename AuthenticationResultT = AuthenticationResult>
40 void SetAuthenticationResult(AuthenticationResultT&& value) {
41 m_authenticationResultHasBeenSet = true;
42 m_authenticationResult = std::forward<AuthenticationResultT>(value);
43 }
44 template <typename AuthenticationResultT = AuthenticationResult>
45 EvaluateSessionResult& WithAuthenticationResult(AuthenticationResultT&& value) {
46 SetAuthenticationResult(std::forward<AuthenticationResultT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDomainId() const { return m_domainId; }
56 template <typename DomainIdT = Aws::String>
57 void SetDomainId(DomainIdT&& value) {
58 m_domainIdHasBeenSet = true;
59 m_domainId = std::forward<DomainIdT>(value);
60 }
61 template <typename DomainIdT = Aws::String>
62 EvaluateSessionResult& WithDomainId(DomainIdT&& value) {
63 SetDomainId(std::forward<DomainIdT>(value));
64 return *this;
65 }
67
69
73 inline const FraudDetectionResult& GetFraudDetectionResult() const { return m_fraudDetectionResult; }
74 template <typename FraudDetectionResultT = FraudDetectionResult>
75 void SetFraudDetectionResult(FraudDetectionResultT&& value) {
76 m_fraudDetectionResultHasBeenSet = true;
77 m_fraudDetectionResult = std::forward<FraudDetectionResultT>(value);
78 }
79 template <typename FraudDetectionResultT = FraudDetectionResult>
80 EvaluateSessionResult& WithFraudDetectionResult(FraudDetectionResultT&& value) {
81 SetFraudDetectionResult(std::forward<FraudDetectionResultT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetSessionId() const { return m_sessionId; }
91 template <typename SessionIdT = Aws::String>
92 void SetSessionId(SessionIdT&& value) {
93 m_sessionIdHasBeenSet = true;
94 m_sessionId = std::forward<SessionIdT>(value);
95 }
96 template <typename SessionIdT = Aws::String>
97 EvaluateSessionResult& WithSessionId(SessionIdT&& value) {
98 SetSessionId(std::forward<SessionIdT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetSessionName() const { return m_sessionName; }
108 template <typename SessionNameT = Aws::String>
109 void SetSessionName(SessionNameT&& value) {
110 m_sessionNameHasBeenSet = true;
111 m_sessionName = std::forward<SessionNameT>(value);
112 }
113 template <typename SessionNameT = Aws::String>
114 EvaluateSessionResult& WithSessionName(SessionNameT&& value) {
115 SetSessionName(std::forward<SessionNameT>(value));
116 return *this;
117 }
119
121
133 inline StreamingStatus GetStreamingStatus() const { return m_streamingStatus; }
135 m_streamingStatusHasBeenSet = true;
136 m_streamingStatus = value;
137 }
139 SetStreamingStatus(value);
140 return *this;
141 }
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
147 template <typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) {
149 m_requestIdHasBeenSet = true;
150 m_requestId = std::forward<RequestIdT>(value);
151 }
152 template <typename RequestIdT = Aws::String>
154 SetRequestId(std::forward<RequestIdT>(value));
155 return *this;
156 }
158 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
159
160 private:
161 AuthenticationResult m_authenticationResult;
162
163 Aws::String m_domainId;
164
165 FraudDetectionResult m_fraudDetectionResult;
166
167 Aws::String m_sessionId;
168
169 Aws::String m_sessionName;
170
171 StreamingStatus m_streamingStatus{StreamingStatus::NOT_SET};
172
173 Aws::String m_requestId;
174 Aws::Http::HttpResponseCode m_HttpResponseCode;
175 bool m_authenticationResultHasBeenSet = false;
176 bool m_domainIdHasBeenSet = false;
177 bool m_fraudDetectionResultHasBeenSet = false;
178 bool m_sessionIdHasBeenSet = false;
179 bool m_sessionNameHasBeenSet = false;
180 bool m_streamingStatusHasBeenSet = false;
181 bool m_requestIdHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace VoiceID
186} // namespace Aws
AWS_VOICEID_API EvaluateSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
EvaluateSessionResult & WithFraudDetectionResult(FraudDetectionResultT &&value)
const FraudDetectionResult & GetFraudDetectionResult() const
EvaluateSessionResult & WithSessionName(SessionNameT &&value)
EvaluateSessionResult & WithSessionId(SessionIdT &&value)
AWS_VOICEID_API EvaluateSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_VOICEID_API EvaluateSessionResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
EvaluateSessionResult & WithDomainId(DomainIdT &&value)
EvaluateSessionResult & WithAuthenticationResult(AuthenticationResultT &&value)
void SetAuthenticationResult(AuthenticationResultT &&value)
EvaluateSessionResult & WithStreamingStatus(StreamingStatus value)
void SetFraudDetectionResult(FraudDetectionResultT &&value)
const AuthenticationResult & GetAuthenticationResult() const
EvaluateSessionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue