/*
* 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 RemoveProfilePermission operation.
/// Removes cross-account permissions from a signing profile.
///
public partial class RemoveProfilePermissionRequest : AmazonSignerRequest
{
private string _profileName;
private string _revisionId;
private string _statementId;
///
/// Gets and sets the property ProfileName.
///
/// A human-readable name for the signing profile with permissions to be removed.
///
///
[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 RevisionId.
///
/// An identifier for the current revision of the signing profile permissions.
///
///
[AWSProperty(Required=true)]
public string RevisionId
{
get { return this._revisionId; }
set { this._revisionId = value; }
}
// Check to see if RevisionId property is set
internal bool IsSetRevisionId()
{
return this._revisionId != null;
}
///
/// Gets and sets the property StatementId.
///
/// A unique identifier for the cross-account permissions statement.
///
///
[AWSProperty(Required=true)]
public string StatementId
{
get { return this._statementId; }
set { this._statementId = value; }
}
// Check to see if StatementId property is set
internal bool IsSetStatementId()
{
return this._statementId != null;
}
}
}