7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/DeploymentStatus.h>
10#include <aws/core/utils/DateTime.h>
23namespace OpenSearchService
53 inline void SetCurrentVersion(
const char* value) { m_currentVersionHasBeenSet =
true; m_currentVersion.assign(value); }
67 inline void SetNewVersion(
const char* value) { m_newVersionHasBeenSet =
true; m_newVersion.assign(value); }
80 inline void SetUpdateAvailable(
bool value) { m_updateAvailableHasBeenSet =
true; m_updateAvailable = value; }
91 inline void SetCancellable(
bool value) { m_cancellableHasBeenSet =
true; m_cancellable = value; }
115 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
142 inline void SetOptionalDeployment(
bool value) { m_optionalDeploymentHasBeenSet =
true; m_optionalDeployment = value; }
148 bool m_currentVersionHasBeenSet =
false;
151 bool m_newVersionHasBeenSet =
false;
153 bool m_updateAvailable;
154 bool m_updateAvailableHasBeenSet =
false;
157 bool m_cancellableHasBeenSet =
false;
160 bool m_updateStatusHasBeenSet =
false;
163 bool m_descriptionHasBeenSet =
false;
166 bool m_automatedUpdateDateHasBeenSet =
false;
168 bool m_optionalDeployment;
169 bool m_optionalDeploymentHasBeenSet =
false;
bool CurrentVersionHasBeenSet() const
void SetOptionalDeployment(bool value)
ServiceSoftwareOptions & WithCurrentVersion(const Aws::String &value)
void SetCurrentVersion(const char *value)
bool GetCancellable() const
bool GetOptionalDeployment() const
bool DescriptionHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ServiceSoftwareOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetUpdateAvailable() const
ServiceSoftwareOptions & WithUpdateStatus(const DeploymentStatus &value)
void SetUpdateStatus(const DeploymentStatus &value)
void SetAutomatedUpdateDate(const Aws::Utils::DateTime &value)
ServiceSoftwareOptions & WithCancellable(bool value)
void SetCurrentVersion(Aws::String &&value)
void SetDescription(Aws::String &&value)
ServiceSoftwareOptions & WithNewVersion(const Aws::String &value)
void SetAutomatedUpdateDate(Aws::Utils::DateTime &&value)
ServiceSoftwareOptions & WithDescription(const Aws::String &value)
ServiceSoftwareOptions & WithDescription(const char *value)
void SetNewVersion(Aws::String &&value)
void SetCurrentVersion(const Aws::String &value)
void SetDescription(const char *value)
void SetDescription(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCancellable(bool value)
bool OptionalDeploymentHasBeenSet() const
bool NewVersionHasBeenSet() const
bool UpdateStatusHasBeenSet() const
ServiceSoftwareOptions & WithAutomatedUpdateDate(const Aws::Utils::DateTime &value)
ServiceSoftwareOptions & WithDescription(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API ServiceSoftwareOptions()
ServiceSoftwareOptions & WithCurrentVersion(const char *value)
const Aws::String & GetNewVersion() const
ServiceSoftwareOptions & WithUpdateAvailable(bool value)
void SetNewVersion(const Aws::String &value)
ServiceSoftwareOptions & WithNewVersion(const char *value)
const Aws::String & GetCurrentVersion() const
const Aws::String & GetDescription() const
bool UpdateAvailableHasBeenSet() const
void SetNewVersion(const char *value)
bool AutomatedUpdateDateHasBeenSet() const
ServiceSoftwareOptions & WithAutomatedUpdateDate(Aws::Utils::DateTime &&value)
ServiceSoftwareOptions & WithCurrentVersion(Aws::String &&value)
const Aws::Utils::DateTime & GetAutomatedUpdateDate() const
void SetUpdateStatus(DeploymentStatus &&value)
ServiceSoftwareOptions & WithNewVersion(Aws::String &&value)
const DeploymentStatus & GetUpdateStatus() const
ServiceSoftwareOptions & WithUpdateStatus(DeploymentStatus &&value)
bool CancellableHasBeenSet() const
void SetUpdateAvailable(bool value)
ServiceSoftwareOptions & WithOptionalDeployment(bool value)
AWS_OPENSEARCHSERVICE_API ServiceSoftwareOptions(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue