AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GenerateAs2805KekValidationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyDataRequest.h>
9#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
10#include <aws/payment-cryptography-data/model/As2805KekValidationType.h>
11#include <aws/payment-cryptography-data/model/RandomKeySendVariantMask.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PaymentCryptographyData {
17namespace Model {
18
22 public:
23 AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateAs2805KekValidationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "GenerateAs2805KekValidation"; }
30
31 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetKeyIdentifier() const { return m_keyIdentifier; }
39 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
40 template <typename KeyIdentifierT = Aws::String>
41 void SetKeyIdentifier(KeyIdentifierT&& value) {
42 m_keyIdentifierHasBeenSet = true;
43 m_keyIdentifier = std::forward<KeyIdentifierT>(value);
44 }
45 template <typename KeyIdentifierT = Aws::String>
47 SetKeyIdentifier(std::forward<KeyIdentifierT>(value));
48 return *this;
49 }
51
53
57 inline const As2805KekValidationType& GetKekValidationType() const { return m_kekValidationType; }
58 inline bool KekValidationTypeHasBeenSet() const { return m_kekValidationTypeHasBeenSet; }
59 template <typename KekValidationTypeT = As2805KekValidationType>
60 void SetKekValidationType(KekValidationTypeT&& value) {
61 m_kekValidationTypeHasBeenSet = true;
62 m_kekValidationType = std::forward<KekValidationTypeT>(value);
63 }
64 template <typename KekValidationTypeT = As2805KekValidationType>
66 SetKekValidationType(std::forward<KekValidationTypeT>(value));
67 return *this;
68 }
70
72
76 inline RandomKeySendVariantMask GetRandomKeySendVariantMask() const { return m_randomKeySendVariantMask; }
77 inline bool RandomKeySendVariantMaskHasBeenSet() const { return m_randomKeySendVariantMaskHasBeenSet; }
79 m_randomKeySendVariantMaskHasBeenSet = true;
80 m_randomKeySendVariantMask = value;
81 }
84 return *this;
85 }
87 private:
88 Aws::String m_keyIdentifier;
89
90 As2805KekValidationType m_kekValidationType;
91
93 bool m_keyIdentifierHasBeenSet = false;
94 bool m_kekValidationTypeHasBeenSet = false;
95 bool m_randomKeySendVariantMaskHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace PaymentCryptographyData
100} // namespace Aws
GenerateAs2805KekValidationRequest & WithKekValidationType(KekValidationTypeT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
AWS_PAYMENTCRYPTOGRAPHYDATA_API GenerateAs2805KekValidationRequest()=default
GenerateAs2805KekValidationRequest & WithRandomKeySendVariantMask(RandomKeySendVariantMask value)
GenerateAs2805KekValidationRequest & WithKeyIdentifier(KeyIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String