7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
19namespace OpenSearchService {
41 template <
typename CurrentVersionT = Aws::String>
43 m_currentVersionHasBeenSet =
true;
44 m_currentVersion = std::forward<CurrentVersionT>(value);
46 template <
typename CurrentVersionT = Aws::String>
59 template <
typename NewVersionT = Aws::String>
61 m_newVersionHasBeenSet =
true;
62 m_newVersion = std::forward<NewVersionT>(value);
64 template <
typename NewVersionT = Aws::String>
78 m_rollbackAvailableHasBeenSet =
true;
79 m_rollbackAvailable = value;
93 template <
typename DescriptionT = Aws::String>
95 m_descriptionHasBeenSet =
true;
96 m_description = std::forward<DescriptionT>(value);
98 template <
typename DescriptionT = Aws::String>
109 bool m_rollbackAvailable{
false};
112 bool m_currentVersionHasBeenSet =
false;
113 bool m_newVersionHasBeenSet =
false;
114 bool m_rollbackAvailableHasBeenSet =
false;
115 bool m_descriptionHasBeenSet =
false;
bool GetRollbackAvailable() const
bool CurrentVersionHasBeenSet() const
bool RollbackAvailableHasBeenSet() const
RollbackServiceSoftwareOptions & WithNewVersion(NewVersionT &&value)
AWS_OPENSEARCHSERVICE_API RollbackServiceSoftwareOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
RollbackServiceSoftwareOptions & WithRollbackAvailable(bool value)
RollbackServiceSoftwareOptions & WithCurrentVersion(CurrentVersionT &&value)
void SetRollbackAvailable(bool value)
const Aws::String & GetNewVersion() const
AWS_OPENSEARCHSERVICE_API RollbackServiceSoftwareOptions()=default
void SetCurrentVersion(CurrentVersionT &&value)
AWS_OPENSEARCHSERVICE_API RollbackServiceSoftwareOptions(Aws::Utils::Json::JsonView jsonValue)
bool NewVersionHasBeenSet() const
const Aws::String & GetCurrentVersion() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RollbackServiceSoftwareOptions & WithDescription(DescriptionT &&value)
void SetNewVersion(NewVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue