/* * 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 { /// /// Container for the parameters to the SignPayload operation. /// Signs a binary payload and returns a signature envelope. /// public partial class SignPayloadRequest : AmazonSignerRequest { private MemoryStream _payload; private string _payloadFormat; private string _profileName; private string _profileOwner; /// /// Gets and sets the property Payload. /// /// Specifies the object digest (hash) to sign. /// /// [AWSProperty(Required=true, Min=1, Max=4096)] public MemoryStream Payload { get { return this._payload; } set { this._payload = value; } } // Check to see if Payload property is set internal bool IsSetPayload() { return this._payload != null; } /// /// Gets and sets the property PayloadFormat. /// /// Payload content type /// /// [AWSProperty(Required=true)] public string PayloadFormat { get { return this._payloadFormat; } set { this._payloadFormat = value; } } // Check to see if PayloadFormat property is set internal bool IsSetPayloadFormat() { return this._payloadFormat != null; } /// /// Gets and sets the property ProfileName. /// /// The name of the signing profile. /// /// [AWSProperty(Required=true, 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 ProfileOwner. /// /// The AWS account ID of the profile owner. /// /// [AWSProperty(Min=12, Max=12)] public string ProfileOwner { get { return this._profileOwner; } set { this._profileOwner = value; } } // Check to see if ProfileOwner property is set internal bool IsSetProfileOwner() { return this._profileOwner != null; } } }