/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for the request parameters to the UpgradeDomain
* operation.See Also:
AWS
* API Reference
Name of the OpenSearch Service domain that you want to upgrade.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *Name of the OpenSearch Service domain that you want to upgrade.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *Name of the OpenSearch Service domain that you want to upgrade.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *Name of the OpenSearch Service domain that you want to upgrade.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *Name of the OpenSearch Service domain that you want to upgrade.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *Name of the OpenSearch Service domain that you want to upgrade.
*/ inline UpgradeDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *Name of the OpenSearch Service domain that you want to upgrade.
*/ inline UpgradeDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *Name of the OpenSearch Service domain that you want to upgrade.
*/ inline UpgradeDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *OpenSearch or Elasticsearch version to which you want to upgrade, in the * format Opensearch_X.Y or Elasticsearch_X.Y.
*/ inline const Aws::String& GetTargetVersion() const{ return m_targetVersion; } /** *OpenSearch or Elasticsearch version to which you want to upgrade, in the * format Opensearch_X.Y or Elasticsearch_X.Y.
*/ inline bool TargetVersionHasBeenSet() const { return m_targetVersionHasBeenSet; } /** *OpenSearch or Elasticsearch version to which you want to upgrade, in the * format Opensearch_X.Y or Elasticsearch_X.Y.
*/ inline void SetTargetVersion(const Aws::String& value) { m_targetVersionHasBeenSet = true; m_targetVersion = value; } /** *OpenSearch or Elasticsearch version to which you want to upgrade, in the * format Opensearch_X.Y or Elasticsearch_X.Y.
*/ inline void SetTargetVersion(Aws::String&& value) { m_targetVersionHasBeenSet = true; m_targetVersion = std::move(value); } /** *OpenSearch or Elasticsearch version to which you want to upgrade, in the * format Opensearch_X.Y or Elasticsearch_X.Y.
*/ inline void SetTargetVersion(const char* value) { m_targetVersionHasBeenSet = true; m_targetVersion.assign(value); } /** *OpenSearch or Elasticsearch version to which you want to upgrade, in the * format Opensearch_X.Y or Elasticsearch_X.Y.
*/ inline UpgradeDomainRequest& WithTargetVersion(const Aws::String& value) { SetTargetVersion(value); return *this;} /** *OpenSearch or Elasticsearch version to which you want to upgrade, in the * format Opensearch_X.Y or Elasticsearch_X.Y.
*/ inline UpgradeDomainRequest& WithTargetVersion(Aws::String&& value) { SetTargetVersion(std::move(value)); return *this;} /** *OpenSearch or Elasticsearch version to which you want to upgrade, in the * format Opensearch_X.Y or Elasticsearch_X.Y.
*/ inline UpgradeDomainRequest& WithTargetVersion(const char* value) { SetTargetVersion(value); return *this;} /** *When true, indicates that an upgrade eligibility check needs to be performed. * Does not actually perform the upgrade.
*/ inline bool GetPerformCheckOnly() const{ return m_performCheckOnly; } /** *When true, indicates that an upgrade eligibility check needs to be performed. * Does not actually perform the upgrade.
*/ inline bool PerformCheckOnlyHasBeenSet() const { return m_performCheckOnlyHasBeenSet; } /** *When true, indicates that an upgrade eligibility check needs to be performed. * Does not actually perform the upgrade.
*/ inline void SetPerformCheckOnly(bool value) { m_performCheckOnlyHasBeenSet = true; m_performCheckOnly = value; } /** *When true, indicates that an upgrade eligibility check needs to be performed. * Does not actually perform the upgrade.
*/ inline UpgradeDomainRequest& WithPerformCheckOnly(bool value) { SetPerformCheckOnly(value); return *this;} /** *Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.
Only supports the override_main_response_version
parameter and
* not other advanced options. You can only include this option when upgrading to
* an OpenSearch version. Specifies whether the domain reports its version as 7.10
* so that it continues to work with Elasticsearch OSS clients and plugins.