/** * 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 import using TR-31 * standard.

See Also:

AWS * API Reference

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

The TR-34 wrapped key block to import.

*/ inline const Aws::String& GetWrappedKeyBlock() const{ return m_wrappedKeyBlock; } /** *

The TR-34 wrapped key block to import.

*/ inline bool WrappedKeyBlockHasBeenSet() const { return m_wrappedKeyBlockHasBeenSet; } /** *

The TR-34 wrapped key block to import.

*/ inline void SetWrappedKeyBlock(const Aws::String& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = value; } /** *

The TR-34 wrapped key block to import.

*/ inline void SetWrappedKeyBlock(Aws::String&& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = std::move(value); } /** *

The TR-34 wrapped key block to import.

*/ inline void SetWrappedKeyBlock(const char* value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock.assign(value); } /** *

The TR-34 wrapped key block to import.

*/ inline ImportTr31KeyBlock& WithWrappedKeyBlock(const Aws::String& value) { SetWrappedKeyBlock(value); return *this;} /** *

The TR-34 wrapped key block to import.

*/ inline ImportTr31KeyBlock& WithWrappedKeyBlock(Aws::String&& value) { SetWrappedKeyBlock(std::move(value)); return *this;} /** *

The TR-34 wrapped key block to import.

*/ inline ImportTr31KeyBlock& WithWrappedKeyBlock(const char* value) { SetWrappedKeyBlock(value); return *this;} /** *

The KeyARN of the key that will decrypt or unwrap a TR-31 key * block during import.

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

The KeyARN of the key that will decrypt or unwrap a TR-31 key * block during import.

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

The KeyARN of the key that will decrypt or unwrap a TR-31 key * block during import.

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

The KeyARN of the key that will decrypt or unwrap a TR-31 key * block during import.

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

The KeyARN of the key that will decrypt or unwrap a TR-31 key * block during import.

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

The KeyARN of the key that will decrypt or unwrap a TR-31 key * block during import.

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

The KeyARN of the key that will decrypt or unwrap a TR-31 key * block during import.

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

The KeyARN of the key that will decrypt or unwrap a TR-31 key * block during import.

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