/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The current status of the search domain.See Also:
AWS
* API Reference
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.
*/ inline bool GetCreated() const{ return m_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.
*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *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.
*/ inline void SetCreated(bool value) { m_createdHasBeenSet = true; m_created = value; } /** *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.
*/ inline DomainStatus& WithCreated(bool value) { SetCreated(value); return *this;} /** *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.
*/ inline bool GetDeleted() const{ return m_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.
*/ inline bool DeletedHasBeenSet() const { return m_deletedHasBeenSet; } /** *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.
*/ inline void SetDeleted(bool value) { m_deletedHasBeenSet = true; m_deleted = value; } /** *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.
*/ inline DomainStatus& WithDeleted(bool value) { SetDeleted(value); return *this;} /** *The service endpoint for updating documents in a search domain.
*/ inline const ServiceEndpoint& GetDocService() const{ return m_docService; } /** *The service endpoint for updating documents in a search domain.
*/ inline bool DocServiceHasBeenSet() const { return m_docServiceHasBeenSet; } /** *The service endpoint for updating documents in a search domain.
*/ inline void SetDocService(const ServiceEndpoint& value) { m_docServiceHasBeenSet = true; m_docService = value; } /** *The service endpoint for updating documents in a search domain.
*/ inline void SetDocService(ServiceEndpoint&& value) { m_docServiceHasBeenSet = true; m_docService = std::move(value); } /** *The service endpoint for updating documents in a search domain.
*/ inline DomainStatus& WithDocService(const ServiceEndpoint& value) { SetDocService(value); return *this;} /** *The service endpoint for updating documents in a search domain.
*/ inline DomainStatus& WithDocService(ServiceEndpoint&& value) { SetDocService(std::move(value)); return *this;} /** *The service endpoint for requesting search results from a search domain.
*/ inline const ServiceEndpoint& GetSearchService() const{ return m_searchService; } /** *The service endpoint for requesting search results from a search domain.
*/ inline bool SearchServiceHasBeenSet() const { return m_searchServiceHasBeenSet; } /** *The service endpoint for requesting search results from a search domain.
*/ inline void SetSearchService(const ServiceEndpoint& value) { m_searchServiceHasBeenSet = true; m_searchService = value; } /** *The service endpoint for requesting search results from a search domain.
*/ inline void SetSearchService(ServiceEndpoint&& value) { m_searchServiceHasBeenSet = true; m_searchService = std::move(value); } /** *The service endpoint for requesting search results from a search domain.
*/ inline DomainStatus& WithSearchService(const ServiceEndpoint& value) { SetSearchService(value); return *this;} /** *The service endpoint for requesting search results from a search domain.
*/ inline DomainStatus& WithSearchService(ServiceEndpoint&& value) { SetSearchService(std::move(value)); return *this;} /** *True if IndexDocuments needs to be called to activate the current * domain configuration.
*/ inline bool GetRequiresIndexDocuments() const{ return m_requiresIndexDocuments; } /** *True if IndexDocuments needs to be called to activate the current * domain configuration.
*/ inline bool RequiresIndexDocumentsHasBeenSet() const { return m_requiresIndexDocumentsHasBeenSet; } /** *True if IndexDocuments needs to be called to activate the current * domain configuration.
*/ inline void SetRequiresIndexDocuments(bool value) { m_requiresIndexDocumentsHasBeenSet = true; m_requiresIndexDocuments = value; } /** *True if IndexDocuments needs to be called to activate the current * domain configuration.
*/ inline DomainStatus& WithRequiresIndexDocuments(bool value) { SetRequiresIndexDocuments(value); return *this;} /** *True if processing is being done to activate the current domain * configuration.
*/ inline bool GetProcessing() const{ return m_processing; } /** *True if processing is being done to activate the current domain * configuration.
*/ inline bool ProcessingHasBeenSet() const { return m_processingHasBeenSet; } /** *True if processing is being done to activate the current domain * configuration.
*/ inline void SetProcessing(bool value) { m_processingHasBeenSet = true; m_processing = value; } /** *True if processing is being done to activate the current domain * configuration.
*/ inline DomainStatus& WithProcessing(bool value) { SetProcessing(value); return *this;} /** *The instance type that is being used to process search requests.
*/ inline const Aws::String& GetSearchInstanceType() const{ return m_searchInstanceType; } /** *The instance type that is being used to process search requests.
*/ inline bool SearchInstanceTypeHasBeenSet() const { return m_searchInstanceTypeHasBeenSet; } /** *The instance type that is being used to process search requests.
*/ inline void SetSearchInstanceType(const Aws::String& value) { m_searchInstanceTypeHasBeenSet = true; m_searchInstanceType = value; } /** *The instance type that is being used to process search requests.
*/ inline void SetSearchInstanceType(Aws::String&& value) { m_searchInstanceTypeHasBeenSet = true; m_searchInstanceType = std::move(value); } /** *The instance type that is being used to process search requests.
*/ inline void SetSearchInstanceType(const char* value) { m_searchInstanceTypeHasBeenSet = true; m_searchInstanceType.assign(value); } /** *The instance type that is being used to process search requests.
*/ inline DomainStatus& WithSearchInstanceType(const Aws::String& value) { SetSearchInstanceType(value); return *this;} /** *The instance type that is being used to process search requests.
*/ inline DomainStatus& WithSearchInstanceType(Aws::String&& value) { SetSearchInstanceType(std::move(value)); return *this;} /** *The instance type that is being used to process search requests.
*/ inline DomainStatus& WithSearchInstanceType(const char* value) { SetSearchInstanceType(value); return *this;} /** *The number of partitions across which the search index is spread.
*/ inline int GetSearchPartitionCount() const{ return m_searchPartitionCount; } /** *The number of partitions across which the search index is spread.
*/ inline bool SearchPartitionCountHasBeenSet() const { return m_searchPartitionCountHasBeenSet; } /** *The number of partitions across which the search index is spread.
*/ inline void SetSearchPartitionCount(int value) { m_searchPartitionCountHasBeenSet = true; m_searchPartitionCount = value; } /** *The number of partitions across which the search index is spread.
*/ inline DomainStatus& WithSearchPartitionCount(int value) { SetSearchPartitionCount(value); return *this;} /** *The number of search instances that are available to process search * requests.
*/ inline int GetSearchInstanceCount() const{ return m_searchInstanceCount; } /** *The number of search instances that are available to process search * requests.
*/ inline bool SearchInstanceCountHasBeenSet() const { return m_searchInstanceCountHasBeenSet; } /** *The number of search instances that are available to process search * requests.
*/ inline void SetSearchInstanceCount(int value) { m_searchInstanceCountHasBeenSet = true; m_searchInstanceCount = value; } /** *The number of search instances that are available to process search * requests.
*/ inline DomainStatus& WithSearchInstanceCount(int value) { SetSearchInstanceCount(value); return *this;} inline const Limits& GetLimits() const{ return m_limits; } inline bool LimitsHasBeenSet() const { return m_limitsHasBeenSet; } inline void SetLimits(const Limits& value) { m_limitsHasBeenSet = true; m_limits = value; } inline void SetLimits(Limits&& value) { m_limitsHasBeenSet = true; m_limits = std::move(value); } inline DomainStatus& WithLimits(const Limits& value) { SetLimits(value); return *this;} inline DomainStatus& WithLimits(Limits&& value) { SetLimits(std::move(value)); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_aRN; bool m_aRNHasBeenSet = false; bool m_created; bool m_createdHasBeenSet = false; bool m_deleted; bool m_deletedHasBeenSet = false; ServiceEndpoint m_docService; bool m_docServiceHasBeenSet = false; ServiceEndpoint m_searchService; bool m_searchServiceHasBeenSet = false; bool m_requiresIndexDocuments; bool m_requiresIndexDocumentsHasBeenSet = false; bool m_processing; bool m_processingHasBeenSet = false; Aws::String m_searchInstanceType; bool m_searchInstanceTypeHasBeenSet = false; int m_searchPartitionCount; bool m_searchPartitionCountHasBeenSet = false; int m_searchInstanceCount; bool m_searchInstanceCountHasBeenSet = false; Limits m_limits; bool m_limitsHasBeenSet = false; }; } // namespace Model } // namespace CloudSearch } // namespace Aws