AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ImportTr31KeyBlock.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PaymentCryptography {
20namespace Model {
21
29 public:
30 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr31KeyBlock() = default;
31 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr31KeyBlock(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PAYMENTCRYPTOGRAPHY_API ImportTr31KeyBlock& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetWrappingKeyIdentifier() const { return m_wrappingKeyIdentifier; }
41 inline bool WrappingKeyIdentifierHasBeenSet() const { return m_wrappingKeyIdentifierHasBeenSet; }
42 template <typename WrappingKeyIdentifierT = Aws::String>
43 void SetWrappingKeyIdentifier(WrappingKeyIdentifierT&& value) {
44 m_wrappingKeyIdentifierHasBeenSet = true;
45 m_wrappingKeyIdentifier = std::forward<WrappingKeyIdentifierT>(value);
46 }
47 template <typename WrappingKeyIdentifierT = Aws::String>
48 ImportTr31KeyBlock& WithWrappingKeyIdentifier(WrappingKeyIdentifierT&& value) {
49 SetWrappingKeyIdentifier(std::forward<WrappingKeyIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetWrappedKeyBlock() const { return m_wrappedKeyBlock; }
59 inline bool WrappedKeyBlockHasBeenSet() const { return m_wrappedKeyBlockHasBeenSet; }
60 template <typename WrappedKeyBlockT = Aws::String>
61 void SetWrappedKeyBlock(WrappedKeyBlockT&& value) {
62 m_wrappedKeyBlockHasBeenSet = true;
63 m_wrappedKeyBlock = std::forward<WrappedKeyBlockT>(value);
64 }
65 template <typename WrappedKeyBlockT = Aws::String>
66 ImportTr31KeyBlock& WithWrappedKeyBlock(WrappedKeyBlockT&& value) {
67 SetWrappedKeyBlock(std::forward<WrappedKeyBlockT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_wrappingKeyIdentifier;
73
74 Aws::String m_wrappedKeyBlock;
75 bool m_wrappingKeyIdentifierHasBeenSet = false;
76 bool m_wrappedKeyBlockHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PaymentCryptography
81} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr31KeyBlock(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr31KeyBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportTr31KeyBlock & WithWrappedKeyBlock(WrappedKeyBlockT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API ImportTr31KeyBlock()=default
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
ImportTr31KeyBlock & WithWrappingKeyIdentifier(WrappingKeyIdentifierT &&value)
void SetWrappingKeyIdentifier(WrappingKeyIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue