/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for request parameters to UpgradeElasticsearchDomain
*
operation. See Also:
AWS
* API Reference
The version of Elasticsearch that you intend to upgrade the domain to.
*/ inline const Aws::String& GetTargetVersion() const{ return m_targetVersion; } /** *The version of Elasticsearch that you intend to upgrade the domain to.
*/ inline bool TargetVersionHasBeenSet() const { return m_targetVersionHasBeenSet; } /** *The version of Elasticsearch that you intend to upgrade the domain to.
*/ inline void SetTargetVersion(const Aws::String& value) { m_targetVersionHasBeenSet = true; m_targetVersion = value; } /** *The version of Elasticsearch that you intend to upgrade the domain to.
*/ inline void SetTargetVersion(Aws::String&& value) { m_targetVersionHasBeenSet = true; m_targetVersion = std::move(value); } /** *The version of Elasticsearch that you intend to upgrade the domain to.
*/ inline void SetTargetVersion(const char* value) { m_targetVersionHasBeenSet = true; m_targetVersion.assign(value); } /** *The version of Elasticsearch that you intend to upgrade the domain to.
*/ inline UpgradeElasticsearchDomainRequest& WithTargetVersion(const Aws::String& value) { SetTargetVersion(value); return *this;} /** *The version of Elasticsearch that you intend to upgrade the domain to.
*/ inline UpgradeElasticsearchDomainRequest& WithTargetVersion(Aws::String&& value) { SetTargetVersion(std::move(value)); return *this;} /** *The version of Elasticsearch that you intend to upgrade the domain to.
*/ inline UpgradeElasticsearchDomainRequest& WithTargetVersion(const char* value) { SetTargetVersion(value); return *this;} /** *This flag, when set to True, indicates that an Upgrade Eligibility Check * needs to be performed. This will not actually perform the Upgrade.
*/ inline bool GetPerformCheckOnly() const{ return m_performCheckOnly; } /** *This flag, when set to True, indicates that an Upgrade Eligibility Check * needs to be performed. This will not actually perform the Upgrade.
*/ inline bool PerformCheckOnlyHasBeenSet() const { return m_performCheckOnlyHasBeenSet; } /** *This flag, when set to True, indicates that an Upgrade Eligibility Check * needs to be performed. This will not actually perform the Upgrade.
*/ inline void SetPerformCheckOnly(bool value) { m_performCheckOnlyHasBeenSet = true; m_performCheckOnly = value; } /** *This flag, when set to True, indicates that an Upgrade Eligibility Check * needs to be performed. This will not actually perform the Upgrade.
*/ inline UpgradeElasticsearchDomainRequest& WithPerformCheckOnly(bool value) { SetPerformCheckOnly(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_targetVersion; bool m_targetVersionHasBeenSet = false; bool m_performCheckOnly; bool m_performCheckOnlyHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws