AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKeyMaterial(const ExportKeyMaterial& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = value; }
47 inline void SetKeyMaterial(ExportKeyMaterial&& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = std::move(value); }
48 inline ExportKeyRequest& WithKeyMaterial(const ExportKeyMaterial& value) { SetKeyMaterial(value); return *this;}
49 inline ExportKeyRequest& WithKeyMaterial(ExportKeyMaterial&& value) { SetKeyMaterial(std::move(value)); return *this;}
51
53
57 inline const Aws::String& GetExportKeyIdentifier() const{ return m_exportKeyIdentifier; }
58 inline bool ExportKeyIdentifierHasBeenSet() const { return m_exportKeyIdentifierHasBeenSet; }
59 inline void SetExportKeyIdentifier(const Aws::String& value) { m_exportKeyIdentifierHasBeenSet = true; m_exportKeyIdentifier = value; }
60 inline void SetExportKeyIdentifier(Aws::String&& value) { m_exportKeyIdentifierHasBeenSet = true; m_exportKeyIdentifier = std::move(value); }
61 inline void SetExportKeyIdentifier(const char* value) { m_exportKeyIdentifierHasBeenSet = true; m_exportKeyIdentifier.assign(value); }
62 inline ExportKeyRequest& WithExportKeyIdentifier(const Aws::String& value) { SetExportKeyIdentifier(value); return *this;}
63 inline ExportKeyRequest& WithExportKeyIdentifier(Aws::String&& value) { SetExportKeyIdentifier(std::move(value)); return *this;}
64 inline ExportKeyRequest& WithExportKeyIdentifier(const char* value) { SetExportKeyIdentifier(value); return *this;}
66
68
71 inline const ExportAttributes& GetExportAttributes() const{ return m_exportAttributes; }
72 inline bool ExportAttributesHasBeenSet() const { return m_exportAttributesHasBeenSet; }
73 inline void SetExportAttributes(const ExportAttributes& value) { m_exportAttributesHasBeenSet = true; m_exportAttributes = value; }
74 inline void SetExportAttributes(ExportAttributes&& value) { m_exportAttributesHasBeenSet = true; m_exportAttributes = std::move(value); }
75 inline ExportKeyRequest& WithExportAttributes(const ExportAttributes& value) { SetExportAttributes(value); return *this;}
76 inline ExportKeyRequest& WithExportAttributes(ExportAttributes&& value) { SetExportAttributes(std::move(value)); return *this;}
78 private:
79
80 ExportKeyMaterial m_keyMaterial;
81 bool m_keyMaterialHasBeenSet = false;
82
83 Aws::String m_exportKeyIdentifier;
84 bool m_exportKeyIdentifierHasBeenSet = false;
85
86 ExportAttributes m_exportAttributes;
87 bool m_exportAttributesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace PaymentCryptography
92} // namespace Aws
ExportKeyRequest & WithExportKeyIdentifier(const char *value)
ExportKeyRequest & WithExportAttributes(const ExportAttributes &value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
const ExportKeyMaterial & GetKeyMaterial() const
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ExportAttributes & GetExportAttributes() const
ExportKeyRequest & WithKeyMaterial(const ExportKeyMaterial &value)
void SetExportKeyIdentifier(const Aws::String &value)
void SetKeyMaterial(const ExportKeyMaterial &value)
ExportKeyRequest & WithExportKeyIdentifier(Aws::String &&value)
ExportKeyRequest & WithExportKeyIdentifier(const Aws::String &value)
ExportKeyRequest & WithKeyMaterial(ExportKeyMaterial &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportKeyRequest()
void SetExportAttributes(const ExportAttributes &value)
virtual const char * GetServiceRequestName() const override
ExportKeyRequest & WithExportAttributes(ExportAttributes &&value)
void SetExportAttributes(ExportAttributes &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String