AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GenerateMacEmvPinChangeRequest.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/PinBlockFormatForEmvPinChange.h>
11#include <aws/payment-cryptography-data/model/DerivationMethodAttributes.h>
12#include <utility>
13
14namespace Aws
15{
16namespace PaymentCryptographyData
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacEmvPinChangeRequest() = default;
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 "GenerateMacEmvPinChange"; }
33
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetNewPinPekIdentifier() const { return m_newPinPekIdentifier; }
43 inline bool NewPinPekIdentifierHasBeenSet() const { return m_newPinPekIdentifierHasBeenSet; }
44 template<typename NewPinPekIdentifierT = Aws::String>
45 void SetNewPinPekIdentifier(NewPinPekIdentifierT&& value) { m_newPinPekIdentifierHasBeenSet = true; m_newPinPekIdentifier = std::forward<NewPinPekIdentifierT>(value); }
46 template<typename NewPinPekIdentifierT = Aws::String>
47 GenerateMacEmvPinChangeRequest& WithNewPinPekIdentifier(NewPinPekIdentifierT&& value) { SetNewPinPekIdentifier(std::forward<NewPinPekIdentifierT>(value)); return *this;}
49
51
55 inline const Aws::String& GetNewEncryptedPinBlock() const { return m_newEncryptedPinBlock; }
56 inline bool NewEncryptedPinBlockHasBeenSet() const { return m_newEncryptedPinBlockHasBeenSet; }
57 template<typename NewEncryptedPinBlockT = Aws::String>
58 void SetNewEncryptedPinBlock(NewEncryptedPinBlockT&& value) { m_newEncryptedPinBlockHasBeenSet = true; m_newEncryptedPinBlock = std::forward<NewEncryptedPinBlockT>(value); }
59 template<typename NewEncryptedPinBlockT = Aws::String>
60 GenerateMacEmvPinChangeRequest& WithNewEncryptedPinBlock(NewEncryptedPinBlockT&& value) { SetNewEncryptedPinBlock(std::forward<NewEncryptedPinBlockT>(value)); return *this;}
62
64
68 inline PinBlockFormatForEmvPinChange GetPinBlockFormat() const { return m_pinBlockFormat; }
69 inline bool PinBlockFormatHasBeenSet() const { return m_pinBlockFormatHasBeenSet; }
70 inline void SetPinBlockFormat(PinBlockFormatForEmvPinChange value) { m_pinBlockFormatHasBeenSet = true; m_pinBlockFormat = value; }
73
75
79 inline const Aws::String& GetSecureMessagingIntegrityKeyIdentifier() const { return m_secureMessagingIntegrityKeyIdentifier; }
80 inline bool SecureMessagingIntegrityKeyIdentifierHasBeenSet() const { return m_secureMessagingIntegrityKeyIdentifierHasBeenSet; }
81 template<typename SecureMessagingIntegrityKeyIdentifierT = Aws::String>
82 void SetSecureMessagingIntegrityKeyIdentifier(SecureMessagingIntegrityKeyIdentifierT&& value) { m_secureMessagingIntegrityKeyIdentifierHasBeenSet = true; m_secureMessagingIntegrityKeyIdentifier = std::forward<SecureMessagingIntegrityKeyIdentifierT>(value); }
83 template<typename SecureMessagingIntegrityKeyIdentifierT = Aws::String>
84 GenerateMacEmvPinChangeRequest& WithSecureMessagingIntegrityKeyIdentifier(SecureMessagingIntegrityKeyIdentifierT&& value) { SetSecureMessagingIntegrityKeyIdentifier(std::forward<SecureMessagingIntegrityKeyIdentifierT>(value)); return *this;}
86
88
92 inline const Aws::String& GetSecureMessagingConfidentialityKeyIdentifier() const { return m_secureMessagingConfidentialityKeyIdentifier; }
93 inline bool SecureMessagingConfidentialityKeyIdentifierHasBeenSet() const { return m_secureMessagingConfidentialityKeyIdentifierHasBeenSet; }
94 template<typename SecureMessagingConfidentialityKeyIdentifierT = Aws::String>
95 void SetSecureMessagingConfidentialityKeyIdentifier(SecureMessagingConfidentialityKeyIdentifierT&& value) { m_secureMessagingConfidentialityKeyIdentifierHasBeenSet = true; m_secureMessagingConfidentialityKeyIdentifier = std::forward<SecureMessagingConfidentialityKeyIdentifierT>(value); }
96 template<typename SecureMessagingConfidentialityKeyIdentifierT = Aws::String>
97 GenerateMacEmvPinChangeRequest& WithSecureMessagingConfidentialityKeyIdentifier(SecureMessagingConfidentialityKeyIdentifierT&& value) { SetSecureMessagingConfidentialityKeyIdentifier(std::forward<SecureMessagingConfidentialityKeyIdentifierT>(value)); return *this;}
99
101
106 inline const Aws::String& GetMessageData() const { return m_messageData; }
107 inline bool MessageDataHasBeenSet() const { return m_messageDataHasBeenSet; }
108 template<typename MessageDataT = Aws::String>
109 void SetMessageData(MessageDataT&& value) { m_messageDataHasBeenSet = true; m_messageData = std::forward<MessageDataT>(value); }
110 template<typename MessageDataT = Aws::String>
111 GenerateMacEmvPinChangeRequest& WithMessageData(MessageDataT&& value) { SetMessageData(std::forward<MessageDataT>(value)); return *this;}
113
115
119 inline const DerivationMethodAttributes& GetDerivationMethodAttributes() const { return m_derivationMethodAttributes; }
120 inline bool DerivationMethodAttributesHasBeenSet() const { return m_derivationMethodAttributesHasBeenSet; }
121 template<typename DerivationMethodAttributesT = DerivationMethodAttributes>
122 void SetDerivationMethodAttributes(DerivationMethodAttributesT&& value) { m_derivationMethodAttributesHasBeenSet = true; m_derivationMethodAttributes = std::forward<DerivationMethodAttributesT>(value); }
123 template<typename DerivationMethodAttributesT = DerivationMethodAttributes>
124 GenerateMacEmvPinChangeRequest& WithDerivationMethodAttributes(DerivationMethodAttributesT&& value) { SetDerivationMethodAttributes(std::forward<DerivationMethodAttributesT>(value)); return *this;}
126 private:
127
128 Aws::String m_newPinPekIdentifier;
129 bool m_newPinPekIdentifierHasBeenSet = false;
130
131 Aws::String m_newEncryptedPinBlock;
132 bool m_newEncryptedPinBlockHasBeenSet = false;
133
135 bool m_pinBlockFormatHasBeenSet = false;
136
137 Aws::String m_secureMessagingIntegrityKeyIdentifier;
138 bool m_secureMessagingIntegrityKeyIdentifierHasBeenSet = false;
139
140 Aws::String m_secureMessagingConfidentialityKeyIdentifier;
141 bool m_secureMessagingConfidentialityKeyIdentifierHasBeenSet = false;
142
143 Aws::String m_messageData;
144 bool m_messageDataHasBeenSet = false;
145
146 DerivationMethodAttributes m_derivationMethodAttributes;
147 bool m_derivationMethodAttributesHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace PaymentCryptographyData
152} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacEmvPinChangeRequest()=default
GenerateMacEmvPinChangeRequest & WithPinBlockFormat(PinBlockFormatForEmvPinChange value)
void SetSecureMessagingIntegrityKeyIdentifier(SecureMessagingIntegrityKeyIdentifierT &&value)
GenerateMacEmvPinChangeRequest & WithMessageData(MessageDataT &&value)
void SetSecureMessagingConfidentialityKeyIdentifier(SecureMessagingConfidentialityKeyIdentifierT &&value)
GenerateMacEmvPinChangeRequest & WithNewPinPekIdentifier(NewPinPekIdentifierT &&value)
GenerateMacEmvPinChangeRequest & WithSecureMessagingIntegrityKeyIdentifier(SecureMessagingIntegrityKeyIdentifierT &&value)
GenerateMacEmvPinChangeRequest & WithDerivationMethodAttributes(DerivationMethodAttributesT &&value)
GenerateMacEmvPinChangeRequest & WithNewEncryptedPinBlock(NewEncryptedPinBlockT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
GenerateMacEmvPinChangeRequest & WithSecureMessagingConfidentialityKeyIdentifier(SecureMessagingConfidentialityKeyIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String