/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A signing configuration that overrides the default encryption or hash
* algorithm of a signing job.See Also:
AWS
* API Reference
A specified override of the default encryption algorithm that is used in a * code signing job.
*/ inline const EncryptionAlgorithm& GetEncryptionAlgorithm() const{ return m_encryptionAlgorithm; } /** *A specified override of the default encryption algorithm that is used in a * code signing job.
*/ inline bool EncryptionAlgorithmHasBeenSet() const { return m_encryptionAlgorithmHasBeenSet; } /** *A specified override of the default encryption algorithm that is used in a * code signing job.
*/ inline void SetEncryptionAlgorithm(const EncryptionAlgorithm& value) { m_encryptionAlgorithmHasBeenSet = true; m_encryptionAlgorithm = value; } /** *A specified override of the default encryption algorithm that is used in a * code signing job.
*/ inline void SetEncryptionAlgorithm(EncryptionAlgorithm&& value) { m_encryptionAlgorithmHasBeenSet = true; m_encryptionAlgorithm = std::move(value); } /** *A specified override of the default encryption algorithm that is used in a * code signing job.
*/ inline SigningConfigurationOverrides& WithEncryptionAlgorithm(const EncryptionAlgorithm& value) { SetEncryptionAlgorithm(value); return *this;} /** *A specified override of the default encryption algorithm that is used in a * code signing job.
*/ inline SigningConfigurationOverrides& WithEncryptionAlgorithm(EncryptionAlgorithm&& value) { SetEncryptionAlgorithm(std::move(value)); return *this;} /** *A specified override of the default hash algorithm that is used in a code * signing job.
*/ inline const HashAlgorithm& GetHashAlgorithm() const{ return m_hashAlgorithm; } /** *A specified override of the default hash algorithm that is used in a code * signing job.
*/ inline bool HashAlgorithmHasBeenSet() const { return m_hashAlgorithmHasBeenSet; } /** *A specified override of the default hash algorithm that is used in a code * signing job.
*/ inline void SetHashAlgorithm(const HashAlgorithm& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = value; } /** *A specified override of the default hash algorithm that is used in a code * signing job.
*/ inline void SetHashAlgorithm(HashAlgorithm&& value) { m_hashAlgorithmHasBeenSet = true; m_hashAlgorithm = std::move(value); } /** *A specified override of the default hash algorithm that is used in a code * signing job.
*/ inline SigningConfigurationOverrides& WithHashAlgorithm(const HashAlgorithm& value) { SetHashAlgorithm(value); return *this;} /** *A specified override of the default hash algorithm that is used in a code * signing job.
*/ inline SigningConfigurationOverrides& WithHashAlgorithm(HashAlgorithm&& value) { SetHashAlgorithm(std::move(value)); return *this;} private: EncryptionAlgorithm m_encryptionAlgorithm; bool m_encryptionAlgorithmHasBeenSet = false; HashAlgorithm m_hashAlgorithm; bool m_hashAlgorithmHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws