/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the signing configurations and parameters that are
* used to perform a code signing job.See Also:
AWS
* API Reference
The ID of a code signing platform.
*/ inline const Aws::String& GetPlatformId() const{ return m_platformId; } /** *The ID of a code signing platform.
*/ inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; } /** *The ID of a code signing platform.
*/ inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; } /** *The ID of a code signing platform.
*/ inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); } /** *The ID of a code signing platform.
*/ inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); } /** *The ID of a code signing platform.
*/ inline SigningPlatform& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;} /** *The ID of a code signing platform.
*/ inline SigningPlatform& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;} /** *The ID of a code signing platform.
*/ inline SigningPlatform& WithPlatformId(const char* value) { SetPlatformId(value); return *this;} /** *The display name of a code signing platform.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The display name of a code signing platform.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The display name of a code signing platform.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The display name of a code signing platform.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The display name of a code signing platform.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The display name of a code signing platform.
*/ inline SigningPlatform& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The display name of a code signing platform.
*/ inline SigningPlatform& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The display name of a code signing platform.
*/ inline SigningPlatform& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *Any partner entities linked to a code signing platform.
*/ inline const Aws::String& GetPartner() const{ return m_partner; } /** *Any partner entities linked to a code signing platform.
*/ inline bool PartnerHasBeenSet() const { return m_partnerHasBeenSet; } /** *Any partner entities linked to a code signing platform.
*/ inline void SetPartner(const Aws::String& value) { m_partnerHasBeenSet = true; m_partner = value; } /** *Any partner entities linked to a code signing platform.
*/ inline void SetPartner(Aws::String&& value) { m_partnerHasBeenSet = true; m_partner = std::move(value); } /** *Any partner entities linked to a code signing platform.
*/ inline void SetPartner(const char* value) { m_partnerHasBeenSet = true; m_partner.assign(value); } /** *Any partner entities linked to a code signing platform.
*/ inline SigningPlatform& WithPartner(const Aws::String& value) { SetPartner(value); return *this;} /** *Any partner entities linked to a code signing platform.
*/ inline SigningPlatform& WithPartner(Aws::String&& value) { SetPartner(std::move(value)); return *this;} /** *Any partner entities linked to a code signing platform.
*/ inline SigningPlatform& WithPartner(const char* value) { SetPartner(value); return *this;} /** *The types of targets that can be signed by a code signing platform.
*/ inline const Aws::String& GetTarget() const{ return m_target; } /** *The types of targets that can be signed by a code signing platform.
*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *The types of targets that can be signed by a code signing platform.
*/ inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; } /** *The types of targets that can be signed by a code signing platform.
*/ inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *The types of targets that can be signed by a code signing platform.
*/ inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); } /** *The types of targets that can be signed by a code signing platform.
*/ inline SigningPlatform& WithTarget(const Aws::String& value) { SetTarget(value); return *this;} /** *The types of targets that can be signed by a code signing platform.
*/ inline SigningPlatform& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;} /** *The types of targets that can be signed by a code signing platform.
*/ inline SigningPlatform& WithTarget(const char* value) { SetTarget(value); return *this;} /** *The category of a code signing platform.
*/ inline const Category& GetCategory() const{ return m_category; } /** *The category of a code signing platform.
*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *The category of a code signing platform.
*/ inline void SetCategory(const Category& value) { m_categoryHasBeenSet = true; m_category = value; } /** *The category of a code signing platform.
*/ inline void SetCategory(Category&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *The category of a code signing platform.
*/ inline SigningPlatform& WithCategory(const Category& value) { SetCategory(value); return *this;} /** *The category of a code signing platform.
*/ inline SigningPlatform& WithCategory(Category&& value) { SetCategory(std::move(value)); return *this;} /** *The configuration of a code signing platform. This includes the designated * hash algorithm and encryption algorithm of a signing platform.
*/ inline const SigningConfiguration& GetSigningConfiguration() const{ return m_signingConfiguration; } /** *The configuration of a code signing platform. This includes the designated * hash algorithm and encryption algorithm of a signing platform.
*/ inline bool SigningConfigurationHasBeenSet() const { return m_signingConfigurationHasBeenSet; } /** *The configuration of a code signing platform. This includes the designated * hash algorithm and encryption algorithm of a signing platform.
*/ inline void SetSigningConfiguration(const SigningConfiguration& value) { m_signingConfigurationHasBeenSet = true; m_signingConfiguration = value; } /** *The configuration of a code signing platform. This includes the designated * hash algorithm and encryption algorithm of a signing platform.
*/ inline void SetSigningConfiguration(SigningConfiguration&& value) { m_signingConfigurationHasBeenSet = true; m_signingConfiguration = std::move(value); } /** *The configuration of a code signing platform. This includes the designated * hash algorithm and encryption algorithm of a signing platform.
*/ inline SigningPlatform& WithSigningConfiguration(const SigningConfiguration& value) { SetSigningConfiguration(value); return *this;} /** *The configuration of a code signing platform. This includes the designated * hash algorithm and encryption algorithm of a signing platform.
*/ inline SigningPlatform& WithSigningConfiguration(SigningConfiguration&& value) { SetSigningConfiguration(std::move(value)); return *this;} inline const SigningImageFormat& GetSigningImageFormat() const{ return m_signingImageFormat; } inline bool SigningImageFormatHasBeenSet() const { return m_signingImageFormatHasBeenSet; } inline void SetSigningImageFormat(const SigningImageFormat& value) { m_signingImageFormatHasBeenSet = true; m_signingImageFormat = value; } inline void SetSigningImageFormat(SigningImageFormat&& value) { m_signingImageFormatHasBeenSet = true; m_signingImageFormat = std::move(value); } inline SigningPlatform& WithSigningImageFormat(const SigningImageFormat& value) { SetSigningImageFormat(value); return *this;} inline SigningPlatform& WithSigningImageFormat(SigningImageFormat&& value) { SetSigningImageFormat(std::move(value)); return *this;} /** *The maximum size (in MB) of code that can be signed by a code signing * platform.
*/ inline int GetMaxSizeInMB() const{ return m_maxSizeInMB; } /** *The maximum size (in MB) of code that can be signed by a code signing * platform.
*/ inline bool MaxSizeInMBHasBeenSet() const { return m_maxSizeInMBHasBeenSet; } /** *The maximum size (in MB) of code that can be signed by a code signing * platform.
*/ inline void SetMaxSizeInMB(int value) { m_maxSizeInMBHasBeenSet = true; m_maxSizeInMB = value; } /** *The maximum size (in MB) of code that can be signed by a code signing * platform.
*/ inline SigningPlatform& WithMaxSizeInMB(int value) { SetMaxSizeInMB(value); return *this;} /** *Indicates whether revocation is supported for the platform.
*/ inline bool GetRevocationSupported() const{ return m_revocationSupported; } /** *Indicates whether revocation is supported for the platform.
*/ inline bool RevocationSupportedHasBeenSet() const { return m_revocationSupportedHasBeenSet; } /** *Indicates whether revocation is supported for the platform.
*/ inline void SetRevocationSupported(bool value) { m_revocationSupportedHasBeenSet = true; m_revocationSupported = value; } /** *Indicates whether revocation is supported for the platform.
*/ inline SigningPlatform& WithRevocationSupported(bool value) { SetRevocationSupported(value); return *this;} private: Aws::String m_platformId; bool m_platformIdHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_partner; bool m_partnerHasBeenSet = false; Aws::String m_target; bool m_targetHasBeenSet = false; Category m_category; bool m_categoryHasBeenSet = false; SigningConfiguration m_signingConfiguration; bool m_signingConfigurationHasBeenSet = false; SigningImageFormat m_signingImageFormat; bool m_signingImageFormatHasBeenSet = false; int m_maxSizeInMB; bool m_maxSizeInMBHasBeenSet = false; bool m_revocationSupported; bool m_revocationSupportedHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws