AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ExportTr31KeyBlock.h
1
6#pragma once
7#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography/model/KeyBlockHeaders.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptography
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock() = default;
37 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetWrappingKeyIdentifier() const { return m_wrappingKeyIdentifier; }
48 inline bool WrappingKeyIdentifierHasBeenSet() const { return m_wrappingKeyIdentifierHasBeenSet; }
49 template<typename WrappingKeyIdentifierT = Aws::String>
50 void SetWrappingKeyIdentifier(WrappingKeyIdentifierT&& value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier = std::forward<WrappingKeyIdentifierT>(value); }
51 template<typename WrappingKeyIdentifierT = Aws::String>
52 ExportTr31KeyBlock& WithWrappingKeyIdentifier(WrappingKeyIdentifierT&& value) { SetWrappingKeyIdentifier(std::forward<WrappingKeyIdentifierT>(value)); return *this;}
54
56
60 inline const KeyBlockHeaders& GetKeyBlockHeaders() const { return m_keyBlockHeaders; }
61 inline bool KeyBlockHeadersHasBeenSet() const { return m_keyBlockHeadersHasBeenSet; }
62 template<typename KeyBlockHeadersT = KeyBlockHeaders>
63 void SetKeyBlockHeaders(KeyBlockHeadersT&& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = std::forward<KeyBlockHeadersT>(value); }
64 template<typename KeyBlockHeadersT = KeyBlockHeaders>
65 ExportTr31KeyBlock& WithKeyBlockHeaders(KeyBlockHeadersT&& value) { SetKeyBlockHeaders(std::forward<KeyBlockHeadersT>(value)); return *this;}
67 private:
68
69 Aws::String m_wrappingKeyIdentifier;
70 bool m_wrappingKeyIdentifierHasBeenSet = false;
71
72 KeyBlockHeaders m_keyBlockHeaders;
73 bool m_keyBlockHeadersHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace PaymentCryptography
78} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock(Aws::Utils::Json::JsonView jsonValue)
void SetWrappingKeyIdentifier(WrappingKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
ExportTr31KeyBlock & WithKeyBlockHeaders(KeyBlockHeadersT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportTr31KeyBlock & WithWrappingKeyIdentifier(WrappingKeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue