AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
CreateFaceLivenessSessionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/Rekognition_EXPORTS.h>
10#include <aws/rekognition/model/CreateFaceLivenessSessionRequestSettings.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Rekognition {
16namespace Model {
17
21 public:
22 AWS_REKOGNITION_API CreateFaceLivenessSessionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateFaceLivenessSession"; }
29
30 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
31
32 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
40 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
41 template <typename KmsKeyIdT = Aws::String>
42 void SetKmsKeyId(KmsKeyIdT&& value) {
43 m_kmsKeyIdHasBeenSet = true;
44 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
45 }
46 template <typename KmsKeyIdT = Aws::String>
48 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
49 return *this;
50 }
52
54
59 inline const CreateFaceLivenessSessionRequestSettings& GetSettings() const { return m_settings; }
60 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
61 template <typename SettingsT = CreateFaceLivenessSessionRequestSettings>
62 void SetSettings(SettingsT&& value) {
63 m_settingsHasBeenSet = true;
64 m_settings = std::forward<SettingsT>(value);
65 }
66 template <typename SettingsT = CreateFaceLivenessSessionRequestSettings>
68 SetSettings(std::forward<SettingsT>(value));
69 return *this;
70 }
72
74
80 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
81 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
82 template <typename ClientRequestTokenT = Aws::String>
83 void SetClientRequestToken(ClientRequestTokenT&& value) {
84 m_clientRequestTokenHasBeenSet = true;
85 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
86 }
87 template <typename ClientRequestTokenT = Aws::String>
89 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_kmsKeyId;
95 bool m_kmsKeyIdHasBeenSet = false;
96
98 bool m_settingsHasBeenSet = false;
99
100 Aws::String m_clientRequestToken;
101 bool m_clientRequestTokenHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Rekognition
106} // namespace Aws
AWS_REKOGNITION_API Aws::String SerializePayload() const override
CreateFaceLivenessSessionRequest & WithKmsKeyId(KmsKeyIdT &&value)
AWS_REKOGNITION_API CreateFaceLivenessSessionRequest()=default
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFaceLivenessSessionRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateFaceLivenessSessionRequest & WithSettings(SettingsT &&value)
const CreateFaceLivenessSessionRequestSettings & GetSettings() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String