/* * 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 backup-2018-11-15.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.Backup.Model { /// /// This is the response object from the DescribeFramework operation. /// public partial class DescribeFrameworkResponse : AmazonWebServiceResponse { private DateTime? _creationTime; private string _deploymentStatus; private string _frameworkArn; private List _frameworkControls = new List(); private string _frameworkDescription; private string _frameworkName; private string _frameworkStatus; private string _idempotencyToken; /// /// Gets and sets the property CreationTime. /// /// The date and time that a framework is created, in ISO 8601 representation. The value /// of CreationTime is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 /// represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC. /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property DeploymentStatus. /// /// The deployment status of a framework. The statuses are: /// /// /// /// CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | /// FAILED /// /// public string DeploymentStatus { get { return this._deploymentStatus; } set { this._deploymentStatus = value; } } // Check to see if DeploymentStatus property is set internal bool IsSetDeploymentStatus() { return this._deploymentStatus != null; } /// /// Gets and sets the property FrameworkArn. /// /// An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the /// ARN depends on the resource type. /// /// public string FrameworkArn { get { return this._frameworkArn; } set { this._frameworkArn = value; } } // Check to see if FrameworkArn property is set internal bool IsSetFrameworkArn() { return this._frameworkArn != null; } /// /// Gets and sets the property FrameworkControls. /// /// A list of the controls that make up the framework. Each control in the list has a /// name, input parameters, and scope. /// /// public List FrameworkControls { get { return this._frameworkControls; } set { this._frameworkControls = value; } } // Check to see if FrameworkControls property is set internal bool IsSetFrameworkControls() { return this._frameworkControls != null && this._frameworkControls.Count > 0; } /// /// Gets and sets the property FrameworkDescription. /// /// An optional description of the framework. /// /// [AWSProperty(Min=0, Max=1024)] public string FrameworkDescription { get { return this._frameworkDescription; } set { this._frameworkDescription = value; } } // Check to see if FrameworkDescription property is set internal bool IsSetFrameworkDescription() { return this._frameworkDescription != null; } /// /// Gets and sets the property FrameworkName. /// /// The unique name of a framework. /// /// [AWSProperty(Min=1, Max=256)] public string FrameworkName { get { return this._frameworkName; } set { this._frameworkName = value; } } // Check to see if FrameworkName property is set internal bool IsSetFrameworkName() { return this._frameworkName != null; } /// /// Gets and sets the property FrameworkStatus. /// /// A framework consists of one or more controls. Each control governs a resource, such /// as backup plans, backup selections, backup vaults, or recovery points. You can also /// turn Config recording on or off for each resource. The statuses are: /// ///
  • /// /// ACTIVE when recording is turned on for all resources governed by the /// framework. /// ///
  • /// /// PARTIALLY_ACTIVE when recording is turned off for at least one resource /// governed by the framework. /// ///
  • /// /// INACTIVE when recording is turned off for all resources governed by /// the framework. /// ///
  • /// /// UNAVAILABLE when Backup is unable to validate recording status at this /// time. /// ///
///
public string FrameworkStatus { get { return this._frameworkStatus; } set { this._frameworkStatus = value; } } // Check to see if FrameworkStatus property is set internal bool IsSetFrameworkStatus() { return this._frameworkStatus != null; } /// /// Gets and sets the property IdempotencyToken. /// /// A customer-chosen string that you can use to distinguish between otherwise identical /// calls to DescribeFrameworkOutput. Retrying a successful request with /// the same idempotency token results in a success message with no action taken. /// /// public string IdempotencyToken { get { return this._idempotencyToken; } set { this._idempotencyToken = value; } } // Check to see if IdempotencyToken property is set internal bool IsSetIdempotencyToken() { return this._idempotencyToken != null; } } }