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
53 inline void SetUpgradeName(
const char* value) { m_upgradeNameHasBeenSet =
true; m_upgradeName.assign(value); }
103 bool m_upgradeNameHasBeenSet =
false;
106 bool m_startTimestampHasBeenSet =
false;
109 bool m_upgradeStatusHasBeenSet =
false;
112 bool m_stepsListHasBeenSet =
false;
void SetStepsList(Aws::Vector< UpgradeStepItem > &&value)
UpgradeHistory & WithUpgradeName(Aws::String &&value)
void SetUpgradeName(const Aws::String &value)
UpgradeHistory & WithStartTimestamp(const Aws::Utils::DateTime &value)
UpgradeHistory & AddStepsList(const UpgradeStepItem &value)
const UpgradeStatus & GetUpgradeStatus() const
UpgradeHistory & WithStepsList(const Aws::Vector< UpgradeStepItem > &value)
bool StepsListHasBeenSet() const
AWS_OPENSEARCHSERVICE_API UpgradeHistory(Aws::Utils::Json::JsonView jsonValue)
void SetUpgradeStatus(const UpgradeStatus &value)
AWS_OPENSEARCHSERVICE_API UpgradeHistory()
void SetStartTimestamp(Aws::Utils::DateTime &&value)
UpgradeHistory & WithUpgradeName(const Aws::String &value)
UpgradeHistory & WithStartTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTimestamp() const
const Aws::Vector< UpgradeStepItem > & GetStepsList() const
void SetUpgradeName(const char *value)
UpgradeHistory & WithUpgradeName(const char *value)
UpgradeHistory & WithStepsList(Aws::Vector< UpgradeStepItem > &&value)
void SetUpgradeName(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API UpgradeHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
UpgradeHistory & AddStepsList(UpgradeStepItem &&value)
bool UpgradeNameHasBeenSet() const
void SetStartTimestamp(const Aws::Utils::DateTime &value)
void SetStepsList(const Aws::Vector< UpgradeStepItem > &value)
bool StartTimestampHasBeenSet() const
UpgradeHistory & WithUpgradeStatus(const UpgradeStatus &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool UpgradeStatusHasBeenSet() const
const Aws::String & GetUpgradeName() const
UpgradeHistory & WithUpgradeStatus(UpgradeStatus &&value)
void SetUpgradeStatus(UpgradeStatus &&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