7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/opensearch/model/AutoTuneState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace OpenSearchService
75 inline void SetUpdateVersion(
int value) { m_updateVersionHasBeenSet =
true; m_updateVersion = value; }
99 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
111 inline void SetPendingDeletion(
bool value) { m_pendingDeletionHasBeenSet =
true; m_pendingDeletion = value; }
117 bool m_creationDateHasBeenSet =
false;
120 bool m_updateDateHasBeenSet =
false;
123 bool m_updateVersionHasBeenSet =
false;
126 bool m_stateHasBeenSet =
false;
129 bool m_errorMessageHasBeenSet =
false;
131 bool m_pendingDeletion;
132 bool m_pendingDeletionHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API AutoTuneStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoTuneStatus & WithState(const AutoTuneState &value)
AutoTuneStatus & WithUpdateDate(Aws::Utils::DateTime &&value)
AutoTuneStatus & WithUpdateDate(const Aws::Utils::DateTime &value)
AutoTuneStatus & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
bool PendingDeletionHasBeenSet() const
void SetCreationDate(const Aws::Utils::DateTime &value)
bool ErrorMessageHasBeenSet() const
void SetErrorMessage(const char *value)
void SetUpdateDate(Aws::Utils::DateTime &&value)
AWS_OPENSEARCHSERVICE_API AutoTuneStatus()
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDate() const
AutoTuneStatus & WithPendingDeletion(bool value)
const Aws::String & GetErrorMessage() const
void SetState(AutoTuneState &&value)
bool GetPendingDeletion() const
AWS_OPENSEARCHSERVICE_API AutoTuneStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AutoTuneStatus & WithUpdateVersion(int value)
void SetUpdateDate(const Aws::Utils::DateTime &value)
void SetUpdateVersion(int value)
void SetPendingDeletion(bool value)
void SetErrorMessage(Aws::String &&value)
int GetUpdateVersion() const
bool UpdateVersionHasBeenSet() const
AutoTuneStatus & WithErrorMessage(const char *value)
bool CreationDateHasBeenSet() const
void SetState(const AutoTuneState &value)
bool UpdateDateHasBeenSet() const
AutoTuneStatus & WithCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
AutoTuneStatus & WithState(AutoTuneState &&value)
const Aws::Utils::DateTime & GetUpdateDate() const
AutoTuneStatus & WithCreationDate(const Aws::Utils::DateTime &value)
AutoTuneStatus & WithErrorMessage(const Aws::String &value)
const AutoTuneState & GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue