AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReEncryptDataRequest.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyDataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/payment-cryptography-data/model/ReEncryptionAttributes.h>
11#include <aws/payment-cryptography-data/model/WrappedKey.h>
12#include <utility>
13
14namespace Aws
15{
16namespace PaymentCryptographyData
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptDataRequest();
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 "ReEncryptData"; }
33
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
35
36
38
44 inline const Aws::String& GetIncomingKeyIdentifier() const{ return m_incomingKeyIdentifier; }
45 inline bool IncomingKeyIdentifierHasBeenSet() const { return m_incomingKeyIdentifierHasBeenSet; }
46 inline void SetIncomingKeyIdentifier(const Aws::String& value) { m_incomingKeyIdentifierHasBeenSet = true; m_incomingKeyIdentifier = value; }
47 inline void SetIncomingKeyIdentifier(Aws::String&& value) { m_incomingKeyIdentifierHasBeenSet = true; m_incomingKeyIdentifier = std::move(value); }
48 inline void SetIncomingKeyIdentifier(const char* value) { m_incomingKeyIdentifierHasBeenSet = true; m_incomingKeyIdentifier.assign(value); }
50 inline ReEncryptDataRequest& WithIncomingKeyIdentifier(Aws::String&& value) { SetIncomingKeyIdentifier(std::move(value)); return *this;}
51 inline ReEncryptDataRequest& WithIncomingKeyIdentifier(const char* value) { SetIncomingKeyIdentifier(value); return *this;}
53
55
59 inline const Aws::String& GetOutgoingKeyIdentifier() const{ return m_outgoingKeyIdentifier; }
60 inline bool OutgoingKeyIdentifierHasBeenSet() const { return m_outgoingKeyIdentifierHasBeenSet; }
61 inline void SetOutgoingKeyIdentifier(const Aws::String& value) { m_outgoingKeyIdentifierHasBeenSet = true; m_outgoingKeyIdentifier = value; }
62 inline void SetOutgoingKeyIdentifier(Aws::String&& value) { m_outgoingKeyIdentifierHasBeenSet = true; m_outgoingKeyIdentifier = std::move(value); }
63 inline void SetOutgoingKeyIdentifier(const char* value) { m_outgoingKeyIdentifierHasBeenSet = true; m_outgoingKeyIdentifier.assign(value); }
65 inline ReEncryptDataRequest& WithOutgoingKeyIdentifier(Aws::String&& value) { SetOutgoingKeyIdentifier(std::move(value)); return *this;}
66 inline ReEncryptDataRequest& WithOutgoingKeyIdentifier(const char* value) { SetOutgoingKeyIdentifier(value); return *this;}
68
70
74 inline const Aws::String& GetCipherText() const{ return m_cipherText; }
75 inline bool CipherTextHasBeenSet() const { return m_cipherTextHasBeenSet; }
76 inline void SetCipherText(const Aws::String& value) { m_cipherTextHasBeenSet = true; m_cipherText = value; }
77 inline void SetCipherText(Aws::String&& value) { m_cipherTextHasBeenSet = true; m_cipherText = std::move(value); }
78 inline void SetCipherText(const char* value) { m_cipherTextHasBeenSet = true; m_cipherText.assign(value); }
79 inline ReEncryptDataRequest& WithCipherText(const Aws::String& value) { SetCipherText(value); return *this;}
80 inline ReEncryptDataRequest& WithCipherText(Aws::String&& value) { SetCipherText(std::move(value)); return *this;}
81 inline ReEncryptDataRequest& WithCipherText(const char* value) { SetCipherText(value); return *this;}
83
85
88 inline const ReEncryptionAttributes& GetIncomingEncryptionAttributes() const{ return m_incomingEncryptionAttributes; }
89 inline bool IncomingEncryptionAttributesHasBeenSet() const { return m_incomingEncryptionAttributesHasBeenSet; }
90 inline void SetIncomingEncryptionAttributes(const ReEncryptionAttributes& value) { m_incomingEncryptionAttributesHasBeenSet = true; m_incomingEncryptionAttributes = value; }
91 inline void SetIncomingEncryptionAttributes(ReEncryptionAttributes&& value) { m_incomingEncryptionAttributesHasBeenSet = true; m_incomingEncryptionAttributes = std::move(value); }
95
97
101 inline const ReEncryptionAttributes& GetOutgoingEncryptionAttributes() const{ return m_outgoingEncryptionAttributes; }
102 inline bool OutgoingEncryptionAttributesHasBeenSet() const { return m_outgoingEncryptionAttributesHasBeenSet; }
103 inline void SetOutgoingEncryptionAttributes(const ReEncryptionAttributes& value) { m_outgoingEncryptionAttributesHasBeenSet = true; m_outgoingEncryptionAttributes = value; }
104 inline void SetOutgoingEncryptionAttributes(ReEncryptionAttributes&& value) { m_outgoingEncryptionAttributesHasBeenSet = true; m_outgoingEncryptionAttributes = std::move(value); }
108
110
114 inline const WrappedKey& GetIncomingWrappedKey() const{ return m_incomingWrappedKey; }
115 inline bool IncomingWrappedKeyHasBeenSet() const { return m_incomingWrappedKeyHasBeenSet; }
116 inline void SetIncomingWrappedKey(const WrappedKey& value) { m_incomingWrappedKeyHasBeenSet = true; m_incomingWrappedKey = value; }
117 inline void SetIncomingWrappedKey(WrappedKey&& value) { m_incomingWrappedKeyHasBeenSet = true; m_incomingWrappedKey = std::move(value); }
119 inline ReEncryptDataRequest& WithIncomingWrappedKey(WrappedKey&& value) { SetIncomingWrappedKey(std::move(value)); return *this;}
121
123
127 inline const WrappedKey& GetOutgoingWrappedKey() const{ return m_outgoingWrappedKey; }
128 inline bool OutgoingWrappedKeyHasBeenSet() const { return m_outgoingWrappedKeyHasBeenSet; }
129 inline void SetOutgoingWrappedKey(const WrappedKey& value) { m_outgoingWrappedKeyHasBeenSet = true; m_outgoingWrappedKey = value; }
130 inline void SetOutgoingWrappedKey(WrappedKey&& value) { m_outgoingWrappedKeyHasBeenSet = true; m_outgoingWrappedKey = std::move(value); }
132 inline ReEncryptDataRequest& WithOutgoingWrappedKey(WrappedKey&& value) { SetOutgoingWrappedKey(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_incomingKeyIdentifier;
137 bool m_incomingKeyIdentifierHasBeenSet = false;
138
139 Aws::String m_outgoingKeyIdentifier;
140 bool m_outgoingKeyIdentifierHasBeenSet = false;
141
142 Aws::String m_cipherText;
143 bool m_cipherTextHasBeenSet = false;
144
145 ReEncryptionAttributes m_incomingEncryptionAttributes;
146 bool m_incomingEncryptionAttributesHasBeenSet = false;
147
148 ReEncryptionAttributes m_outgoingEncryptionAttributes;
149 bool m_outgoingEncryptionAttributesHasBeenSet = false;
150
151 WrappedKey m_incomingWrappedKey;
152 bool m_incomingWrappedKeyHasBeenSet = false;
153
154 WrappedKey m_outgoingWrappedKey;
155 bool m_outgoingWrappedKeyHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace PaymentCryptographyData
160} // namespace Aws
const ReEncryptionAttributes & GetOutgoingEncryptionAttributes() const
ReEncryptDataRequest & WithIncomingKeyIdentifier(Aws::String &&value)
ReEncryptDataRequest & WithIncomingKeyIdentifier(const char *value)
ReEncryptDataRequest & WithOutgoingEncryptionAttributes(ReEncryptionAttributes &&value)
ReEncryptDataRequest & WithOutgoingWrappedKey(WrappedKey &&value)
ReEncryptDataRequest & WithCipherText(const Aws::String &value)
ReEncryptDataRequest & WithOutgoingWrappedKey(const WrappedKey &value)
void SetIncomingEncryptionAttributes(ReEncryptionAttributes &&value)
ReEncryptDataRequest & WithIncomingKeyIdentifier(const Aws::String &value)
ReEncryptDataRequest & WithOutgoingKeyIdentifier(Aws::String &&value)
void SetIncomingEncryptionAttributes(const ReEncryptionAttributes &value)
ReEncryptDataRequest & WithIncomingEncryptionAttributes(ReEncryptionAttributes &&value)
const ReEncryptionAttributes & GetIncomingEncryptionAttributes() const
ReEncryptDataRequest & WithOutgoingKeyIdentifier(const Aws::String &value)
ReEncryptDataRequest & WithOutgoingKeyIdentifier(const char *value)
ReEncryptDataRequest & WithCipherText(Aws::String &&value)
ReEncryptDataRequest & WithIncomingWrappedKey(WrappedKey &&value)
ReEncryptDataRequest & WithIncomingWrappedKey(const WrappedKey &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_PAYMENTCRYPTOGRAPHYDATA_API ReEncryptDataRequest()
void SetOutgoingEncryptionAttributes(ReEncryptionAttributes &&value)
void SetOutgoingEncryptionAttributes(const ReEncryptionAttributes &value)
ReEncryptDataRequest & WithCipherText(const char *value)
ReEncryptDataRequest & WithIncomingEncryptionAttributes(const ReEncryptionAttributes &value)
ReEncryptDataRequest & WithOutgoingEncryptionAttributes(const ReEncryptionAttributes &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String