/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the current status of the entity.See Also:
AWS API
* Reference
Timestamp which tells the creation date for the entity.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *Timestamp which tells the creation date for the entity.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *Timestamp which tells the creation date for the entity.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *Timestamp which tells the creation date for the entity.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *Timestamp which tells the creation date for the entity.
*/ inline OptionStatus& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *Timestamp which tells the creation date for the entity.
*/ inline OptionStatus& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *Timestamp which tells the last updated time for the entity.
*/ inline const Aws::Utils::DateTime& GetUpdateDate() const{ return m_updateDate; } /** *Timestamp which tells the last updated time for the entity.
*/ inline bool UpdateDateHasBeenSet() const { return m_updateDateHasBeenSet; } /** *Timestamp which tells the last updated time for the entity.
*/ inline void SetUpdateDate(const Aws::Utils::DateTime& value) { m_updateDateHasBeenSet = true; m_updateDate = value; } /** *Timestamp which tells the last updated time for the entity.
*/ inline void SetUpdateDate(Aws::Utils::DateTime&& value) { m_updateDateHasBeenSet = true; m_updateDate = std::move(value); } /** *Timestamp which tells the last updated time for the entity.
*/ inline OptionStatus& WithUpdateDate(const Aws::Utils::DateTime& value) { SetUpdateDate(value); return *this;} /** *Timestamp which tells the last updated time for the entity.
*/ inline OptionStatus& WithUpdateDate(Aws::Utils::DateTime&& value) { SetUpdateDate(std::move(value)); return *this;} /** *Specifies the latest version for the entity.
*/ inline int GetUpdateVersion() const{ return m_updateVersion; } /** *Specifies the latest version for the entity.
*/ inline bool UpdateVersionHasBeenSet() const { return m_updateVersionHasBeenSet; } /** *Specifies the latest version for the entity.
*/ inline void SetUpdateVersion(int value) { m_updateVersionHasBeenSet = true; m_updateVersion = value; } /** *Specifies the latest version for the entity.
*/ inline OptionStatus& WithUpdateVersion(int value) { SetUpdateVersion(value); return *this;} /** *Provides the OptionState
for the Elasticsearch domain.
Provides the OptionState
for the Elasticsearch domain.
Provides the OptionState
for the Elasticsearch domain.
Provides the OptionState
for the Elasticsearch domain.
Provides the OptionState
for the Elasticsearch domain.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
*/ inline bool GetPendingDeletion() const{ return m_pendingDeletion; } /** *Indicates whether the Elasticsearch domain is being deleted.
*/ inline bool PendingDeletionHasBeenSet() const { return m_pendingDeletionHasBeenSet; } /** *Indicates whether the Elasticsearch domain is being deleted.
*/ inline void SetPendingDeletion(bool value) { m_pendingDeletionHasBeenSet = true; m_pendingDeletion = value; } /** *Indicates whether the Elasticsearch domain is being deleted.
*/ inline OptionStatus& WithPendingDeletion(bool value) { SetPendingDeletion(value); return *this;} private: Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Utils::DateTime m_updateDate; bool m_updateDateHasBeenSet = false; int m_updateVersion; bool m_updateVersionHasBeenSet = false; OptionState m_state; bool m_stateHasBeenSet = false; bool m_pendingDeletion; bool m_pendingDeletionHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws