/*
* 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 iam-2010-05-08.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.IdentityManagement.Model
{
///
/// Contains details about the permissions policies that are attached to the specified
/// identity (user, group, or role).
///
///
///
/// This data type is used as a response element in the ListPoliciesGrantingServiceAccess
/// operation.
///
///
public partial class ListPoliciesGrantingServiceAccessEntry
{
private List _policies = new List();
private string _serviceNamespace;
///
/// Gets and sets the property Policies.
///
/// TheĀ PoliciesGrantingServiceAccess
object that contains details about
/// the policy.
///
///
public List Policies
{
get { return this._policies; }
set { this._policies = value; }
}
// Check to see if Policies property is set
internal bool IsSetPolicies()
{
return this._policies != null && this._policies.Count > 0;
}
///
/// Gets and sets the property ServiceNamespace.
///
/// The namespace of the service that was accessed.
///
///
///
/// To learn the service namespace of a service, see Actions,
/// resources, and condition keys for Amazon Web Services services in the Service
/// Authorization Reference. Choose the name of the service to view details for that
/// service. In the first paragraph, find the service prefix. For example, (service
/// prefix: a4b)
. For more information about service namespaces, see Amazon
/// Web Services service namespaces in theĀ Amazon Web Services General Reference.
///
///
[AWSProperty(Min=1, Max=64)]
public string ServiceNamespace
{
get { return this._serviceNamespace; }
set { this._serviceNamespace = value; }
}
// Check to see if ServiceNamespace property is set
internal bool IsSetServiceNamespace()
{
return this._serviceNamespace != null;
}
}
}