7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/es/model/UpgradeStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/es/model/UpgradeStepItem.h>
25namespace ElasticsearchService
51 template<
typename UpgradeNameT = Aws::String>
52 void SetUpgradeName(UpgradeNameT&& value) { m_upgradeNameHasBeenSet =
true; m_upgradeName = std::forward<UpgradeNameT>(value); }
53 template<
typename UpgradeNameT = Aws::String>
64 template<
typename StartTimestampT = Aws::Utils::DateTime>
65 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet =
true; m_startTimestamp = std::forward<StartTimestampT>(value); }
66 template<
typename StartTimestampT = Aws::Utils::DateTime>
90 template<
typename StepsListT = Aws::Vector<UpgradeStepItem>>
91 void SetStepsList(StepsListT&& value) { m_stepsListHasBeenSet =
true; m_stepsList = std::forward<StepsListT>(value); }
92 template<
typename StepsListT = Aws::Vector<UpgradeStepItem>>
94 template<
typename StepsListT = UpgradeStepItem>
95 UpgradeHistory&
AddStepsList(StepsListT&& value) { m_stepsListHasBeenSet =
true; m_stepsList.emplace_back(std::forward<StepsListT>(value));
return *
this; }
100 bool m_upgradeNameHasBeenSet =
false;
103 bool m_startTimestampHasBeenSet =
false;
106 bool m_upgradeStatusHasBeenSet =
false;
109 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