AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
46 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
47 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
48 inline CreateFaceLivenessSessionRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
49 inline CreateFaceLivenessSessionRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
50 inline CreateFaceLivenessSessionRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
52
54
59 inline const CreateFaceLivenessSessionRequestSettings& GetSettings() const{ return m_settings; }
60 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
61 inline void SetSettings(const CreateFaceLivenessSessionRequestSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
62 inline void SetSettings(CreateFaceLivenessSessionRequestSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
66
68
74 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
75 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
76 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
77 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
78 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
81 inline CreateFaceLivenessSessionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
83 private:
84
85 Aws::String m_kmsKeyId;
86 bool m_kmsKeyIdHasBeenSet = false;
87
89 bool m_settingsHasBeenSet = false;
90
91 Aws::String m_clientRequestToken;
92 bool m_clientRequestTokenHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Rekognition
97} // namespace Aws
AWS_REKOGNITION_API Aws::String SerializePayload() const override
CreateFaceLivenessSessionRequest & WithSettings(CreateFaceLivenessSessionRequestSettings &&value)
CreateFaceLivenessSessionRequest & WithKmsKeyId(const Aws::String &value)
CreateFaceLivenessSessionRequest & WithKmsKeyId(const char *value)
CreateFaceLivenessSessionRequest & WithSettings(const CreateFaceLivenessSessionRequestSettings &value)
CreateFaceLivenessSessionRequest & WithKmsKeyId(Aws::String &&value)
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSettings(CreateFaceLivenessSessionRequestSettings &&value)
CreateFaceLivenessSessionRequest & WithClientRequestToken(Aws::String &&value)
CreateFaceLivenessSessionRequest & WithClientRequestToken(const char *value)
CreateFaceLivenessSessionRequest & WithClientRequestToken(const Aws::String &value)
void SetSettings(const CreateFaceLivenessSessionRequestSettings &value)
const CreateFaceLivenessSessionRequestSettings & GetSettings() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String