7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/es/ElasticsearchService_EXPORTS.h>
11#include <aws/es/model/UpgradeStatus.h>
12#include <aws/es/model/UpgradeStepItem.h>
23namespace ElasticsearchService {
45 template <
typename UpgradeNameT = Aws::String>
47 m_upgradeNameHasBeenSet =
true;
48 m_upgradeName = std::forward<UpgradeNameT>(value);
50 template <
typename UpgradeNameT = Aws::String>
64 template <
typename StartTimestampT = Aws::Utils::DateTime>
66 m_startTimestampHasBeenSet =
true;
67 m_startTimestamp = std::forward<StartTimestampT>(value);
69 template <
typename StartTimestampT = Aws::Utils::DateTime>
85 m_upgradeStatusHasBeenSet =
true;
86 m_upgradeStatus = value;
102 template <
typename StepsListT = Aws::Vector<UpgradeStepItem>>
104 m_stepsListHasBeenSet =
true;
105 m_stepsList = std::forward<StepsListT>(value);
107 template <
typename StepsListT = Aws::Vector<UpgradeStepItem>>
112 template <
typename StepsListT = UpgradeStepItem>
114 m_stepsListHasBeenSet =
true;
115 m_stepsList.emplace_back(std::forward<StepsListT>(value));
127 bool m_upgradeNameHasBeenSet =
false;
128 bool m_startTimestampHasBeenSet =
false;
129 bool m_upgradeStatusHasBeenSet =
false;
130 bool m_stepsListHasBeenSet =
false;
const Aws::Vector< UpgradeStepItem > & GetStepsList() const
const Aws::String & GetUpgradeName() const
void SetStepsList(StepsListT &&value)
UpgradeHistory & WithStepsList(StepsListT &&value)
UpgradeStatus GetUpgradeStatus() const
bool StepsListHasBeenSet() const
void SetUpgradeStatus(UpgradeStatus value)
void SetStartTimestamp(StartTimestampT &&value)
AWS_ELASTICSEARCHSERVICE_API UpgradeHistory(Aws::Utils::Json::JsonView jsonValue)
bool UpgradeStatusHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API UpgradeHistory()=default
AWS_ELASTICSEARCHSERVICE_API UpgradeHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
UpgradeHistory & WithUpgradeStatus(UpgradeStatus value)
bool UpgradeNameHasBeenSet() const
UpgradeHistory & AddStepsList(StepsListT &&value)
bool StartTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetStartTimestamp() const
UpgradeHistory & WithUpgradeName(UpgradeNameT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpgradeName(UpgradeNameT &&value)
UpgradeHistory & WithStartTimestamp(StartTimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue