AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ExportTr31KeyBlock.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
9#include <aws/payment-cryptography/model/KeyBlockHeaders.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PaymentCryptography {
21namespace Model {
22
30 public:
31 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock() = default;
32 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetWrappingKeyIdentifier() const { return m_wrappingKeyIdentifier; }
42 inline bool WrappingKeyIdentifierHasBeenSet() const { return m_wrappingKeyIdentifierHasBeenSet; }
43 template <typename WrappingKeyIdentifierT = Aws::String>
44 void SetWrappingKeyIdentifier(WrappingKeyIdentifierT&& value) {
45 m_wrappingKeyIdentifierHasBeenSet = true;
46 m_wrappingKeyIdentifier = std::forward<WrappingKeyIdentifierT>(value);
47 }
48 template <typename WrappingKeyIdentifierT = Aws::String>
49 ExportTr31KeyBlock& WithWrappingKeyIdentifier(WrappingKeyIdentifierT&& value) {
50 SetWrappingKeyIdentifier(std::forward<WrappingKeyIdentifierT>(value));
51 return *this;
52 }
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) {
64 m_keyBlockHeadersHasBeenSet = true;
65 m_keyBlockHeaders = std::forward<KeyBlockHeadersT>(value);
66 }
67 template <typename KeyBlockHeadersT = KeyBlockHeaders>
68 ExportTr31KeyBlock& WithKeyBlockHeaders(KeyBlockHeadersT&& value) {
69 SetKeyBlockHeaders(std::forward<KeyBlockHeadersT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_wrappingKeyIdentifier;
75
76 KeyBlockHeaders m_keyBlockHeaders;
77 bool m_wrappingKeyIdentifierHasBeenSet = false;
78 bool m_keyBlockHeadersHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace PaymentCryptography
83} // 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