AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExportKeyRequest.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/payment-cryptography/PaymentCryptographyRequest.h>
9#include <aws/payment-cryptography/model/ExportKeyMaterial.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/payment-cryptography/model/ExportAttributes.h>
12#include <utility>
13
14namespace Aws
15{
16namespace PaymentCryptography
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ExportKey"; }
33
34 AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override;
35
36 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const ExportKeyMaterial& GetKeyMaterial() const { return m_keyMaterial; }
45 inline bool KeyMaterialHasBeenSet() const { return m_keyMaterialHasBeenSet; }
46 template<typename KeyMaterialT = ExportKeyMaterial>
47 void SetKeyMaterial(KeyMaterialT&& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = std::forward<KeyMaterialT>(value); }
48 template<typename KeyMaterialT = ExportKeyMaterial>
49 ExportKeyRequest& WithKeyMaterial(KeyMaterialT&& value) { SetKeyMaterial(std::forward<KeyMaterialT>(value)); return *this;}
51
53
57 inline const Aws::String& GetExportKeyIdentifier() const { return m_exportKeyIdentifier; }
58 inline bool ExportKeyIdentifierHasBeenSet() const { return m_exportKeyIdentifierHasBeenSet; }
59 template<typename ExportKeyIdentifierT = Aws::String>
60 void SetExportKeyIdentifier(ExportKeyIdentifierT&& value) { m_exportKeyIdentifierHasBeenSet = true; m_exportKeyIdentifier = std::forward<ExportKeyIdentifierT>(value); }
61 template<typename ExportKeyIdentifierT = Aws::String>
62 ExportKeyRequest& WithExportKeyIdentifier(ExportKeyIdentifierT&& value) { SetExportKeyIdentifier(std::forward<ExportKeyIdentifierT>(value)); return *this;}
64
66
69 inline const ExportAttributes& GetExportAttributes() const { return m_exportAttributes; }
70 inline bool ExportAttributesHasBeenSet() const { return m_exportAttributesHasBeenSet; }
71 template<typename ExportAttributesT = ExportAttributes>
72 void SetExportAttributes(ExportAttributesT&& value) { m_exportAttributesHasBeenSet = true; m_exportAttributes = std::forward<ExportAttributesT>(value); }
73 template<typename ExportAttributesT = ExportAttributes>
74 ExportKeyRequest& WithExportAttributes(ExportAttributesT&& value) { SetExportAttributes(std::forward<ExportAttributesT>(value)); return *this;}
76 private:
77
78 ExportKeyMaterial m_keyMaterial;
79 bool m_keyMaterialHasBeenSet = false;
80
81 Aws::String m_exportKeyIdentifier;
82 bool m_exportKeyIdentifierHasBeenSet = false;
83
84 ExportAttributes m_exportAttributes;
85 bool m_exportAttributesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace PaymentCryptography
90} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
const ExportKeyMaterial & GetKeyMaterial() const
void SetExportKeyIdentifier(ExportKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ExportAttributes & GetExportAttributes() const
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyRequest()=default
void SetExportAttributes(ExportAttributesT &&value)
ExportKeyRequest & WithExportAttributes(ExportAttributesT &&value)
ExportKeyRequest & WithExportKeyIdentifier(ExportKeyIdentifierT &&value)
ExportKeyRequest & WithKeyMaterial(KeyMaterialT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String