AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerateMacRequest.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 GenerateMacRequest();
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 "GenerateMac"; }
32
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetKeyIdentifier() const{ return m_keyIdentifier; }
41 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
42 inline void SetKeyIdentifier(const Aws::String& value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier = value; }
43 inline void SetKeyIdentifier(Aws::String&& value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier = std::move(value); }
44 inline void SetKeyIdentifier(const char* value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier.assign(value); }
45 inline GenerateMacRequest& WithKeyIdentifier(const Aws::String& value) { SetKeyIdentifier(value); return *this;}
46 inline GenerateMacRequest& WithKeyIdentifier(Aws::String&& value) { SetKeyIdentifier(std::move(value)); return *this;}
47 inline GenerateMacRequest& WithKeyIdentifier(const char* value) { SetKeyIdentifier(value); return *this;}
49
51
55 inline const Aws::String& GetMessageData() const{ return m_messageData; }
56 inline bool MessageDataHasBeenSet() const { return m_messageDataHasBeenSet; }
57 inline void SetMessageData(const Aws::String& value) { m_messageDataHasBeenSet = true; m_messageData = value; }
58 inline void SetMessageData(Aws::String&& value) { m_messageDataHasBeenSet = true; m_messageData = std::move(value); }
59 inline void SetMessageData(const char* value) { m_messageDataHasBeenSet = true; m_messageData.assign(value); }
60 inline GenerateMacRequest& WithMessageData(const Aws::String& value) { SetMessageData(value); return *this;}
61 inline GenerateMacRequest& WithMessageData(Aws::String&& value) { SetMessageData(std::move(value)); return *this;}
62 inline GenerateMacRequest& WithMessageData(const char* value) { SetMessageData(value); return *this;}
64
66
70 inline const MacAttributes& GetGenerationAttributes() const{ return m_generationAttributes; }
71 inline bool GenerationAttributesHasBeenSet() const { return m_generationAttributesHasBeenSet; }
72 inline void SetGenerationAttributes(const MacAttributes& value) { m_generationAttributesHasBeenSet = true; m_generationAttributes = value; }
73 inline void SetGenerationAttributes(MacAttributes&& value) { m_generationAttributesHasBeenSet = true; m_generationAttributes = std::move(value); }
75 inline GenerateMacRequest& WithGenerationAttributes(MacAttributes&& value) { SetGenerationAttributes(std::move(value)); return *this;}
77
79
82 inline int GetMacLength() const{ return m_macLength; }
83 inline bool MacLengthHasBeenSet() const { return m_macLengthHasBeenSet; }
84 inline void SetMacLength(int value) { m_macLengthHasBeenSet = true; m_macLength = value; }
85 inline GenerateMacRequest& WithMacLength(int value) { SetMacLength(value); return *this;}
87 private:
88
89 Aws::String m_keyIdentifier;
90 bool m_keyIdentifierHasBeenSet = false;
91
92 Aws::String m_messageData;
93 bool m_messageDataHasBeenSet = false;
94
95 MacAttributes m_generationAttributes;
96 bool m_generationAttributesHasBeenSet = false;
97
98 int m_macLength;
99 bool m_macLengthHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace PaymentCryptographyData
104} // namespace Aws
GenerateMacRequest & WithMessageData(const char *value)
GenerateMacRequest & WithGenerationAttributes(MacAttributes &&value)
GenerateMacRequest & WithKeyIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GenerateMacRequest & WithMessageData(Aws::String &&value)
GenerateMacRequest & WithKeyIdentifier(const char *value)
GenerateMacRequest & WithGenerationAttributes(const MacAttributes &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
GenerateMacRequest & WithMessageData(const Aws::String &value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateMacRequest()
GenerateMacRequest & WithKeyIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String