AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKeyIdentifier(const Aws::String& value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier = value; }
44 inline void SetKeyIdentifier(Aws::String&& value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier = std::move(value); }
45 inline void SetKeyIdentifier(const char* value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier.assign(value); }
47 inline VerifyCardValidationDataRequest& WithKeyIdentifier(Aws::String&& value) { SetKeyIdentifier(std::move(value)); return *this;}
48 inline VerifyCardValidationDataRequest& WithKeyIdentifier(const char* value) { SetKeyIdentifier(value); return *this;}
50
52
56 inline const Aws::String& GetPrimaryAccountNumber() const{ return m_primaryAccountNumber; }
57 inline bool PrimaryAccountNumberHasBeenSet() const { return m_primaryAccountNumberHasBeenSet; }
58 inline void SetPrimaryAccountNumber(const Aws::String& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = value; }
59 inline void SetPrimaryAccountNumber(Aws::String&& value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber = std::move(value); }
60 inline void SetPrimaryAccountNumber(const char* value) { m_primaryAccountNumberHasBeenSet = true; m_primaryAccountNumber.assign(value); }
63 inline VerifyCardValidationDataRequest& WithPrimaryAccountNumber(const char* value) { SetPrimaryAccountNumber(value); return *this;}
65
67
71 inline const CardVerificationAttributes& GetVerificationAttributes() const{ return m_verificationAttributes; }
72 inline bool VerificationAttributesHasBeenSet() const { return m_verificationAttributesHasBeenSet; }
73 inline void SetVerificationAttributes(const CardVerificationAttributes& value) { m_verificationAttributesHasBeenSet = true; m_verificationAttributes = value; }
74 inline void SetVerificationAttributes(CardVerificationAttributes&& value) { m_verificationAttributesHasBeenSet = true; m_verificationAttributes = std::move(value); }
78
80
84 inline const Aws::String& GetValidationData() const{ return m_validationData; }
85 inline bool ValidationDataHasBeenSet() const { return m_validationDataHasBeenSet; }
86 inline void SetValidationData(const Aws::String& value) { m_validationDataHasBeenSet = true; m_validationData = value; }
87 inline void SetValidationData(Aws::String&& value) { m_validationDataHasBeenSet = true; m_validationData = std::move(value); }
88 inline void SetValidationData(const char* value) { m_validationDataHasBeenSet = true; m_validationData.assign(value); }
90 inline VerifyCardValidationDataRequest& WithValidationData(Aws::String&& value) { SetValidationData(std::move(value)); return *this;}
91 inline VerifyCardValidationDataRequest& WithValidationData(const char* value) { SetValidationData(value); return *this;}
93 private:
94
95 Aws::String m_keyIdentifier;
96 bool m_keyIdentifierHasBeenSet = false;
97
98 Aws::String m_primaryAccountNumber;
99 bool m_primaryAccountNumberHasBeenSet = false;
100
101 CardVerificationAttributes m_verificationAttributes;
102 bool m_verificationAttributesHasBeenSet = false;
103
104 Aws::String m_validationData;
105 bool m_validationDataHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace PaymentCryptographyData
110} // namespace Aws
VerifyCardValidationDataRequest & WithValidationData(const Aws::String &value)
VerifyCardValidationDataRequest & WithVerificationAttributes(const CardVerificationAttributes &value)
VerifyCardValidationDataRequest & WithPrimaryAccountNumber(Aws::String &&value)
VerifyCardValidationDataRequest & WithValidationData(Aws::String &&value)
VerifyCardValidationDataRequest & WithPrimaryAccountNumber(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
VerifyCardValidationDataRequest & WithPrimaryAccountNumber(const char *value)
VerifyCardValidationDataRequest & WithKeyIdentifier(const Aws::String &value)
VerifyCardValidationDataRequest & WithKeyIdentifier(Aws::String &&value)
VerifyCardValidationDataRequest & WithVerificationAttributes(CardVerificationAttributes &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String