AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
CreateFaceLivenessSessionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition {
22namespace Model {
24 public:
25 AWS_REKOGNITION_API CreateFaceLivenessSessionResult() = default;
28
30
37 inline const Aws::String& GetSessionId() const { return m_sessionId; }
38 template <typename SessionIdT = Aws::String>
39 void SetSessionId(SessionIdT&& value) {
40 m_sessionIdHasBeenSet = true;
41 m_sessionId = std::forward<SessionIdT>(value);
42 }
43 template <typename SessionIdT = Aws::String>
45 SetSessionId(std::forward<SessionIdT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template <typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) {
55 m_requestIdHasBeenSet = true;
56 m_requestId = std::forward<RequestIdT>(value);
57 }
58 template <typename RequestIdT = Aws::String>
60 SetRequestId(std::forward<RequestIdT>(value));
61 return *this;
62 }
64 private:
65 Aws::String m_sessionId;
66 bool m_sessionIdHasBeenSet = false;
67
68 Aws::String m_requestId;
69 bool m_requestIdHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace Rekognition
74} // namespace Aws
AWS_REKOGNITION_API CreateFaceLivenessSessionResult()=default
CreateFaceLivenessSessionResult & WithSessionId(SessionIdT &&value)
CreateFaceLivenessSessionResult & WithRequestId(RequestIdT &&value)
AWS_REKOGNITION_API CreateFaceLivenessSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_REKOGNITION_API CreateFaceLivenessSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue