/* * 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 { /// /// Status details of a conformance pack. /// public partial class ConformancePackStatusDetail { private string _conformancePackArn; private string _conformancePackId; private string _conformancePackName; private ConformancePackState _conformancePackState; private string _conformancePackStatusReason; private DateTime? _lastUpdateCompletedTime; private DateTime? _lastUpdateRequestedTime; private string _stackArn; /// /// Gets and sets the property ConformancePackArn. /// /// Amazon Resource Name (ARN) of comformance pack. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string ConformancePackArn { get { return this._conformancePackArn; } set { this._conformancePackArn = value; } } // Check to see if ConformancePackArn property is set internal bool IsSetConformancePackArn() { return this._conformancePackArn != null; } /// /// Gets and sets the property ConformancePackId. /// /// ID of the conformance pack. /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string ConformancePackId { get { return this._conformancePackId; } set { this._conformancePackId = value; } } // Check to see if ConformancePackId property is set internal bool IsSetConformancePackId() { return this._conformancePackId != null; } /// /// Gets and sets the property ConformancePackName. /// /// Name of the conformance pack. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string ConformancePackName { get { return this._conformancePackName; } set { this._conformancePackName = value; } } // Check to see if ConformancePackName property is set internal bool IsSetConformancePackName() { return this._conformancePackName != null; } /// /// Gets and sets the property ConformancePackState. /// /// Indicates deployment status of conformance pack. /// /// /// /// Config sets the state of the conformance pack to: /// /// /// [AWSProperty(Required=true)] public ConformancePackState ConformancePackState { get { return this._conformancePackState; } set { this._conformancePackState = value; } } // Check to see if ConformancePackState property is set internal bool IsSetConformancePackState() { return this._conformancePackState != null; } /// /// Gets and sets the property ConformancePackStatusReason. /// /// The reason of conformance pack creation failure. /// /// [AWSProperty(Min=0, Max=2000)] public string ConformancePackStatusReason { get { return this._conformancePackStatusReason; } set { this._conformancePackStatusReason = value; } } // Check to see if ConformancePackStatusReason property is set internal bool IsSetConformancePackStatusReason() { return this._conformancePackStatusReason != null; } /// /// Gets and sets the property LastUpdateCompletedTime. /// /// Last time when conformation pack creation and update was successful. /// /// public DateTime LastUpdateCompletedTime { get { return this._lastUpdateCompletedTime.GetValueOrDefault(); } set { this._lastUpdateCompletedTime = value; } } // Check to see if LastUpdateCompletedTime property is set internal bool IsSetLastUpdateCompletedTime() { return this._lastUpdateCompletedTime.HasValue; } /// /// Gets and sets the property LastUpdateRequestedTime. /// /// Last time when conformation pack creation and update was requested. /// /// [AWSProperty(Required=true)] public DateTime LastUpdateRequestedTime { get { return this._lastUpdateRequestedTime.GetValueOrDefault(); } set { this._lastUpdateRequestedTime = value; } } // Check to see if LastUpdateRequestedTime property is set internal bool IsSetLastUpdateRequestedTime() { return this._lastUpdateRequestedTime.HasValue; } /// /// Gets and sets the property StackArn. /// /// Amazon Resource Name (ARN) of CloudFormation stack. /// /// [AWSProperty(Required=true, Min=1, Max=2048)] public string StackArn { get { return this._stackArn; } set { this._stackArn = value; } } // Check to see if StackArn property is set internal bool IsSetStackArn() { return this._stackArn != null; } } }