AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeneratePinDataRequest.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/PinGenerationAttributes.h>
11#include <aws/payment-cryptography-data/model/PinBlockFormatForPinData.h>
12#include <aws/payment-cryptography-data/model/WrappedKey.h>
13#include <utility>
14
15namespace Aws
16{
17namespace PaymentCryptographyData
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_PAYMENTCRYPTOGRAPHYDATA_API GeneratePinDataRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GeneratePinData"; }
34
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetGenerationKeyIdentifier() const{ return m_generationKeyIdentifier; }
44 inline bool GenerationKeyIdentifierHasBeenSet() const { return m_generationKeyIdentifierHasBeenSet; }
45 inline void SetGenerationKeyIdentifier(const Aws::String& value) { m_generationKeyIdentifierHasBeenSet = true; m_generationKeyIdentifier = value; }
46 inline void SetGenerationKeyIdentifier(Aws::String&& value) { m_generationKeyIdentifierHasBeenSet = true; m_generationKeyIdentifier = std::move(value); }
47 inline void SetGenerationKeyIdentifier(const char* value) { m_generationKeyIdentifierHasBeenSet = true; m_generationKeyIdentifier.assign(value); }
50 inline GeneratePinDataRequest& WithGenerationKeyIdentifier(const char* value) { SetGenerationKeyIdentifier(value); return *this;}
52
54
59 inline const Aws::String& GetEncryptionKeyIdentifier() const{ return m_encryptionKeyIdentifier; }
60 inline bool EncryptionKeyIdentifierHasBeenSet() const { return m_encryptionKeyIdentifierHasBeenSet; }
61 inline void SetEncryptionKeyIdentifier(const Aws::String& value) { m_encryptionKeyIdentifierHasBeenSet = true; m_encryptionKeyIdentifier = value; }
62 inline void SetEncryptionKeyIdentifier(Aws::String&& value) { m_encryptionKeyIdentifierHasBeenSet = true; m_encryptionKeyIdentifier = std::move(value); }
63 inline void SetEncryptionKeyIdentifier(const char* value) { m_encryptionKeyIdentifierHasBeenSet = true; m_encryptionKeyIdentifier.assign(value); }
66 inline GeneratePinDataRequest& WithEncryptionKeyIdentifier(const char* value) { SetEncryptionKeyIdentifier(value); return *this;}
68
70
73 inline const PinGenerationAttributes& GetGenerationAttributes() const{ return m_generationAttributes; }
74 inline bool GenerationAttributesHasBeenSet() const { return m_generationAttributesHasBeenSet; }
75 inline void SetGenerationAttributes(const PinGenerationAttributes& value) { m_generationAttributesHasBeenSet = true; m_generationAttributes = value; }
76 inline void SetGenerationAttributes(PinGenerationAttributes&& value) { m_generationAttributesHasBeenSet = true; m_generationAttributes = std::move(value); }
80
82
85 inline int GetPinDataLength() const{ return m_pinDataLength; }
86 inline bool PinDataLengthHasBeenSet() const { return m_pinDataLengthHasBeenSet; }
87 inline void SetPinDataLength(int value) { m_pinDataLengthHasBeenSet = true; m_pinDataLength = value; }
88 inline GeneratePinDataRequest& WithPinDataLength(int value) { SetPinDataLength(value); return *this;}
90
92
96 inline const Aws::String& GetPrimaryAccountNumber() const{ return m_primaryAccountNumber; }
97 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
98 inline void SetPrimaryAccountNumber(const Aws::String& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = value; }
99 inline void SetPrimaryAccountNumber(Aws::String&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::move(value); }
100 inline void SetPrimaryAccountNumber(const char* value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber.assign(value); }
102 inline GeneratePinDataRequest& WithPrimaryAccountNumber(Aws::String&& value) { SetPrimaryAccountNumber(std::move(value)); return *this;}
103 inline GeneratePinDataRequest& WithPrimaryAccountNumber(const char* value) { SetPrimaryAccountNumber(value); return *this;}
105
107
117 inline const PinBlockFormatForPinData& GetPinBlockFormat() const{ return m_pinBlockFormat; }
118 inline bool PinBlockFormatHasBeenSet() const { return m_pinBlockFormatHasBeenSet; }
119 inline void SetPinBlockFormat(const PinBlockFormatForPinData& value) { m_pinBlockFormatHasBeenSet = true; m_pinBlockFormat = value; }
120 inline void SetPinBlockFormat(PinBlockFormatForPinData&& value) { m_pinBlockFormatHasBeenSet = true; m_pinBlockFormat = std::move(value); }
122 inline GeneratePinDataRequest& WithPinBlockFormat(PinBlockFormatForPinData&& value) { SetPinBlockFormat(std::move(value)); return *this;}
124
126
127 inline const WrappedKey& GetEncryptionWrappedKey() const{ return m_encryptionWrappedKey; }
128 inline bool EncryptionWrappedKeyHasBeenSet() const { return m_encryptionWrappedKeyHasBeenSet; }
129 inline void SetEncryptionWrappedKey(const WrappedKey& value) { m_encryptionWrappedKeyHasBeenSet = true; m_encryptionWrappedKey = value; }
130 inline void SetEncryptionWrappedKey(WrappedKey&& value) { m_encryptionWrappedKeyHasBeenSet = true; m_encryptionWrappedKey = std::move(value); }
132 inline GeneratePinDataRequest& WithEncryptionWrappedKey(WrappedKey&& value) { SetEncryptionWrappedKey(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_generationKeyIdentifier;
137 bool m_generationKeyIdentifierHasBeenSet = false;
138
139 Aws::String m_encryptionKeyIdentifier;
140 bool m_encryptionKeyIdentifierHasBeenSet = false;
141
142 PinGenerationAttributes m_generationAttributes;
143 bool m_generationAttributesHasBeenSet = false;
144
145 int m_pinDataLength;
146 bool m_pinDataLengthHasBeenSet = false;
147
148 Aws::String m_primaryAccountNumber;
149 bool m_primaryAccountNumberHasBeenSet = false;
150
151 PinBlockFormatForPinData m_pinBlockFormat;
152 bool m_pinBlockFormatHasBeenSet = false;
153
154 WrappedKey m_encryptionWrappedKey;
155 bool m_encryptionWrappedKeyHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace PaymentCryptographyData
160} // namespace Aws
GeneratePinDataRequest & WithEncryptionWrappedKey(const WrappedKey &value)
GeneratePinDataRequest & WithPrimaryAccountNumber(const Aws::String &value)
GeneratePinDataRequest & WithGenerationKeyIdentifier(const Aws::String &value)
void SetPinBlockFormat(const PinBlockFormatForPinData &value)
void SetGenerationAttributes(const PinGenerationAttributes &value)
GeneratePinDataRequest & WithPinBlockFormat(PinBlockFormatForPinData &&value)
GeneratePinDataRequest & WithEncryptionKeyIdentifier(Aws::String &&value)
GeneratePinDataRequest & WithEncryptionKeyIdentifier(const Aws::String &value)
GeneratePinDataRequest & WithPrimaryAccountNumber(const char *value)
GeneratePinDataRequest & WithPrimaryAccountNumber(Aws::String &&value)
GeneratePinDataRequest & WithGenerationAttributes(const PinGenerationAttributes &value)
GeneratePinDataRequest & WithPinBlockFormat(const PinBlockFormatForPinData &value)
const PinGenerationAttributes & GetGenerationAttributes() const
GeneratePinDataRequest & WithGenerationAttributes(PinGenerationAttributes &&value)
GeneratePinDataRequest & WithGenerationKeyIdentifier(const char *value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API GeneratePinDataRequest()
GeneratePinDataRequest & WithGenerationKeyIdentifier(Aws::String &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
GeneratePinDataRequest & WithEncryptionKeyIdentifier(const char *value)
GeneratePinDataRequest & WithEncryptionWrappedKey(WrappedKey &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String