AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerateCardValidationDataRequest.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/CardGenerationAttributes.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PaymentCryptographyData
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateCardValidationDataRequest();
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 "GenerateCardValidationData"; }
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 GenerateCardValidationDataRequest& WithKeyIdentifier(Aws::String&& value) { SetKeyIdentifier(std::move(value)); return *this;}
48 inline GenerateCardValidationDataRequest& 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); }
65
67
71 inline const CardGenerationAttributes& GetGenerationAttributes() const{ return m_generationAttributes; }
72 inline bool GenerationAttributesHasBeenSet() const { return m_generationAttributesHasBeenSet; }
73 inline void SetGenerationAttributes(const CardGenerationAttributes& value) { m_generationAttributesHasBeenSet = true; m_generationAttributes = value; }
74 inline void SetGenerationAttributes(CardGenerationAttributes&& value) { m_generationAttributesHasBeenSet = true; m_generationAttributes = std::move(value); }
78
80
83 inline int GetValidationDataLength() const{ return m_validationDataLength; }
84 inline bool ValidationDataLengthHasBeenSet() const { return m_validationDataLengthHasBeenSet; }
85 inline void SetValidationDataLength(int value) { m_validationDataLengthHasBeenSet = true; m_validationDataLength = value; }
88 private:
89
90 Aws::String m_keyIdentifier;
91 bool m_keyIdentifierHasBeenSet = false;
92
93 Aws::String m_primaryAccountNumber;
94 bool m_primaryAccountNumberHasBeenSet = false;
95
96 CardGenerationAttributes m_generationAttributes;
97 bool m_generationAttributesHasBeenSet = false;
98
99 int m_validationDataLength;
100 bool m_validationDataLengthHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace PaymentCryptographyData
105} // namespace Aws
GenerateCardValidationDataRequest & WithPrimaryAccountNumber(const char *value)
GenerateCardValidationDataRequest & WithPrimaryAccountNumber(const Aws::String &value)
GenerateCardValidationDataRequest & WithGenerationAttributes(const CardGenerationAttributes &value)
GenerateCardValidationDataRequest & WithKeyIdentifier(Aws::String &&value)
GenerateCardValidationDataRequest & WithPrimaryAccountNumber(Aws::String &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
GenerateCardValidationDataRequest & WithGenerationAttributes(CardGenerationAttributes &&value)
GenerateCardValidationDataRequest & WithKeyIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String