/* * 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 resiliencehub-2020-04-30.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.ResilienceHub.Model { /// <summary> /// Defines a standard operating procedure (SOP) recommendation. /// </summary> public partial class SopRecommendation { private string _appComponentName; private string _description; private List<RecommendationItem> _items = new List<RecommendationItem>(); private string _name; private string _prerequisite; private string _recommendationId; private string _referenceId; private SopServiceType _serviceType; /// <summary> /// Gets and sets the property AppComponentName. /// <para> /// The name of the Application Component. /// </para> /// </summary> public string AppComponentName { get { return this._appComponentName; } set { this._appComponentName = value; } } // Check to see if AppComponentName property is set internal bool IsSetAppComponentName() { return this._appComponentName != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the SOP recommendation. /// </para> /// </summary> [AWSProperty(Min=1, Max=500)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Items. /// <para> /// The recommendation items. /// </para> /// </summary> public List<RecommendationItem> Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the SOP recommendation. /// </para> /// </summary> [AWSProperty(Min=1, Max=500)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Prerequisite. /// <para> /// The prerequisite for the SOP recommendation. /// </para> /// </summary> [AWSProperty(Min=1, Max=500)] public string Prerequisite { get { return this._prerequisite; } set { this._prerequisite = value; } } // Check to see if Prerequisite property is set internal bool IsSetPrerequisite() { return this._prerequisite != null; } /// <summary> /// Gets and sets the property RecommendationId. /// <para> /// Identifier for the SOP recommendation. /// </para> /// </summary> [AWSProperty(Required=true)] public string RecommendationId { get { return this._recommendationId; } set { this._recommendationId = value; } } // Check to see if RecommendationId property is set internal bool IsSetRecommendationId() { return this._recommendationId != null; } /// <summary> /// Gets and sets the property ReferenceId. /// <para> /// The reference identifier for the SOP recommendation. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=500)] public string ReferenceId { get { return this._referenceId; } set { this._referenceId = value; } } // Check to see if ReferenceId property is set internal bool IsSetReferenceId() { return this._referenceId != null; } /// <summary> /// Gets and sets the property ServiceType. /// <para> /// The service type. /// </para> /// </summary> [AWSProperty(Required=true)] public SopServiceType ServiceType { get { return this._serviceType; } set { this._serviceType = value; } } // Check to see if ServiceType property is set internal bool IsSetServiceType() { return this._serviceType != null; } } }