/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace PaymentCryptographyData { namespace Model { class TranslatePinDataResult { public: AWS_PAYMENTCRYPTOGRAPHYDATA_API TranslatePinDataResult(); AWS_PAYMENTCRYPTOGRAPHYDATA_API TranslatePinDataResult(const Aws::AmazonWebServiceResult& result); AWS_PAYMENTCRYPTOGRAPHYDATA_API TranslatePinDataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The keyARN of the encryption key that Amazon Web Services * Payment Cryptography uses to encrypt outgoing PIN block data after * translation.

*/ inline const Aws::String& GetKeyArn() const{ return m_keyArn; } /** *

The keyARN of the encryption key that Amazon Web Services * Payment Cryptography uses to encrypt outgoing PIN block data after * translation.

*/ inline void SetKeyArn(const Aws::String& value) { m_keyArn = value; } /** *

The keyARN of the encryption key that Amazon Web Services * Payment Cryptography uses to encrypt outgoing PIN block data after * translation.

*/ inline void SetKeyArn(Aws::String&& value) { m_keyArn = std::move(value); } /** *

The keyARN of the encryption key that Amazon Web Services * Payment Cryptography uses to encrypt outgoing PIN block data after * translation.

*/ inline void SetKeyArn(const char* value) { m_keyArn.assign(value); } /** *

The keyARN of the encryption key that Amazon Web Services * Payment Cryptography uses to encrypt outgoing PIN block data after * translation.

*/ inline TranslatePinDataResult& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;} /** *

The keyARN of the encryption key that Amazon Web Services * Payment Cryptography uses to encrypt outgoing PIN block data after * translation.

*/ inline TranslatePinDataResult& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;} /** *

The keyARN of the encryption key that Amazon Web Services * Payment Cryptography uses to encrypt outgoing PIN block data after * translation.

*/ inline TranslatePinDataResult& WithKeyArn(const char* value) { SetKeyArn(value); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline const Aws::String& GetKeyCheckValue() const{ return m_keyCheckValue; } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetKeyCheckValue(const Aws::String& value) { m_keyCheckValue = value; } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetKeyCheckValue(Aws::String&& value) { m_keyCheckValue = std::move(value); } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline void SetKeyCheckValue(const char* value) { m_keyCheckValue.assign(value); } /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline TranslatePinDataResult& WithKeyCheckValue(const Aws::String& value) { SetKeyCheckValue(value); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline TranslatePinDataResult& WithKeyCheckValue(Aws::String&& value) { SetKeyCheckValue(std::move(value)); return *this;} /** *

The key check value (KCV) of the encryption key. The KCV is used to check if * all parties holding a given key have the same key or to detect that a key has * changed. Amazon Web Services Payment Cryptography calculates the KCV by using * standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and * then truncating the result to the first 3 bytes, or 6 hex digits, of the * resulting cryptogram.

*/ inline TranslatePinDataResult& WithKeyCheckValue(const char* value) { SetKeyCheckValue(value); return *this;} /** *

The ougoing encrypted PIN block data after tranlation.

*/ inline const Aws::String& GetPinBlock() const{ return m_pinBlock; } /** *

The ougoing encrypted PIN block data after tranlation.

*/ inline void SetPinBlock(const Aws::String& value) { m_pinBlock = value; } /** *

The ougoing encrypted PIN block data after tranlation.

*/ inline void SetPinBlock(Aws::String&& value) { m_pinBlock = std::move(value); } /** *

The ougoing encrypted PIN block data after tranlation.

*/ inline void SetPinBlock(const char* value) { m_pinBlock.assign(value); } /** *

The ougoing encrypted PIN block data after tranlation.

*/ inline TranslatePinDataResult& WithPinBlock(const Aws::String& value) { SetPinBlock(value); return *this;} /** *

The ougoing encrypted PIN block data after tranlation.

*/ inline TranslatePinDataResult& WithPinBlock(Aws::String&& value) { SetPinBlock(std::move(value)); return *this;} /** *

The ougoing encrypted PIN block data after tranlation.

*/ inline TranslatePinDataResult& WithPinBlock(const char* value) { SetPinBlock(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline TranslatePinDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline TranslatePinDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline TranslatePinDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_keyArn; Aws::String m_keyCheckValue; Aws::String m_pinBlock; Aws::String m_requestId; }; } // namespace Model } // namespace PaymentCryptographyData } // namespace Aws