7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/DeploymentStatus.h>
21namespace OpenSearchService {
45 template <
typename CurrentVersionT = Aws::String>
47 m_currentVersionHasBeenSet =
true;
48 m_currentVersion = std::forward<CurrentVersionT>(value);
50 template <
typename CurrentVersionT = Aws::String>
63 template <
typename NewVersionT = Aws::String>
65 m_newVersionHasBeenSet =
true;
66 m_newVersion = std::forward<NewVersionT>(value);
68 template <
typename NewVersionT = Aws::String>
83 m_updateAvailableHasBeenSet =
true;
84 m_updateAvailable = value;
100 m_cancellableHasBeenSet =
true;
101 m_cancellable = value;
116 m_updateStatusHasBeenSet =
true;
117 m_updateStatus = value;
131 template <
typename DescriptionT = Aws::String>
133 m_descriptionHasBeenSet =
true;
134 m_description = std::forward<DescriptionT>(value);
136 template <
typename DescriptionT = Aws::String>
151 template <
typename AutomatedUpdateDateT = Aws::Utils::DateTime>
153 m_automatedUpdateDateHasBeenSet =
true;
154 m_automatedUpdateDate = std::forward<AutomatedUpdateDateT>(value);
156 template <
typename AutomatedUpdateDateT = Aws::Utils::DateTime>
171 m_optionalDeploymentHasBeenSet =
true;
172 m_optionalDeployment = value;
184 bool m_updateAvailable{
false};
186 bool m_cancellable{
false};
194 bool m_optionalDeployment{
false};
195 bool m_currentVersionHasBeenSet =
false;
196 bool m_newVersionHasBeenSet =
false;
197 bool m_updateAvailableHasBeenSet =
false;
198 bool m_cancellableHasBeenSet =
false;
199 bool m_updateStatusHasBeenSet =
false;
200 bool m_descriptionHasBeenSet =
false;
201 bool m_automatedUpdateDateHasBeenSet =
false;
202 bool m_optionalDeploymentHasBeenSet =
false;
bool CurrentVersionHasBeenSet() const
void SetOptionalDeployment(bool value)
DeploymentStatus GetUpdateStatus() const
bool GetCancellable() const
bool GetOptionalDeployment() const
bool DescriptionHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ServiceSoftwareOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSoftwareOptions & WithUpdateStatus(DeploymentStatus value)
bool GetUpdateAvailable() const
void SetDescription(DescriptionT &&value)
ServiceSoftwareOptions & WithAutomatedUpdateDate(AutomatedUpdateDateT &&value)
ServiceSoftwareOptions & WithCancellable(bool value)
void SetAutomatedUpdateDate(AutomatedUpdateDateT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdateStatus(DeploymentStatus value)
void SetCancellable(bool value)
bool OptionalDeploymentHasBeenSet() const
bool NewVersionHasBeenSet() const
bool UpdateStatusHasBeenSet() const
ServiceSoftwareOptions & WithCurrentVersion(CurrentVersionT &&value)
const Aws::String & GetNewVersion() const
AWS_OPENSEARCHSERVICE_API ServiceSoftwareOptions()=default
ServiceSoftwareOptions & WithUpdateAvailable(bool value)
ServiceSoftwareOptions & WithNewVersion(NewVersionT &&value)
void SetNewVersion(NewVersionT &&value)
const Aws::String & GetCurrentVersion() const
const Aws::String & GetDescription() const
bool UpdateAvailableHasBeenSet() const
bool AutomatedUpdateDateHasBeenSet() const
const Aws::Utils::DateTime & GetAutomatedUpdateDate() const
bool CancellableHasBeenSet() const
void SetUpdateAvailable(bool value)
void SetCurrentVersion(CurrentVersionT &&value)
ServiceSoftwareOptions & WithOptionalDeployment(bool value)
ServiceSoftwareOptions & WithDescription(DescriptionT &&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