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
49 template<
typename CurrentVersionT = Aws::String>
50 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet =
true; m_currentVersion = std::forward<CurrentVersionT>(value); }
51 template<
typename CurrentVersionT = Aws::String>
61 template<
typename NewVersionT = Aws::String>
62 void SetNewVersion(NewVersionT&& value) { m_newVersionHasBeenSet =
true; m_newVersion = std::forward<NewVersionT>(value); }
63 template<
typename NewVersionT = Aws::String>
75 inline void SetUpdateAvailable(
bool value) { m_updateAvailableHasBeenSet =
true; m_updateAvailable = value; }
87 inline void SetCancellable(
bool value) { m_cancellableHasBeenSet =
true; m_cancellable = value; }
110 template<
typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
112 template<
typename DescriptionT = Aws::String>
124 template<
typename AutomatedUpdateDateT = Aws::Utils::DateTime>
125 void SetAutomatedUpdateDate(AutomatedUpdateDateT&& value) { m_automatedUpdateDateHasBeenSet =
true; m_automatedUpdateDate = std::forward<AutomatedUpdateDateT>(value); }
126 template<
typename AutomatedUpdateDateT = Aws::Utils::DateTime>
138 inline void SetOptionalDeployment(
bool value) { m_optionalDeploymentHasBeenSet =
true; m_optionalDeployment = value; }
144 bool m_currentVersionHasBeenSet =
false;
147 bool m_newVersionHasBeenSet =
false;
149 bool m_updateAvailable{
false};
150 bool m_updateAvailableHasBeenSet =
false;
152 bool m_cancellable{
false};
153 bool m_cancellableHasBeenSet =
false;
156 bool m_updateStatusHasBeenSet =
false;
159 bool m_descriptionHasBeenSet =
false;
162 bool m_automatedUpdateDateHasBeenSet =
false;
164 bool m_optionalDeployment{
false};
165 bool m_optionalDeploymentHasBeenSet =
false;
AWS_ELASTICSEARCHSERVICE_API ServiceSoftwareOptions()=default
void SetAutomatedUpdateDate(AutomatedUpdateDateT &&value)
const Aws::Utils::DateTime & GetAutomatedUpdateDate() const
void SetCurrentVersion(CurrentVersionT &&value)
AWS_ELASTICSEARCHSERVICE_API ServiceSoftwareOptions(Aws::Utils::Json::JsonView jsonValue)
void SetCancellable(bool value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API ServiceSoftwareOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateAvailable(bool value)
const Aws::String & GetNewVersion() const
bool GetUpdateAvailable() const
const Aws::String & GetCurrentVersion() const
ServiceSoftwareOptions & WithAutomatedUpdateDate(AutomatedUpdateDateT &&value)
ServiceSoftwareOptions & WithNewVersion(NewVersionT &&value)
ServiceSoftwareOptions & WithOptionalDeployment(bool value)
void SetUpdateStatus(DeploymentStatus value)
bool CurrentVersionHasBeenSet() const
DeploymentStatus GetUpdateStatus() const
bool OptionalDeploymentHasBeenSet() const
bool GetOptionalDeployment() const
bool NewVersionHasBeenSet() const
ServiceSoftwareOptions & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
void SetOptionalDeployment(bool value)
bool UpdateStatusHasBeenSet() const
bool GetCancellable() const
bool UpdateAvailableHasBeenSet() const
bool DescriptionHasBeenSet() const
ServiceSoftwareOptions & WithCurrentVersion(CurrentVersionT &&value)
ServiceSoftwareOptions & WithUpdateAvailable(bool value)
bool CancellableHasBeenSet() const
void SetNewVersion(NewVersionT &&value)
ServiceSoftwareOptions & WithCancellable(bool value)
const Aws::String & GetDescription() const
bool AutomatedUpdateDateHasBeenSet() const
ServiceSoftwareOptions & WithUpdateStatus(DeploymentStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue