AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 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 GenerateCardValidationDataRequest& 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 GenerateCardValidationDataRequest& WithPrimaryAccountNumber(PrimaryAccountNumberT&& value) { SetPrimaryAccountNumber(std::forward<PrimaryAccountNumberT>(value)); return *this;}
61
63
67 inline const CardGenerationAttributes& GetGenerationAttributes() const { return m_generationAttributes; }
68 inline bool GenerationAttributesHasBeenSet() const { return m_generationAttributesHasBeenSet; }
69 template<typename GenerationAttributesT = CardGenerationAttributes>
70 void SetGenerationAttributes(GenerationAttributesT&& value) { m_generationAttributesHasBeenSet = true; m_generationAttributes = std::forward<GenerationAttributesT>(value); }
71 template<typename GenerationAttributesT = CardGenerationAttributes>
72 GenerateCardValidationDataRequest& WithGenerationAttributes(GenerationAttributesT&& value) { SetGenerationAttributes(std::forward<GenerationAttributesT>(value)); return *this;}
74
76
79 inline int GetValidationDataLength() const { return m_validationDataLength; }
80 inline bool ValidationDataLengthHasBeenSet() const { return m_validationDataLengthHasBeenSet; }
81 inline void SetValidationDataLength(int value) { m_validationDataLengthHasBeenSet = true; m_validationDataLength = value; }
84 private:
85
86 Aws::String m_keyIdentifier;
87 bool m_keyIdentifierHasBeenSet = false;
88
89 Aws::String m_primaryAccountNumber;
90 bool m_primaryAccountNumberHasBeenSet = false;
91
92 CardGenerationAttributes m_generationAttributes;
93 bool m_generationAttributesHasBeenSet = false;
94
95 int m_validationDataLength{0};
96 bool m_validationDataLengthHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace PaymentCryptographyData
101} // namespace Aws
GenerateCardValidationDataRequest & WithPrimaryAccountNumber(PrimaryAccountNumberT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateCardValidationDataRequest()=default
GenerateCardValidationDataRequest & WithKeyIdentifier(KeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
GenerateCardValidationDataRequest & WithGenerationAttributes(GenerationAttributesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String