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/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/UpgradeStatus.h>
12#include <aws/opensearch/model/UpgradeStepItem.h>
23namespace OpenSearchService {
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;
101 template <
typename StepsListT = Aws::Vector<UpgradeStepItem>>
103 m_stepsListHasBeenSet =
true;
104 m_stepsList = std::forward<StepsListT>(value);
106 template <
typename StepsListT = Aws::Vector<UpgradeStepItem>>
111 template <
typename StepsListT = UpgradeStepItem>
113 m_stepsListHasBeenSet =
true;
114 m_stepsList.emplace_back(std::forward<StepsListT>(value));
126 bool m_upgradeNameHasBeenSet =
false;
127 bool m_startTimestampHasBeenSet =
false;
128 bool m_upgradeStatusHasBeenSet =
false;
129 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