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

The configuration of a code signing operation.

See Also:

AWS * API Reference

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

The encryption algorithm options that are available for a code signing * job.

*/ inline const EncryptionAlgorithmOptions& GetEncryptionAlgorithmOptions() const{ return m_encryptionAlgorithmOptions; } /** *

The encryption algorithm options that are available for a code signing * job.

*/ inline bool EncryptionAlgorithmOptionsHasBeenSet() const { return m_encryptionAlgorithmOptionsHasBeenSet; } /** *

The encryption algorithm options that are available for a code signing * job.

*/ inline void SetEncryptionAlgorithmOptions(const EncryptionAlgorithmOptions& value) { m_encryptionAlgorithmOptionsHasBeenSet = true; m_encryptionAlgorithmOptions = value; } /** *

The encryption algorithm options that are available for a code signing * job.

*/ inline void SetEncryptionAlgorithmOptions(EncryptionAlgorithmOptions&& value) { m_encryptionAlgorithmOptionsHasBeenSet = true; m_encryptionAlgorithmOptions = std::move(value); } /** *

The encryption algorithm options that are available for a code signing * job.

*/ inline SigningConfiguration& WithEncryptionAlgorithmOptions(const EncryptionAlgorithmOptions& value) { SetEncryptionAlgorithmOptions(value); return *this;} /** *

The encryption algorithm options that are available for a code signing * job.

*/ inline SigningConfiguration& WithEncryptionAlgorithmOptions(EncryptionAlgorithmOptions&& value) { SetEncryptionAlgorithmOptions(std::move(value)); return *this;} /** *

The hash algorithm options that are available for a code signing job.

*/ inline const HashAlgorithmOptions& GetHashAlgorithmOptions() const{ return m_hashAlgorithmOptions; } /** *

The hash algorithm options that are available for a code signing job.

*/ inline bool HashAlgorithmOptionsHasBeenSet() const { return m_hashAlgorithmOptionsHasBeenSet; } /** *

The hash algorithm options that are available for a code signing job.

*/ inline void SetHashAlgorithmOptions(const HashAlgorithmOptions& value) { m_hashAlgorithmOptionsHasBeenSet = true; m_hashAlgorithmOptions = value; } /** *

The hash algorithm options that are available for a code signing job.

*/ inline void SetHashAlgorithmOptions(HashAlgorithmOptions&& value) { m_hashAlgorithmOptionsHasBeenSet = true; m_hashAlgorithmOptions = std::move(value); } /** *

The hash algorithm options that are available for a code signing job.

*/ inline SigningConfiguration& WithHashAlgorithmOptions(const HashAlgorithmOptions& value) { SetHashAlgorithmOptions(value); return *this;} /** *

The hash algorithm options that are available for a code signing job.

*/ inline SigningConfiguration& WithHashAlgorithmOptions(HashAlgorithmOptions&& value) { SetHashAlgorithmOptions(std::move(value)); return *this;} private: EncryptionAlgorithmOptions m_encryptionAlgorithmOptions; bool m_encryptionAlgorithmOptionsHasBeenSet = false; HashAlgorithmOptions m_hashAlgorithmOptions; bool m_hashAlgorithmOptionsHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws