AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWrappingKeyIdentifier(const Aws::String& value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier = value; }
50 inline void SetWrappingKeyIdentifier(Aws::String&& value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier = std::move(value); }
51 inline void SetWrappingKeyIdentifier(const char* value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier.assign(value); }
53 inline ExportTr31KeyBlock& WithWrappingKeyIdentifier(Aws::String&& value) { SetWrappingKeyIdentifier(std::move(value)); return *this;}
54 inline ExportTr31KeyBlock& WithWrappingKeyIdentifier(const char* value) { SetWrappingKeyIdentifier(value); return *this;}
56
58
62 inline const KeyBlockHeaders& GetKeyBlockHeaders() const{ return m_keyBlockHeaders; }
63 inline bool KeyBlockHeadersHasBeenSet() const { return m_keyBlockHeadersHasBeenSet; }
64 inline void SetKeyBlockHeaders(const KeyBlockHeaders& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = value; }
65 inline void SetKeyBlockHeaders(KeyBlockHeaders&& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = std::move(value); }
66 inline ExportTr31KeyBlock& WithKeyBlockHeaders(const KeyBlockHeaders& value) { SetKeyBlockHeaders(value); return *this;}
67 inline ExportTr31KeyBlock& WithKeyBlockHeaders(KeyBlockHeaders&& value) { SetKeyBlockHeaders(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_wrappingKeyIdentifier;
72 bool m_wrappingKeyIdentifierHasBeenSet = false;
73
74 KeyBlockHeaders m_keyBlockHeaders;
75 bool m_keyBlockHeadersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PaymentCryptography
80} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock(Aws::Utils::Json::JsonView jsonValue)
ExportTr31KeyBlock & WithWrappingKeyIdentifier(Aws::String &&value)
void SetKeyBlockHeaders(const KeyBlockHeaders &value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock()
ExportTr31KeyBlock & WithWrappingKeyIdentifier(const Aws::String &value)
ExportTr31KeyBlock & WithKeyBlockHeaders(KeyBlockHeaders &&value)
ExportTr31KeyBlock & WithKeyBlockHeaders(const KeyBlockHeaders &value)
AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportTr31KeyBlock & WithWrappingKeyIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue