/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for response returned by GetUpgradeStatus
* operation. See Also:
AWS
* API Reference
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does * through:
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does * through:
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does * through:
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does * through:
Represents one of 3 steps that an Upgrade or Upgrade Eligibility Check does * through:
One of 4 statuses that a step can go through returned as part of the
* GetUpgradeStatusResponse
object. The status can take one of the
* following values:
One of 4 statuses that a step can go through returned as part of the
* GetUpgradeStatusResponse
object. The status can take one of the
* following values:
One of 4 statuses that a step can go through returned as part of the
* GetUpgradeStatusResponse
object. The status can take one of the
* following values:
One of 4 statuses that a step can go through returned as part of the
* GetUpgradeStatusResponse
object. The status can take one of the
* following values:
One of 4 statuses that a step can go through returned as part of the
* GetUpgradeStatusResponse
object. The status can take one of the
* following values:
A string that describes the update briefly
*/ inline const Aws::String& GetUpgradeName() const{ return m_upgradeName; } /** *A string that describes the update briefly
*/ inline void SetUpgradeName(const Aws::String& value) { m_upgradeName = value; } /** *A string that describes the update briefly
*/ inline void SetUpgradeName(Aws::String&& value) { m_upgradeName = std::move(value); } /** *A string that describes the update briefly
*/ inline void SetUpgradeName(const char* value) { m_upgradeName.assign(value); } /** *A string that describes the update briefly
*/ inline GetUpgradeStatusResult& WithUpgradeName(const Aws::String& value) { SetUpgradeName(value); return *this;} /** *A string that describes the update briefly
*/ inline GetUpgradeStatusResult& WithUpgradeName(Aws::String&& value) { SetUpgradeName(std::move(value)); return *this;} /** *A string that describes the update briefly
*/ inline GetUpgradeStatusResult& WithUpgradeName(const char* value) { SetUpgradeName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetUpgradeStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetUpgradeStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetUpgradeStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: UpgradeStep m_upgradeStep; UpgradeStatus m_stepStatus; Aws::String m_upgradeName; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws