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
51 template<
typename CurrentVersionT = Aws::String>
52 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet =
true; m_currentVersion = std::forward<CurrentVersionT>(value); }
53 template<
typename CurrentVersionT = Aws::String>
63 template<
typename NewVersionT = Aws::String>
64 void SetNewVersion(NewVersionT&& value) { m_newVersionHasBeenSet =
true; m_newVersion = std::forward<NewVersionT>(value); }
65 template<
typename NewVersionT = Aws::String>
76 inline void SetUpdateAvailable(
bool value) { m_updateAvailableHasBeenSet =
true; m_updateAvailable = value; }
87 inline void SetCancellable(
bool value) { m_cancellableHasBeenSet =
true; m_cancellable = value; }
107 template<
typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
109 template<
typename DescriptionT = Aws::String>
121 template<
typename AutomatedUpdateDateT = Aws::Utils::DateTime>
122 void SetAutomatedUpdateDate(AutomatedUpdateDateT&& value) { m_automatedUpdateDateHasBeenSet =
true; m_automatedUpdateDate = std::forward<AutomatedUpdateDateT>(value); }
123 template<
typename AutomatedUpdateDateT = Aws::Utils::DateTime>
134 inline void SetOptionalDeployment(
bool value) { m_optionalDeploymentHasBeenSet =
true; m_optionalDeployment = value; }
140 bool m_currentVersionHasBeenSet =
false;
143 bool m_newVersionHasBeenSet =
false;
145 bool m_updateAvailable{
false};
146 bool m_updateAvailableHasBeenSet =
false;
148 bool m_cancellable{
false};
149 bool m_cancellableHasBeenSet =
false;
152 bool m_updateStatusHasBeenSet =
false;
155 bool m_descriptionHasBeenSet =
false;
158 bool m_automatedUpdateDateHasBeenSet =
false;
160 bool m_optionalDeployment{
false};
161 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