/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace PaymentCryptography { namespace Model { /** *

Parameter information for key material export using TR-31 * standard.

See Also:

AWS * API Reference

*/ class ExportTr31KeyBlock { public: AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock(); AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock(Aws::Utils::Json::JsonView jsonValue); AWS_PAYMENTCRYPTOGRAPHY_API ExportTr31KeyBlock& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The KeyARN of the the wrapping key. This key encrypts or wraps * the key under export for TR-31 key block generation.

*/ inline const Aws::String& GetWrappingKeyIdentifier() const{ return m_wrappingKeyIdentifier; } /** *

The KeyARN of the the wrapping key. This key encrypts or wraps * the key under export for TR-31 key block generation.

*/ inline bool WrappingKeyIdentifierHasBeenSet() const { return m_wrappingKeyIdentifierHasBeenSet; } /** *

The KeyARN of the the wrapping key. This key encrypts or wraps * the key under export for TR-31 key block generation.

*/ inline void SetWrappingKeyIdentifier(const Aws::String& value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier = value; } /** *

The KeyARN of the the wrapping key. This key encrypts or wraps * the key under export for TR-31 key block generation.

*/ inline void SetWrappingKeyIdentifier(Aws::String&& value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier = std::move(value); } /** *

The KeyARN of the the wrapping key. This key encrypts or wraps * the key under export for TR-31 key block generation.

*/ inline void SetWrappingKeyIdentifier(const char* value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier.assign(value); } /** *

The KeyARN of the the wrapping key. This key encrypts or wraps * the key under export for TR-31 key block generation.

*/ inline ExportTr31KeyBlock& WithWrappingKeyIdentifier(const Aws::String& value) { SetWrappingKeyIdentifier(value); return *this;} /** *

The KeyARN of the the wrapping key. This key encrypts or wraps * the key under export for TR-31 key block generation.

*/ inline ExportTr31KeyBlock& WithWrappingKeyIdentifier(Aws::String&& value) { SetWrappingKeyIdentifier(std::move(value)); return *this;} /** *

The KeyARN of the the wrapping key. This key encrypts or wraps * the key under export for TR-31 key block generation.

*/ inline ExportTr31KeyBlock& WithWrappingKeyIdentifier(const char* value) { SetWrappingKeyIdentifier(value); return *this;} private: Aws::String m_wrappingKeyIdentifier; bool m_wrappingKeyIdentifierHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptography } // namespace Aws