AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VerifyMacRequest.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/MacAttributes.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PaymentCryptographyData
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyMacRequest() = 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 "VerifyMac"; }
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 VerifyMacRequest& WithKeyIdentifier(KeyIdentifierT&& value) { SetKeyIdentifier(std::forward<KeyIdentifierT>(value)); return *this;}
48
50
54 inline const Aws::String& GetMessageData() const { return m_messageData; }
55 inline bool MessageDataHasBeenSet() const { return m_messageDataHasBeenSet; }
56 template<typename MessageDataT = Aws::String>
57 void SetMessageData(MessageDataT&& value) { m_messageDataHasBeenSet = true; m_messageData = std::forward<MessageDataT>(value); }
58 template<typename MessageDataT = Aws::String>
59 VerifyMacRequest& WithMessageData(MessageDataT&& value) { SetMessageData(std::forward<MessageDataT>(value)); return *this;}
61
63
66 inline const Aws::String& GetMac() const { return m_mac; }
67 inline bool MacHasBeenSet() const { return m_macHasBeenSet; }
68 template<typename MacT = Aws::String>
69 void SetMac(MacT&& value) { m_macHasBeenSet = true; m_mac = std::forward<MacT>(value); }
70 template<typename MacT = Aws::String>
71 VerifyMacRequest& WithMac(MacT&& value) { SetMac(std::forward<MacT>(value)); return *this;}
73
75
79 inline const MacAttributes& GetVerificationAttributes() const { return m_verificationAttributes; }
80 inline bool VerificationAttributesHasBeenSet() const { return m_verificationAttributesHasBeenSet; }
81 template<typename VerificationAttributesT = MacAttributes>
82 void SetVerificationAttributes(VerificationAttributesT&& value) { m_verificationAttributesHasBeenSet = true; m_verificationAttributes = std::forward<VerificationAttributesT>(value); }
83 template<typename VerificationAttributesT = MacAttributes>
84 VerifyMacRequest& WithVerificationAttributes(VerificationAttributesT&& value) { SetVerificationAttributes(std::forward<VerificationAttributesT>(value)); return *this;}
86
88
91 inline int GetMacLength() const { return m_macLength; }
92 inline bool MacLengthHasBeenSet() const { return m_macLengthHasBeenSet; }
93 inline void SetMacLength(int value) { m_macLengthHasBeenSet = true; m_macLength = value; }
94 inline VerifyMacRequest& WithMacLength(int value) { SetMacLength(value); return *this;}
96 private:
97
98 Aws::String m_keyIdentifier;
99 bool m_keyIdentifierHasBeenSet = false;
100
101 Aws::String m_messageData;
102 bool m_messageDataHasBeenSet = false;
103
104 Aws::String m_mac;
105 bool m_macHasBeenSet = false;
106
107 MacAttributes m_verificationAttributes;
108 bool m_verificationAttributesHasBeenSet = false;
109
110 int m_macLength{0};
111 bool m_macLengthHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace PaymentCryptographyData
116} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyMacRequest()=default
VerifyMacRequest & WithKeyIdentifier(KeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
VerifyMacRequest & WithVerificationAttributes(VerificationAttributesT &&value)
void SetVerificationAttributes(VerificationAttributesT &&value)
VerifyMacRequest & WithMessageData(MessageDataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String