/* * 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 elasticache-2015-02-02.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.ElastiCache.Model { /// /// An update that you can apply to your Redis clusters. /// public partial class ServiceUpdate { private bool? _autoUpdateAfterRecommendedApplyByDate; private string _engine; private string _engineVersion; private string _estimatedUpdateTime; private string _serviceUpdateDescription; private DateTime? _serviceUpdateEndDate; private string _serviceUpdateName; private DateTime? _serviceUpdateRecommendedApplyByDate; private DateTime? _serviceUpdateReleaseDate; private ServiceUpdateSeverity _serviceUpdateSeverity; private ServiceUpdateStatus _serviceUpdateStatus; private ServiceUpdateType _serviceUpdateType; /// /// Gets and sets the property AutoUpdateAfterRecommendedApplyByDate. /// /// Indicates whether the service update will be automatically applied once the recommended /// apply-by date has expired. /// /// public bool AutoUpdateAfterRecommendedApplyByDate { get { return this._autoUpdateAfterRecommendedApplyByDate.GetValueOrDefault(); } set { this._autoUpdateAfterRecommendedApplyByDate = value; } } // Check to see if AutoUpdateAfterRecommendedApplyByDate property is set internal bool IsSetAutoUpdateAfterRecommendedApplyByDate() { return this._autoUpdateAfterRecommendedApplyByDate.HasValue; } /// /// Gets and sets the property Engine. /// /// The Elasticache engine to which the update applies. Either Redis or Memcached /// /// public string Engine { get { return this._engine; } set { this._engine = value; } } // Check to see if Engine property is set internal bool IsSetEngine() { return this._engine != null; } /// /// Gets and sets the property EngineVersion. /// /// The Elasticache engine version to which the update applies. Either Redis or Memcached /// engine version /// /// public string EngineVersion { get { return this._engineVersion; } set { this._engineVersion = value; } } // Check to see if EngineVersion property is set internal bool IsSetEngineVersion() { return this._engineVersion != null; } /// /// Gets and sets the property EstimatedUpdateTime. /// /// The estimated length of time the service update will take /// /// public string EstimatedUpdateTime { get { return this._estimatedUpdateTime; } set { this._estimatedUpdateTime = value; } } // Check to see if EstimatedUpdateTime property is set internal bool IsSetEstimatedUpdateTime() { return this._estimatedUpdateTime != null; } /// /// Gets and sets the property ServiceUpdateDescription. /// /// Provides details of the service update /// /// public string ServiceUpdateDescription { get { return this._serviceUpdateDescription; } set { this._serviceUpdateDescription = value; } } // Check to see if ServiceUpdateDescription property is set internal bool IsSetServiceUpdateDescription() { return this._serviceUpdateDescription != null; } /// /// Gets and sets the property ServiceUpdateEndDate. /// /// The date after which the service update is no longer available /// /// public DateTime ServiceUpdateEndDate { get { return this._serviceUpdateEndDate.GetValueOrDefault(); } set { this._serviceUpdateEndDate = value; } } // Check to see if ServiceUpdateEndDate property is set internal bool IsSetServiceUpdateEndDate() { return this._serviceUpdateEndDate.HasValue; } /// /// Gets and sets the property ServiceUpdateName. /// /// The unique ID of the service update /// /// public string ServiceUpdateName { get { return this._serviceUpdateName; } set { this._serviceUpdateName = value; } } // Check to see if ServiceUpdateName property is set internal bool IsSetServiceUpdateName() { return this._serviceUpdateName != null; } /// /// Gets and sets the property ServiceUpdateRecommendedApplyByDate. /// /// The recommendend date to apply the service update in order to ensure compliance. For /// information on compliance, see Self-Service /// Security Updates for Compliance. /// /// public DateTime ServiceUpdateRecommendedApplyByDate { get { return this._serviceUpdateRecommendedApplyByDate.GetValueOrDefault(); } set { this._serviceUpdateRecommendedApplyByDate = value; } } // Check to see if ServiceUpdateRecommendedApplyByDate property is set internal bool IsSetServiceUpdateRecommendedApplyByDate() { return this._serviceUpdateRecommendedApplyByDate.HasValue; } /// /// Gets and sets the property ServiceUpdateReleaseDate. /// /// The date when the service update is initially available /// /// public DateTime ServiceUpdateReleaseDate { get { return this._serviceUpdateReleaseDate.GetValueOrDefault(); } set { this._serviceUpdateReleaseDate = value; } } // Check to see if ServiceUpdateReleaseDate property is set internal bool IsSetServiceUpdateReleaseDate() { return this._serviceUpdateReleaseDate.HasValue; } /// /// Gets and sets the property ServiceUpdateSeverity. /// /// The severity of the service update /// /// public ServiceUpdateSeverity ServiceUpdateSeverity { get { return this._serviceUpdateSeverity; } set { this._serviceUpdateSeverity = value; } } // Check to see if ServiceUpdateSeverity property is set internal bool IsSetServiceUpdateSeverity() { return this._serviceUpdateSeverity != null; } /// /// Gets and sets the property ServiceUpdateStatus. /// /// The status of the service update /// /// public ServiceUpdateStatus ServiceUpdateStatus { get { return this._serviceUpdateStatus; } set { this._serviceUpdateStatus = value; } } // Check to see if ServiceUpdateStatus property is set internal bool IsSetServiceUpdateStatus() { return this._serviceUpdateStatus != null; } /// /// Gets and sets the property ServiceUpdateType. /// /// Reflects the nature of the service update /// /// public ServiceUpdateType ServiceUpdateType { get { return this._serviceUpdateType; } set { this._serviceUpdateType = value; } } // Check to see if ServiceUpdateType property is set internal bool IsSetServiceUpdateType() { return this._serviceUpdateType != null; } } }