/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the signer-2017-08-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Signer.Model { /// /// Contains information about the ACM certificates and code signing configuration parameters /// that can be used by a given code signing user. /// public partial class SigningProfile { private string _arn; private string _platformDisplayName; private string _platformId; private string _profileName; private string _profileVersion; private string _profileVersionArn; private SignatureValidityPeriod _signatureValidityPeriod; private SigningMaterial _signingMaterial; private Dictionary _signingParameters = new Dictionary(); private SigningProfileStatus _status; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property Arn. /// /// The Amazon Resource Name (ARN) for the signing profile. /// /// public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property PlatformDisplayName. /// /// The name of the signing platform. /// /// public string PlatformDisplayName { get { return this._platformDisplayName; } set { this._platformDisplayName = value; } } // Check to see if PlatformDisplayName property is set internal bool IsSetPlatformDisplayName() { return this._platformDisplayName != null; } /// /// Gets and sets the property PlatformId. /// /// The ID of a platform that is available for use by a signing profile. /// /// public string PlatformId { get { return this._platformId; } set { this._platformId = value; } } // Check to see if PlatformId property is set internal bool IsSetPlatformId() { return this._platformId != null; } /// /// Gets and sets the property ProfileName. /// /// The name of the signing profile. /// /// [AWSProperty(Min=2, Max=64)] public string ProfileName { get { return this._profileName; } set { this._profileName = value; } } // Check to see if ProfileName property is set internal bool IsSetProfileName() { return this._profileName != null; } /// /// Gets and sets the property ProfileVersion. /// /// The version of a signing profile. /// /// [AWSProperty(Min=10, Max=10)] public string ProfileVersion { get { return this._profileVersion; } set { this._profileVersion = value; } } // Check to see if ProfileVersion property is set internal bool IsSetProfileVersion() { return this._profileVersion != null; } /// /// Gets and sets the property ProfileVersionArn. /// /// The ARN of a signing profile, including the profile version. /// /// [AWSProperty(Min=20, Max=2048)] public string ProfileVersionArn { get { return this._profileVersionArn; } set { this._profileVersionArn = value; } } // Check to see if ProfileVersionArn property is set internal bool IsSetProfileVersionArn() { return this._profileVersionArn != null; } /// /// Gets and sets the property SignatureValidityPeriod. /// /// The validity period for a signing job created using this signing profile. /// /// public SignatureValidityPeriod SignatureValidityPeriod { get { return this._signatureValidityPeriod; } set { this._signatureValidityPeriod = value; } } // Check to see if SignatureValidityPeriod property is set internal bool IsSetSignatureValidityPeriod() { return this._signatureValidityPeriod != null; } /// /// Gets and sets the property SigningMaterial. /// /// The ACM certificate that is available for use by a signing profile. /// /// public SigningMaterial SigningMaterial { get { return this._signingMaterial; } set { this._signingMaterial = value; } } // Check to see if SigningMaterial property is set internal bool IsSetSigningMaterial() { return this._signingMaterial != null; } /// /// Gets and sets the property SigningParameters. /// /// The parameters that are available for use by a code signing user. /// /// public Dictionary SigningParameters { get { return this._signingParameters; } set { this._signingParameters = value; } } // Check to see if SigningParameters property is set internal bool IsSetSigningParameters() { return this._signingParameters != null && this._signingParameters.Count > 0; } /// /// Gets and sets the property Status. /// /// The status of a code signing profile. /// /// public SigningProfileStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property Tags. /// /// A list of tags associated with the signing profile. /// /// [AWSProperty(Min=1, Max=200)] public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }