/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include History of the last 10 upgrades and upgrade eligibility checks for an Amazon
* OpenSearch Service domain.See Also:
AWS
* API Reference
A string that describes the upgrade.
*/ inline const Aws::String& GetUpgradeName() const{ return m_upgradeName; } /** *A string that describes the upgrade.
*/ inline bool UpgradeNameHasBeenSet() const { return m_upgradeNameHasBeenSet; } /** *A string that describes the upgrade.
*/ inline void SetUpgradeName(const Aws::String& value) { m_upgradeNameHasBeenSet = true; m_upgradeName = value; } /** *A string that describes the upgrade.
*/ inline void SetUpgradeName(Aws::String&& value) { m_upgradeNameHasBeenSet = true; m_upgradeName = std::move(value); } /** *A string that describes the upgrade.
*/ inline void SetUpgradeName(const char* value) { m_upgradeNameHasBeenSet = true; m_upgradeName.assign(value); } /** *A string that describes the upgrade.
*/ inline UpgradeHistory& WithUpgradeName(const Aws::String& value) { SetUpgradeName(value); return *this;} /** *A string that describes the upgrade.
*/ inline UpgradeHistory& WithUpgradeName(Aws::String&& value) { SetUpgradeName(std::move(value)); return *this;} /** *A string that describes the upgrade.
*/ inline UpgradeHistory& WithUpgradeName(const char* value) { SetUpgradeName(value); return *this;} /** *UTC timestamp at which the upgrade API call was made, in the format
* yyyy-MM-ddTHH:mm:ssZ
.
UTC timestamp at which the upgrade API call was made, in the format
* yyyy-MM-ddTHH:mm:ssZ
.
UTC timestamp at which the upgrade API call was made, in the format
* yyyy-MM-ddTHH:mm:ssZ
.
UTC timestamp at which the upgrade API call was made, in the format
* yyyy-MM-ddTHH:mm:ssZ
.
UTC timestamp at which the upgrade API call was made, in the format
* yyyy-MM-ddTHH:mm:ssZ
.
UTC timestamp at which the upgrade API call was made, in the format
* yyyy-MM-ddTHH:mm:ssZ
.
The current status of the upgrade. The status can take one of the following * values:
In Progress
Succeeded
Succeeded with Issues
Failed
The current status of the upgrade. The status can take one of the following * values:
In Progress
Succeeded
Succeeded with Issues
Failed
The current status of the upgrade. The status can take one of the following * values:
In Progress
Succeeded
Succeeded with Issues
Failed
The current status of the upgrade. The status can take one of the following * values:
In Progress
Succeeded
Succeeded with Issues
Failed
The current status of the upgrade. The status can take one of the following * values:
In Progress
Succeeded
Succeeded with Issues
Failed
The current status of the upgrade. The status can take one of the following * values:
In Progress
Succeeded
Succeeded with Issues
Failed
A list of each step performed as part of a specific upgrade or upgrade * eligibility check.
*/ inline const Aws::VectorA list of each step performed as part of a specific upgrade or upgrade * eligibility check.
*/ inline bool StepsListHasBeenSet() const { return m_stepsListHasBeenSet; } /** *A list of each step performed as part of a specific upgrade or upgrade * eligibility check.
*/ inline void SetStepsList(const Aws::VectorA list of each step performed as part of a specific upgrade or upgrade * eligibility check.
*/ inline void SetStepsList(Aws::VectorA list of each step performed as part of a specific upgrade or upgrade * eligibility check.
*/ inline UpgradeHistory& WithStepsList(const Aws::VectorA list of each step performed as part of a specific upgrade or upgrade * eligibility check.
*/ inline UpgradeHistory& WithStepsList(Aws::VectorA list of each step performed as part of a specific upgrade or upgrade * eligibility check.
*/ inline UpgradeHistory& AddStepsList(const UpgradeStepItem& value) { m_stepsListHasBeenSet = true; m_stepsList.push_back(value); return *this; } /** *A list of each step performed as part of a specific upgrade or upgrade * eligibility check.
*/ inline UpgradeHistory& AddStepsList(UpgradeStepItem&& value) { m_stepsListHasBeenSet = true; m_stepsList.push_back(std::move(value)); return *this; } private: Aws::String m_upgradeName; bool m_upgradeNameHasBeenSet = false; Aws::Utils::DateTime m_startTimestamp; bool m_startTimestampHasBeenSet = false; UpgradeStatus m_upgradeStatus; bool m_upgradeStatusHasBeenSet = false; Aws::Vector