7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/opensearch/model/UpgradeStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/opensearch/model/UpgradeStepItem.h>
25namespace OpenSearchService
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>
89 template<
typename StepsListT = Aws::Vector<UpgradeStepItem>>
90 void SetStepsList(StepsListT&& value) { m_stepsListHasBeenSet =
true; m_stepsList = std::forward<StepsListT>(value); }
91 template<
typename StepsListT = Aws::Vector<UpgradeStepItem>>
93 template<
typename StepsListT = UpgradeStepItem>
94 UpgradeHistory&
AddStepsList(StepsListT&& value) { m_stepsListHasBeenSet =
true; m_stepsList.emplace_back(std::forward<StepsListT>(value));
return *
this; }
99 bool m_upgradeNameHasBeenSet =
false;
102 bool m_startTimestampHasBeenSet =
false;
105 bool m_upgradeStatusHasBeenSet =
false;
108 bool m_stepsListHasBeenSet =
false;
bool StepsListHasBeenSet() const
void SetStepsList(StepsListT &&value)
AWS_OPENSEARCHSERVICE_API UpgradeHistory(Aws::Utils::Json::JsonView jsonValue)
UpgradeHistory & WithUpgradeStatus(UpgradeStatus value)
const Aws::Utils::DateTime & GetStartTimestamp() const
const Aws::Vector< UpgradeStepItem > & GetStepsList() const
UpgradeHistory & AddStepsList(StepsListT &&value)
UpgradeHistory & WithStartTimestamp(StartTimestampT &&value)
AWS_OPENSEARCHSERVICE_API UpgradeHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
UpgradeStatus GetUpgradeStatus() const
UpgradeHistory & WithUpgradeName(UpgradeNameT &&value)
void SetUpgradeName(UpgradeNameT &&value)
void SetStartTimestamp(StartTimestampT &&value)
bool UpgradeNameHasBeenSet() const
void SetUpgradeStatus(UpgradeStatus value)
AWS_OPENSEARCHSERVICE_API UpgradeHistory()=default
bool StartTimestampHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
UpgradeHistory & WithStepsList(StepsListT &&value)
bool UpgradeStatusHasBeenSet() const
const Aws::String & GetUpgradeName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue