AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 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>
48 GeneratePinDataRequest& WithGenerationKeyIdentifier(GenerationKeyIdentifierT&& value) { SetGenerationKeyIdentifier(std::forward<GenerationKeyIdentifierT>(value)); return *this;}
50
52
57 inline const Aws::String& GetEncryptionKeyIdentifier() const { return m_encryptionKeyIdentifier; }
58 inline bool EncryptionKeyIdentifierHasBeenSet() const { return m_encryptionKeyIdentifierHasBeenSet; }
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>
62 GeneratePinDataRequest& WithEncryptionKeyIdentifier(EncryptionKeyIdentifierT&& value) { SetEncryptionKeyIdentifier(std::forward<EncryptionKeyIdentifierT>(value)); return *this;}
64
66
69 inline const PinGenerationAttributes& GetGenerationAttributes() const { return m_generationAttributes; }
70 inline bool GenerationAttributesHasBeenSet() const { return m_generationAttributesHasBeenSet; }
71 template<typename GenerationAttributesT = PinGenerationAttributes>
72 void SetGenerationAttributes(GenerationAttributesT&& value) { m_generationAttributesHasBeenSet = true; m_generationAttributes = std::forward<GenerationAttributesT>(value); }
73 template<typename GenerationAttributesT = PinGenerationAttributes>
74 GeneratePinDataRequest& WithGenerationAttributes(GenerationAttributesT&& value) { SetGenerationAttributes(std::forward<GenerationAttributesT>(value)); return *this;}
76
78
81 inline int GetPinDataLength() const { return m_pinDataLength; }
82 inline bool PinDataLengthHasBeenSet() const { return m_pinDataLengthHasBeenSet; }
83 inline void SetPinDataLength(int value) { m_pinDataLengthHasBeenSet = true; m_pinDataLength = value; }
84 inline GeneratePinDataRequest& WithPinDataLength(int value) { SetPinDataLength(value); return *this;}
86
88
92 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
93 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
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>
97 GeneratePinDataRequest& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) { SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value)); return *this;}
99
101
111 inline PinBlockFormatForPinData GetPinBlockFormat() const { return m_pinBlockFormat; }
112 inline bool PinBlockFormatHasBeenSet() const { return m_pinBlockFormatHasBeenSet; }
113 inline void SetPinBlockFormat(PinBlockFormatForPinData value) { m_pinBlockFormatHasBeenSet = true; m_pinBlockFormat = value; }
116
118
119 inline const WrappedKey& GetEncryptionWrappedKey() const { return m_encryptionWrappedKey; }
120 inline bool EncryptionWrappedKeyHasBeenSet() const { return m_encryptionWrappedKeyHasBeenSet; }
121 template<typename EncryptionWrappedKeyT = WrappedKey>
122 void SetEncryptionWrappedKey(EncryptionWrappedKeyT&& value) { m_encryptionWrappedKeyHasBeenSet = true; m_encryptionWrappedKey = std::forward<EncryptionWrappedKeyT>(value); }
123 template<typename EncryptionWrappedKeyT = WrappedKey>
124 GeneratePinDataRequest& WithEncryptionWrappedKey(EncryptionWrappedKeyT&& value) { SetEncryptionWrappedKey(std::forward<EncryptionWrappedKeyT>(value)); return *this;}
126 private:
127
128 Aws::String m_generationKeyIdentifier;
129 bool m_generationKeyIdentifierHasBeenSet = false;
130
131 Aws::String m_encryptionKeyIdentifier;
132 bool m_encryptionKeyIdentifierHasBeenSet = false;
133
134 PinGenerationAttributes m_generationAttributes;
135 bool m_generationAttributesHasBeenSet = false;
136
137 int m_pinDataLength{0};
138 bool m_pinDataLengthHasBeenSet = false;
139
140 Aws::String m_primaryAccountNumber;
141 bool m_primaryAccountNumberHasBeenSet = false;
142
144 bool m_pinBlockFormatHasBeenSet = false;
145
146 WrappedKey m_encryptionWrappedKey;
147 bool m_encryptionWrappedKeyHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace PaymentCryptographyData
152} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API GeneratePinDataRequest()=default
GeneratePinDataRequest & WithEncryptionKeyIdentifier(EncryptionKeyIdentifierT &&value)
GeneratePinDataRequest & WithEncryptionWrappedKey(EncryptionWrappedKeyT &&value)
void SetGenerationKeyIdentifier(GenerationKeyIdentifierT &&value)
const PinGenerationAttributes & GetGenerationAttributes() const
GeneratePinDataRequest & WithGenerationKeyIdentifier(GenerationKeyIdentifierT &&value)
void SetEncryptionKeyIdentifier(EncryptionKeyIdentifierT &&value)
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