7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/ElasticsearchService_EXPORTS.h>
10#include <aws/es/model/DeploymentStatus.h>
21namespace ElasticsearchService {
43 template <
typename CurrentVersionT = Aws::String>
45 m_currentVersionHasBeenSet =
true;
46 m_currentVersion = std::forward<CurrentVersionT>(value);
48 template <
typename CurrentVersionT = Aws::String>
61 template <
typename NewVersionT = Aws::String>
63 m_newVersionHasBeenSet =
true;
64 m_newVersion = std::forward<NewVersionT>(value);
66 template <
typename NewVersionT = Aws::String>
82 m_updateAvailableHasBeenSet =
true;
83 m_updateAvailable = value;
100 m_cancellableHasBeenSet =
true;
101 m_cancellable = value;
119 m_updateStatusHasBeenSet =
true;
120 m_updateStatus = value;
134 template <
typename DescriptionT = Aws::String>
136 m_descriptionHasBeenSet =
true;
137 m_description = std::forward<DescriptionT>(value);
139 template <
typename DescriptionT = Aws::String>
154 template <
typename AutomatedUpdateDateT = Aws::Utils::DateTime>
156 m_automatedUpdateDateHasBeenSet =
true;
157 m_automatedUpdateDate = std::forward<AutomatedUpdateDateT>(value);
159 template <
typename AutomatedUpdateDateT = Aws::Utils::DateTime>
175 m_optionalDeploymentHasBeenSet =
true;
176 m_optionalDeployment = value;
188 bool m_updateAvailable{
false};
190 bool m_cancellable{
false};
198 bool m_optionalDeployment{
false};
199 bool m_currentVersionHasBeenSet =
false;
200 bool m_newVersionHasBeenSet =
false;
201 bool m_updateAvailableHasBeenSet =
false;
202 bool m_cancellableHasBeenSet =
false;
203 bool m_updateStatusHasBeenSet =
false;
204 bool m_descriptionHasBeenSet =
false;
205 bool m_automatedUpdateDateHasBeenSet =
false;
206 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