/* * 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 { /// /// Returns the status for an organization conformance pack in an organization. /// public partial class OrganizationConformancePackStatus { private string _errorCode; private string _errorMessage; private DateTime? _lastUpdateTime; private string _organizationConformancePackName; private OrganizationResourceStatus _status; /// /// Gets and sets the property ErrorCode. /// /// An error code that is returned when organization conformance pack creation or deletion /// has failed in a member account. /// /// public string ErrorCode { get { return this._errorCode; } set { this._errorCode = value; } } // Check to see if ErrorCode property is set internal bool IsSetErrorCode() { return this._errorCode != null; } /// /// Gets and sets the property ErrorMessage. /// /// An error message indicating that organization conformance pack creation or deletion /// failed due to an error. /// /// public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// /// Gets and sets the property LastUpdateTime. /// /// The timestamp of the last update. /// /// 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 OrganizationConformancePackName. /// /// The name that you assign to 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; } /// /// Gets and sets the property Status. /// /// Indicates deployment status of an organization conformance pack. When management account /// calls PutOrganizationConformancePack for the first time, conformance pack status is /// created in all the member accounts. When management account calls PutOrganizationConformancePack /// for the second time, conformance pack status is updated in all the member accounts. /// Additionally, conformance pack status is updated when one or more member accounts /// join or leave an organization. Conformance pack status is deleted when the management /// account deletes OrganizationConformancePack in all the member accounts and disables /// service access for config-multiaccountsetup.amazonaws.com. /// /// /// /// Config sets the state of the conformance pack to: /// /// /// [AWSProperty(Required=true)] public OrganizationResourceStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }