AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateFaceLivenessSessionRequest.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rekognition/model/CreateFaceLivenessSessionRequestSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Rekognition
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REKOGNITION_API CreateFaceLivenessSessionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateFaceLivenessSession"; }
32
33 AWS_REKOGNITION_API Aws::String SerializePayload() const override;
34
35 AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
44 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
45 template<typename KmsKeyIdT = Aws::String>
46 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
47 template<typename KmsKeyIdT = Aws::String>
48 CreateFaceLivenessSessionRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
50
52
57 inline const CreateFaceLivenessSessionRequestSettings& GetSettings() const { return m_settings; }
58 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
59 template<typename SettingsT = CreateFaceLivenessSessionRequestSettings>
60 void SetSettings(SettingsT&& value) { m_settingsHasBeenSet = true; m_settings = std::forward<SettingsT>(value); }
61 template<typename SettingsT = CreateFaceLivenessSessionRequestSettings>
62 CreateFaceLivenessSessionRequest& WithSettings(SettingsT&& value) { SetSettings(std::forward<SettingsT>(value)); return *this;}
64
66
72 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
73 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
74 template<typename ClientRequestTokenT = Aws::String>
75 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
76 template<typename ClientRequestTokenT = Aws::String>
77 CreateFaceLivenessSessionRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
79 private:
80
81 Aws::String m_kmsKeyId;
82 bool m_kmsKeyIdHasBeenSet = false;
83
85 bool m_settingsHasBeenSet = false;
86
87 Aws::String m_clientRequestToken;
88 bool m_clientRequestTokenHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Rekognition
93} // 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