/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The current options of an Elasticsearch domain service software
* options.See Also:
AWS
* API Reference
The current service software version that is present on the domain.
*/ inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } /** *The current service software version that is present on the domain.
*/ inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } /** *The current service software version that is present on the domain.
*/ inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } /** *The current service software version that is present on the domain.
*/ inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } /** *The current service software version that is present on the domain.
*/ inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } /** *The current service software version that is present on the domain.
*/ inline ServiceSoftwareOptions& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} /** *The current service software version that is present on the domain.
*/ inline ServiceSoftwareOptions& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} /** *The current service software version that is present on the domain.
*/ inline ServiceSoftwareOptions& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} /** *The new service software version if one is available.
*/ inline const Aws::String& GetNewVersion() const{ return m_newVersion; } /** *The new service software version if one is available.
*/ inline bool NewVersionHasBeenSet() const { return m_newVersionHasBeenSet; } /** *The new service software version if one is available.
*/ inline void SetNewVersion(const Aws::String& value) { m_newVersionHasBeenSet = true; m_newVersion = value; } /** *The new service software version if one is available.
*/ inline void SetNewVersion(Aws::String&& value) { m_newVersionHasBeenSet = true; m_newVersion = std::move(value); } /** *The new service software version if one is available.
*/ inline void SetNewVersion(const char* value) { m_newVersionHasBeenSet = true; m_newVersion.assign(value); } /** *The new service software version if one is available.
*/ inline ServiceSoftwareOptions& WithNewVersion(const Aws::String& value) { SetNewVersion(value); return *this;} /** *The new service software version if one is available.
*/ inline ServiceSoftwareOptions& WithNewVersion(Aws::String&& value) { SetNewVersion(std::move(value)); return *this;} /** *The new service software version if one is available.
*/ inline ServiceSoftwareOptions& WithNewVersion(const char* value) { SetNewVersion(value); return *this;} /** *True if you are able to update you service software version.
* False if you are not able to update your service software version.
*
True if you are able to update you service software version.
* False if you are not able to update your service software version.
*
True if you are able to update you service software version.
* False if you are not able to update your service software version.
*
True if you are able to update you service software version.
* False if you are not able to update your service software version.
*
True if you are able to cancel your service software version
* update. False if you are not able to cancel your service software
* version.
True if you are able to cancel your service software version
* update. False if you are not able to cancel your service software
* version.
True if you are able to cancel your service software version
* update. False if you are not able to cancel your service software
* version.
True if you are able to cancel your service software version
* update. False if you are not able to cancel your service software
* version.
The status of your service software update. This field can take the following
* values: ELIGIBLE, PENDING_UPDATE,
* IN_PROGRESS, COMPLETED, and
* NOT_ELIGIBLE.
The status of your service software update. This field can take the following
* values: ELIGIBLE, PENDING_UPDATE,
* IN_PROGRESS, COMPLETED, and
* NOT_ELIGIBLE.
The status of your service software update. This field can take the following
* values: ELIGIBLE, PENDING_UPDATE,
* IN_PROGRESS, COMPLETED, and
* NOT_ELIGIBLE.
The status of your service software update. This field can take the following
* values: ELIGIBLE, PENDING_UPDATE,
* IN_PROGRESS, COMPLETED, and
* NOT_ELIGIBLE.
The status of your service software update. This field can take the following
* values: ELIGIBLE, PENDING_UPDATE,
* IN_PROGRESS, COMPLETED, and
* NOT_ELIGIBLE.
The status of your service software update. This field can take the following
* values: ELIGIBLE, PENDING_UPDATE,
* IN_PROGRESS, COMPLETED, and
* NOT_ELIGIBLE.
The description of the UpdateStatus.
The description of the UpdateStatus.
The description of the UpdateStatus.
The description of the UpdateStatus.
The description of the UpdateStatus.
The description of the UpdateStatus.
The description of the UpdateStatus.
The description of the UpdateStatus.
Timestamp, in Epoch time, until which you can manually request a service * software update. After this date, we automatically update your service * software.
*/ inline const Aws::Utils::DateTime& GetAutomatedUpdateDate() const{ return m_automatedUpdateDate; } /** *Timestamp, in Epoch time, until which you can manually request a service * software update. After this date, we automatically update your service * software.
*/ inline bool AutomatedUpdateDateHasBeenSet() const { return m_automatedUpdateDateHasBeenSet; } /** *Timestamp, in Epoch time, until which you can manually request a service * software update. After this date, we automatically update your service * software.
*/ inline void SetAutomatedUpdateDate(const Aws::Utils::DateTime& value) { m_automatedUpdateDateHasBeenSet = true; m_automatedUpdateDate = value; } /** *Timestamp, in Epoch time, until which you can manually request a service * software update. After this date, we automatically update your service * software.
*/ inline void SetAutomatedUpdateDate(Aws::Utils::DateTime&& value) { m_automatedUpdateDateHasBeenSet = true; m_automatedUpdateDate = std::move(value); } /** *Timestamp, in Epoch time, until which you can manually request a service * software update. After this date, we automatically update your service * software.
*/ inline ServiceSoftwareOptions& WithAutomatedUpdateDate(const Aws::Utils::DateTime& value) { SetAutomatedUpdateDate(value); return *this;} /** *Timestamp, in Epoch time, until which you can manually request a service * software update. After this date, we automatically update your service * software.
*/ inline ServiceSoftwareOptions& WithAutomatedUpdateDate(Aws::Utils::DateTime&& value) { SetAutomatedUpdateDate(std::move(value)); return *this;} /** *True if a service software is never automatically updated.
* False if a service software is automatically updated after
* AutomatedUpdateDate.
True if a service software is never automatically updated.
* False if a service software is automatically updated after
* AutomatedUpdateDate.
True if a service software is never automatically updated.
* False if a service software is automatically updated after
* AutomatedUpdateDate.
True if a service software is never automatically updated.
* False if a service software is automatically updated after
* AutomatedUpdateDate.