AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VerifyCardValidationDataRequest.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/CardVerificationAttributes.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PaymentCryptographyData
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyCardValidationDataRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "VerifyCardValidationData"; }
32
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetKeyIdentifier() const { return m_keyIdentifier; }
42 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
43 template<typename KeyIdentifierT = Aws::String>
44 void SetKeyIdentifier(KeyIdentifierT&& value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier = std::forward<KeyIdentifierT>(value); }
45 template<typename KeyIdentifierT = Aws::String>
46 VerifyCardValidationDataRequest& WithKeyIdentifier(KeyIdentifierT&& value) { SetKeyIdentifier(std::forward<KeyIdentifierT>(value)); return *this;}
48
50
54 inline const Aws::String& GetPrimaryAccountNumber() const { return m_primaryAccountNumber; }
55 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
56 template<typename PrimaryAccountNumberT = Aws::String>
57 void SetPrimaryAccountNumber(PrimaryAccountNumberT&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::forward<PrimaryAccountNumberT>(value); }
58 template<typename PrimaryAccountNumberT = Aws::String>
59 VerifyCardValidationDataRequest& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) { SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value)); return *this;}
61
63
67 inline const CardVerificationAttributes& GetVerificationAttributes() const { return m_verificationAttributes; }
68 inline bool VerificationAttributesHasBeenSet() const { return m_verificationAttributesHasBeenSet; }
69 template<typename VerificationAttributesT = CardVerificationAttributes>
70 void SetVerificationAttributes(VerificationAttributesT&& value) { m_verificationAttributesHasBeenSet = true; m_verificationAttributes = std::forward<VerificationAttributesT>(value); }
71 template<typename VerificationAttributesT = CardVerificationAttributes>
72 VerifyCardValidationDataRequest& WithVerificationAttributes(VerificationAttributesT&& value) { SetVerificationAttributes(std::forward<VerificationAttributesT>(value)); return *this;}
74
76
80 inline const Aws::String& GetValidationData() const { return m_validationData; }
81 inline bool ValidationDataHasBeenSet() const { return m_validationDataHasBeenSet; }
82 template<typename ValidationDataT = Aws::String>
83 void SetValidationData(ValidationDataT&& value) { m_validationDataHasBeenSet = true; m_validationData = std::forward<ValidationDataT>(value); }
84 template<typename ValidationDataT = Aws::String>
85 VerifyCardValidationDataRequest& WithValidationData(ValidationDataT&& value) { SetValidationData(std::forward<ValidationDataT>(value)); return *this;}
87 private:
88
89 Aws::String m_keyIdentifier;
90 bool m_keyIdentifierHasBeenSet = false;
91
92 Aws::String m_primaryAccountNumber;
93 bool m_primaryAccountNumberHasBeenSet = false;
94
95 CardVerificationAttributes m_verificationAttributes;
96 bool m_verificationAttributesHasBeenSet = false;
97
98 Aws::String m_validationData;
99 bool m_validationDataHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace PaymentCryptographyData
104} // namespace Aws
VerifyCardValidationDataRequest & WithVerificationAttributes(VerificationAttributesT &&value)
VerifyCardValidationDataRequest & WithValidationData(ValidationDataT &&value)
VerifyCardValidationDataRequest & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
VerifyCardValidationDataRequest & WithKeyIdentifier(KeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyCardValidationDataRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String