/* * 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 cloudsearch-2013-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.CloudSearch.Model { /// /// The current status of the search domain. /// public partial class DomainStatus { private string _arn; private bool? _created; private bool? _deleted; private ServiceEndpoint _docService; private string _domainId; private string _domainName; private Limits _limits; private bool? _processing; private bool? _requiresIndexDocuments; private int? _searchInstanceCount; private string _searchInstanceType; private int? _searchPartitionCount; private ServiceEndpoint _searchService; /// /// Gets and sets the property ARN. /// public string ARN { get { return this._arn; } set { this._arn = value; } } // Check to see if ARN property is set internal bool IsSetARN() { return this._arn != null; } /// /// Gets and sets the property Created. /// /// True if the search domain is created. It can take several minutes to initialize a /// domain when CreateDomain is called. Newly created search domains are returned /// from DescribeDomains with a false value for Created until domain creation is /// complete. /// /// public bool Created { get { return this._created.GetValueOrDefault(); } set { this._created = value; } } // Check to see if Created property is set internal bool IsSetCreated() { return this._created.HasValue; } /// /// Gets and sets the property Deleted. /// /// True if the search domain has been deleted. The system must clean up resources dedicated /// to the search domain when DeleteDomain is called. Newly deleted search domains /// are returned from DescribeDomains with a true value for IsDeleted for several /// minutes until resource cleanup is complete. /// /// public bool Deleted { get { return this._deleted.GetValueOrDefault(); } set { this._deleted = value; } } // Check to see if Deleted property is set internal bool IsSetDeleted() { return this._deleted.HasValue; } /// /// Gets and sets the property DocService. /// /// The service endpoint for updating documents in a search domain. /// /// public ServiceEndpoint DocService { get { return this._docService; } set { this._docService = value; } } // Check to see if DocService property is set internal bool IsSetDocService() { return this._docService != null; } /// /// Gets and sets the property DomainId. /// [AWSProperty(Required=true, Min=1, Max=64)] public string DomainId { get { return this._domainId; } set { this._domainId = value; } } // Check to see if DomainId property is set internal bool IsSetDomainId() { return this._domainId != null; } /// /// Gets and sets the property DomainName. /// [AWSProperty(Required=true, Min=3, Max=28)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// /// Gets and sets the property Limits. /// public Limits Limits { get { return this._limits; } set { this._limits = value; } } // Check to see if Limits property is set internal bool IsSetLimits() { return this._limits != null; } /// /// Gets and sets the property Processing. /// /// True if processing is being done to activate the current domain configuration. /// /// public bool Processing { get { return this._processing.GetValueOrDefault(); } set { this._processing = value; } } // Check to see if Processing property is set internal bool IsSetProcessing() { return this._processing.HasValue; } /// /// Gets and sets the property RequiresIndexDocuments. /// /// True if IndexDocuments needs to be called to activate the current domain configuration. /// /// [AWSProperty(Required=true)] public bool RequiresIndexDocuments { get { return this._requiresIndexDocuments.GetValueOrDefault(); } set { this._requiresIndexDocuments = value; } } // Check to see if RequiresIndexDocuments property is set internal bool IsSetRequiresIndexDocuments() { return this._requiresIndexDocuments.HasValue; } /// /// Gets and sets the property SearchInstanceCount. /// /// The number of search instances that are available to process search requests. /// /// [AWSProperty(Min=1)] public int SearchInstanceCount { get { return this._searchInstanceCount.GetValueOrDefault(); } set { this._searchInstanceCount = value; } } // Check to see if SearchInstanceCount property is set internal bool IsSetSearchInstanceCount() { return this._searchInstanceCount.HasValue; } /// /// Gets and sets the property SearchInstanceType. /// /// The instance type that is being used to process search requests. /// /// public string SearchInstanceType { get { return this._searchInstanceType; } set { this._searchInstanceType = value; } } // Check to see if SearchInstanceType property is set internal bool IsSetSearchInstanceType() { return this._searchInstanceType != null; } /// /// Gets and sets the property SearchPartitionCount. /// /// The number of partitions across which the search index is spread. /// /// [AWSProperty(Min=1)] public int SearchPartitionCount { get { return this._searchPartitionCount.GetValueOrDefault(); } set { this._searchPartitionCount = value; } } // Check to see if SearchPartitionCount property is set internal bool IsSetSearchPartitionCount() { return this._searchPartitionCount.HasValue; } /// /// Gets and sets the property SearchService. /// /// The service endpoint for requesting search results from a search domain. /// /// public ServiceEndpoint SearchService { get { return this._searchService; } set { this._searchService = value; } } // Check to see if SearchService property is set internal bool IsSetSearchService() { return this._searchService != null; } } }