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/PinGenerationAttributes.h>
11#include <aws/payment-cryptography-data/model/PinBlockFormatForPinData.h>
12#include <aws/payment-cryptography-data/model/WrappedKey.h>
17namespace PaymentCryptographyData
45 template<
typename GenerationKeyIdentifierT = Aws::String>
46 void SetGenerationKeyIdentifier(GenerationKeyIdentifierT&& value) { m_generationKeyIdentifierHasBeenSet =
true; m_generationKeyIdentifier = std::forward<GenerationKeyIdentifierT>(value); }
47 template<
typename GenerationKeyIdentifierT = Aws::String>
59 template<
typename EncryptionKeyIdentifierT = Aws::String>
60 void SetEncryptionKeyIdentifier(EncryptionKeyIdentifierT&& value) { m_encryptionKeyIdentifierHasBeenSet =
true; m_encryptionKeyIdentifier = std::forward<EncryptionKeyIdentifierT>(value); }
61 template<
typename EncryptionKeyIdentifierT = Aws::String>
71 template<
typename GenerationAttributesT = PinGenerationAttributes>
72 void SetGenerationAttributes(GenerationAttributesT&& value) { m_generationAttributesHasBeenSet =
true; m_generationAttributes = std::forward<GenerationAttributesT>(value); }
73 template<
typename GenerationAttributesT = PinGenerationAttributes>
83 inline void SetPinDataLength(
int value) { m_pinDataLengthHasBeenSet =
true; m_pinDataLength = value; }
94 template<
typename PrimaryAccountNumberT = Aws::String>
95 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) { m_primaryAccountNumberHasBeenSet =
true; m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value); }
96 template<
typename PrimaryAccountNumberT = Aws::String>
121 template<
typename EncryptionWrappedKeyT = WrappedKey>
122 void SetEncryptionWrappedKey(EncryptionWrappedKeyT&& value) { m_encryptionWrappedKeyHasBeenSet =
true; m_encryptionWrappedKey = std::forward<EncryptionWrappedKeyT>(value); }
123 template<
typename EncryptionWrappedKeyT = WrappedKey>
129 bool m_generationKeyIdentifierHasBeenSet =
false;
132 bool m_encryptionKeyIdentifierHasBeenSet =
false;
135 bool m_generationAttributesHasBeenSet =
false;
137 int m_pinDataLength{0};
138 bool m_pinDataLengthHasBeenSet =
false;
141 bool m_primaryAccountNumberHasBeenSet =
false;
144 bool m_pinBlockFormatHasBeenSet =
false;
146 WrappedKey m_encryptionWrappedKey;
147 bool m_encryptionWrappedKeyHasBeenSet =
false;
bool GenerationAttributesHasBeenSet() const
bool GenerationKeyIdentifierHasBeenSet() const
GeneratePinDataRequest & WithPinDataLength(int value)
bool EncryptionKeyIdentifierHasBeenSet() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API GeneratePinDataRequest()=default
int GetPinDataLength() const
void SetEncryptionWrappedKey(EncryptionWrappedKeyT &&value)
GeneratePinDataRequest & WithEncryptionKeyIdentifier(EncryptionKeyIdentifierT &&value)
void SetPrimaryAccountNumber(PrimaryAccountNumberT &&value)
PinBlockFormatForPinData GetPinBlockFormat() const
const Aws::String & GetPrimaryAccountNumber() const
bool PrimaryAccountNumberHasBeenSet() const
void SetGenerationAttributes(GenerationAttributesT &&value)
void SetPinDataLength(int value)
bool PinDataLengthHasBeenSet() const
GeneratePinDataRequest & WithEncryptionWrappedKey(EncryptionWrappedKeyT &&value)
bool PinBlockFormatHasBeenSet() const
const WrappedKey & GetEncryptionWrappedKey() const
void SetGenerationKeyIdentifier(GenerationKeyIdentifierT &&value)
const PinGenerationAttributes & GetGenerationAttributes() const
GeneratePinDataRequest & WithGenerationKeyIdentifier(GenerationKeyIdentifierT &&value)
const Aws::String & GetGenerationKeyIdentifier() const
void SetPinBlockFormat(PinBlockFormatForPinData value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetEncryptionKeyIdentifier() const
void SetEncryptionKeyIdentifier(EncryptionKeyIdentifierT &&value)
bool EncryptionWrappedKeyHasBeenSet() const
GeneratePinDataRequest & WithGenerationAttributes(GenerationAttributesT &&value)
GeneratePinDataRequest & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
GeneratePinDataRequest & WithPinBlockFormat(PinBlockFormatForPinData value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String