/*
* 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 config-2014-11-12.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.ConfigService.Model
{
///
/// An organization conformance pack that has information about conformance packs that
/// Config creates in member accounts.
///
public partial class OrganizationConformancePack
{
private List _conformancePackInputParameters = new List();
private string _deliveryS3Bucket;
private string _deliveryS3KeyPrefix;
private List _excludedAccounts = new List();
private DateTime? _lastUpdateTime;
private string _organizationConformancePackArn;
private string _organizationConformancePackName;
///
/// Gets and sets the property ConformancePackInputParameters.
///
/// A list of ConformancePackInputParameter
objects.
///
///
[AWSProperty(Min=0, Max=60)]
public List ConformancePackInputParameters
{
get { return this._conformancePackInputParameters; }
set { this._conformancePackInputParameters = value; }
}
// Check to see if ConformancePackInputParameters property is set
internal bool IsSetConformancePackInputParameters()
{
return this._conformancePackInputParameters != null && this._conformancePackInputParameters.Count > 0;
}
///
/// Gets and sets the property DeliveryS3Bucket.
///
/// The name of the Amazon S3 bucket where Config stores conformance pack templates.
///
///
///
/// This field is optional.
///
///
///
[AWSProperty(Min=0, Max=63)]
public string DeliveryS3Bucket
{
get { return this._deliveryS3Bucket; }
set { this._deliveryS3Bucket = value; }
}
// Check to see if DeliveryS3Bucket property is set
internal bool IsSetDeliveryS3Bucket()
{
return this._deliveryS3Bucket != null;
}
///
/// Gets and sets the property DeliveryS3KeyPrefix.
///
/// Any folder structure you want to add to an Amazon S3 bucket.
///
///
///
/// This field is optional.
///
///
///
[AWSProperty(Min=0, Max=1024)]
public string DeliveryS3KeyPrefix
{
get { return this._deliveryS3KeyPrefix; }
set { this._deliveryS3KeyPrefix = value; }
}
// Check to see if DeliveryS3KeyPrefix property is set
internal bool IsSetDeliveryS3KeyPrefix()
{
return this._deliveryS3KeyPrefix != null;
}
///
/// Gets and sets the property ExcludedAccounts.
///
/// A comma-separated list of accounts excluded from organization conformance pack.
///
///
[AWSProperty(Min=0, Max=1000)]
public List ExcludedAccounts
{
get { return this._excludedAccounts; }
set { this._excludedAccounts = value; }
}
// Check to see if ExcludedAccounts property is set
internal bool IsSetExcludedAccounts()
{
return this._excludedAccounts != null && this._excludedAccounts.Count > 0;
}
///
/// Gets and sets the property LastUpdateTime.
///
/// Last time when organization conformation pack was updated.
///
///
[AWSProperty(Required=true)]
public DateTime LastUpdateTime
{
get { return this._lastUpdateTime.GetValueOrDefault(); }
set { this._lastUpdateTime = value; }
}
// Check to see if LastUpdateTime property is set
internal bool IsSetLastUpdateTime()
{
return this._lastUpdateTime.HasValue;
}
///
/// Gets and sets the property OrganizationConformancePackArn.
///
/// Amazon Resource Name (ARN) of organization conformance pack.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string OrganizationConformancePackArn
{
get { return this._organizationConformancePackArn; }
set { this._organizationConformancePackArn = value; }
}
// Check to see if OrganizationConformancePackArn property is set
internal bool IsSetOrganizationConformancePackArn()
{
return this._organizationConformancePackArn != null;
}
///
/// Gets and sets the property OrganizationConformancePackName.
///
/// The name you assign to an organization conformance pack.
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
public string OrganizationConformancePackName
{
get { return this._organizationConformancePackName; }
set { this._organizationConformancePackName = value; }
}
// Check to see if OrganizationConformancePackName property is set
internal bool IsSetOrganizationConformancePackName()
{
return this._organizationConformancePackName != null;
}
}
}