AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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); }
46 inline VerifyMacRequest& WithKeyIdentifier(const Aws::String& value) { SetKeyIdentifier(value); return *this;}
47 inline VerifyMacRequest& WithKeyIdentifier(Aws::String&& value) { SetKeyIdentifier(std::move(value)); return *this;}
48 inline VerifyMacRequest& WithKeyIdentifier(const char* value) { SetKeyIdentifier(value); return *this;}
50
52
56 inline const Aws::String& GetMessageData() const{ return m_messageData; }
57 inline bool MessageDataHasBeenSet() const { return m_messageDataHasBeenSet; }
58 inline void SetMessageData(const Aws::String& value) { m_messageDataHasBeenSet = true; m_messageData = value; }
59 inline void SetMessageData(Aws::String&& value) { m_messageDataHasBeenSet = true; m_messageData = std::move(value); }
60 inline void SetMessageData(const char* value) { m_messageDataHasBeenSet = true; m_messageData.assign(value); }
61 inline VerifyMacRequest& WithMessageData(const Aws::String& value) { SetMessageData(value); return *this;}
62 inline VerifyMacRequest& WithMessageData(Aws::String&& value) { SetMessageData(std::move(value)); return *this;}
63 inline VerifyMacRequest& WithMessageData(const char* value) { SetMessageData(value); return *this;}
65
67
70 inline const Aws::String& GetMac() const{ return m_mac; }
71 inline bool MacHasBeenSet() const { return m_macHasBeenSet; }
72 inline void SetMac(const Aws::String& value) { m_macHasBeenSet = true; m_mac = value; }
73 inline void SetMac(Aws::String&& value) { m_macHasBeenSet = true; m_mac = std::move(value); }
74 inline void SetMac(const char* value) { m_macHasBeenSet = true; m_mac.assign(value); }
75 inline VerifyMacRequest& WithMac(const Aws::String& value) { SetMac(value); return *this;}
76 inline VerifyMacRequest& WithMac(Aws::String&& value) { SetMac(std::move(value)); return *this;}
77 inline VerifyMacRequest& WithMac(const char* value) { SetMac(value); return *this;}
79
81
85 inline const MacAttributes& GetVerificationAttributes() const{ return m_verificationAttributes; }
86 inline bool VerificationAttributesHasBeenSet() const { return m_verificationAttributesHasBeenSet; }
87 inline void SetVerificationAttributes(const MacAttributes& value) { m_verificationAttributesHasBeenSet = true; m_verificationAttributes = value; }
88 inline void SetVerificationAttributes(MacAttributes&& value) { m_verificationAttributesHasBeenSet = true; m_verificationAttributes = std::move(value); }
90 inline VerifyMacRequest& WithVerificationAttributes(MacAttributes&& value) { SetVerificationAttributes(std::move(value)); return *this;}
92
94
97 inline int GetMacLength() const{ return m_macLength; }
98 inline bool MacLengthHasBeenSet() const { return m_macLengthHasBeenSet; }
99 inline void SetMacLength(int value) { m_macLengthHasBeenSet = true; m_macLength = value; }
100 inline VerifyMacRequest& WithMacLength(int value) { SetMacLength(value); return *this;}
102 private:
103
104 Aws::String m_keyIdentifier;
105 bool m_keyIdentifierHasBeenSet = false;
106
107 Aws::String m_messageData;
108 bool m_messageDataHasBeenSet = false;
109
110 Aws::String m_mac;
111 bool m_macHasBeenSet = false;
112
113 MacAttributes m_verificationAttributes;
114 bool m_verificationAttributesHasBeenSet = false;
115
116 int m_macLength;
117 bool m_macLengthHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace PaymentCryptographyData
122} // namespace Aws
VerifyMacRequest & WithMessageData(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerifyMacRequest()
VerifyMacRequest & WithVerificationAttributes(MacAttributes &&value)
VerifyMacRequest & WithKeyIdentifier(const char *value)
VerifyMacRequest & WithMac(const Aws::String &value)
VerifyMacRequest & WithKeyIdentifier(const Aws::String &value)
VerifyMacRequest & WithMac(const char *value)
VerifyMacRequest & WithMessageData(const char *value)
VerifyMacRequest & WithMessageData(Aws::String &&value)
void SetVerificationAttributes(const MacAttributes &value)
VerifyMacRequest & WithMac(Aws::String &&value)
VerifyMacRequest & WithVerificationAttributes(const MacAttributes &value)
VerifyMacRequest & WithKeyIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String