7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/model/DeploymentStatus.h>
10#include <aws/core/utils/DateTime.h>
23namespace ElasticsearchService
51 inline void SetCurrentVersion(
const char* value) { m_currentVersionHasBeenSet =
true; m_currentVersion.assign(value); }
65 inline void SetNewVersion(
const char* value) { m_newVersionHasBeenSet =
true; m_newVersion.assign(value); }
79 inline void SetUpdateAvailable(
bool value) { m_updateAvailableHasBeenSet =
true; m_updateAvailable = value; }
91 inline void SetCancellable(
bool value) { m_cancellableHasBeenSet =
true; m_cancellable = value; }
118 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
146 inline void SetOptionalDeployment(
bool value) { m_optionalDeploymentHasBeenSet =
true; m_optionalDeployment = value; }
152 bool m_currentVersionHasBeenSet =
false;
155 bool m_newVersionHasBeenSet =
false;
157 bool m_updateAvailable;
158 bool m_updateAvailableHasBeenSet =
false;
161 bool m_cancellableHasBeenSet =
false;
164 bool m_updateStatusHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
170 bool m_automatedUpdateDateHasBeenSet =
false;
172 bool m_optionalDeployment;
173 bool m_optionalDeploymentHasBeenSet =
false;
const Aws::Utils::DateTime & GetAutomatedUpdateDate() const
ServiceSoftwareOptions & WithNewVersion(const char *value)
AWS_ELASTICSEARCHSERVICE_API ServiceSoftwareOptions(Aws::Utils::Json::JsonView jsonValue)
void SetCancellable(bool value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceSoftwareOptions & WithUpdateStatus(DeploymentStatus &&value)
AWS_ELASTICSEARCHSERVICE_API ServiceSoftwareOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateAvailable(bool value)
const Aws::String & GetNewVersion() const
void SetAutomatedUpdateDate(Aws::Utils::DateTime &&value)
ServiceSoftwareOptions & WithCurrentVersion(Aws::String &&value)
ServiceSoftwareOptions & WithAutomatedUpdateDate(Aws::Utils::DateTime &&value)
void SetNewVersion(Aws::String &&value)
ServiceSoftwareOptions & WithDescription(const char *value)
bool GetUpdateAvailable() const
ServiceSoftwareOptions & WithNewVersion(const Aws::String &value)
const Aws::String & GetCurrentVersion() const
ServiceSoftwareOptions & WithDescription(Aws::String &&value)
void SetNewVersion(const Aws::String &value)
void SetCurrentVersion(Aws::String &&value)
void SetUpdateStatus(const DeploymentStatus &value)
void SetCurrentVersion(const char *value)
ServiceSoftwareOptions & WithOptionalDeployment(bool value)
void SetAutomatedUpdateDate(const Aws::Utils::DateTime &value)
ServiceSoftwareOptions & WithCurrentVersion(const Aws::String &value)
void SetCurrentVersion(const Aws::String &value)
ServiceSoftwareOptions & WithDescription(const Aws::String &value)
bool CurrentVersionHasBeenSet() const
void SetUpdateStatus(DeploymentStatus &&value)
bool OptionalDeploymentHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
bool GetOptionalDeployment() const
ServiceSoftwareOptions & WithNewVersion(Aws::String &&value)
bool NewVersionHasBeenSet() const
ServiceSoftwareOptions & WithAutomatedUpdateDate(const Aws::Utils::DateTime &value)
ServiceSoftwareOptions & WithCurrentVersion(const char *value)
AWS_ELASTICSEARCHSERVICE_API ServiceSoftwareOptions()
ServiceSoftwareOptions & WithUpdateStatus(const DeploymentStatus &value)
void SetOptionalDeployment(bool value)
bool UpdateStatusHasBeenSet() const
void SetNewVersion(const char *value)
bool GetCancellable() const
bool UpdateAvailableHasBeenSet() const
bool DescriptionHasBeenSet() const
ServiceSoftwareOptions & WithUpdateAvailable(bool value)
bool CancellableHasBeenSet() const
ServiceSoftwareOptions & WithCancellable(bool value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
bool AutomatedUpdateDateHasBeenSet() const
const DeploymentStatus & GetUpdateStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue