/*
* 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 accessanalyzer-2019-11-01.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.AccessAnalyzer.Model
{
///
/// Contains the text for the generated policy and its details.
///
public partial class GeneratedPolicyResult
{
private List _generatedPolicies = new List();
private GeneratedPolicyProperties _properties;
///
/// Gets and sets the property GeneratedPolicies.
///
/// The text to use as the content for the new policy. The policy is created using the
/// CreatePolicy
/// action.
///
///
public List GeneratedPolicies
{
get { return this._generatedPolicies; }
set { this._generatedPolicies = value; }
}
// Check to see if GeneratedPolicies property is set
internal bool IsSetGeneratedPolicies()
{
return this._generatedPolicies != null && this._generatedPolicies.Count > 0;
}
///
/// Gets and sets the property Properties.
///
/// A GeneratedPolicyProperties
object that contains properties of the generated
/// policy.
///
///
[AWSProperty(Required=true)]
public GeneratedPolicyProperties Properties
{
get { return this._properties; }
set { this._properties = value; }
}
// Check to see if Properties property is set
internal bool IsSetProperties()
{
return this._properties != null;
}
}
}