/* * 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 opensearch-2021-01-01.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.OpenSearchService.Model { /// /// The current status of the service software for an Amazon OpenSearch Service domain. /// For more information, see Service /// software updates in Amazon OpenSearch Service. /// public partial class ServiceSoftwareOptions { private DateTime? _automatedUpdateDate; private bool? _cancellable; private string _currentVersion; private string _description; private string _newVersion; private bool? _optionalDeployment; private bool? _updateAvailable; private DeploymentStatus _updateStatus; /// /// Gets and sets the property AutomatedUpdateDate. /// /// The timestamp, in Epoch time, until which you can manually request a service software /// update. After this date, we automatically update your service software. /// /// public DateTime AutomatedUpdateDate { get { return this._automatedUpdateDate.GetValueOrDefault(); } set { this._automatedUpdateDate = value; } } // Check to see if AutomatedUpdateDate property is set internal bool IsSetAutomatedUpdateDate() { return this._automatedUpdateDate.HasValue; } /// /// Gets and sets the property Cancellable. /// /// True if you're able to cancel your service software version update. False if you /// can't cancel your service software update. /// /// public bool Cancellable { get { return this._cancellable.GetValueOrDefault(); } set { this._cancellable = value; } } // Check to see if Cancellable property is set internal bool IsSetCancellable() { return this._cancellable.HasValue; } /// /// Gets and sets the property CurrentVersion. /// /// The current service software version present on the domain. /// /// public string CurrentVersion { get { return this._currentVersion; } set { this._currentVersion = value; } } // Check to see if CurrentVersion property is set internal bool IsSetCurrentVersion() { return this._currentVersion != null; } /// /// Gets and sets the property Description. /// /// A description of the service software update status. /// /// 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; } /// /// Gets and sets the property NewVersion. /// /// The new service software version, if one is available. /// /// public string NewVersion { get { return this._newVersion; } set { this._newVersion = value; } } // Check to see if NewVersion property is set internal bool IsSetNewVersion() { return this._newVersion != null; } /// /// Gets and sets the property OptionalDeployment. /// /// True if a service software is never automatically updated. False if a service software /// is automatically updated after the automated update date. /// /// public bool OptionalDeployment { get { return this._optionalDeployment.GetValueOrDefault(); } set { this._optionalDeployment = value; } } // Check to see if OptionalDeployment property is set internal bool IsSetOptionalDeployment() { return this._optionalDeployment.HasValue; } /// /// Gets and sets the property UpdateAvailable. /// /// True if you're able to update your service software version. False if you can't update /// your service software version. /// /// public bool UpdateAvailable { get { return this._updateAvailable.GetValueOrDefault(); } set { this._updateAvailable = value; } } // Check to see if UpdateAvailable property is set internal bool IsSetUpdateAvailable() { return this._updateAvailable.HasValue; } /// /// Gets and sets the property UpdateStatus. /// /// The status of your service software update. /// /// public DeploymentStatus UpdateStatus { get { return this._updateStatus; } set { this._updateStatus = value; } } // Check to see if UpdateStatus property is set internal bool IsSetUpdateStatus() { return this._updateStatus != null; } } }