/*
* 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 opsworks-2013-02-18.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.OpsWorks.Model
{
///
/// Contains the response to a DescribePermissions
request.
///
public partial class DescribePermissionsResponse : AmazonWebServiceResponse
{
private List _permissions = new List();
///
/// Gets and sets the property Permissions.
///
/// An array of Permission
objects that describe the stack permissions.
///
/// -
///
/// If the request object contains only a stack ID, the array contains a
Permission
/// object with permissions for each of the stack IAM ARNs.
///
/// -
///
/// If the request object contains only an IAM ARN, the array contains a
Permission
/// object with permissions for each of the user's stack IDs.
///
/// -
///
/// If the request contains a stack ID and an IAM ARN, the array contains a single
Permission
/// object with permissions for the specified stack and IAM ARN.
///
///
///
public List Permissions
{
get { return this._permissions; }
set { this._permissions = value; }
}
// Check to see if Permissions property is set
internal bool IsSetPermissions()
{
return this._permissions != null && this._permissions.Count > 0;
}
}
}