7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/es/model/AutoTuneState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace ElasticsearchService
73 inline void SetUpdateVersion(
int value) { m_updateVersionHasBeenSet =
true; m_updateVersion = value; }
98 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
110 inline void SetPendingDeletion(
bool value) { m_pendingDeletionHasBeenSet =
true; m_pendingDeletion = value; }
116 bool m_creationDateHasBeenSet =
false;
119 bool m_updateDateHasBeenSet =
false;
122 bool m_updateVersionHasBeenSet =
false;
125 bool m_stateHasBeenSet =
false;
128 bool m_errorMessageHasBeenSet =
false;
130 bool m_pendingDeletion;
131 bool m_pendingDeletionHasBeenSet =
false;
bool PendingDeletionHasBeenSet() const
void SetState(AutoTuneState &&value)
void SetState(const AutoTuneState &value)
bool UpdateDateHasBeenSet() const
AutoTuneStatus & WithErrorMessage(const Aws::String &value)
const AutoTuneState & GetState() const
bool GetPendingDeletion() const
AWS_ELASTICSEARCHSERVICE_API AutoTuneStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoTuneStatus & WithErrorMessage(Aws::String &&value)
bool UpdateVersionHasBeenSet() const
void SetErrorMessage(const char *value)
void SetErrorMessage(Aws::String &&value)
AutoTuneStatus & WithState(const AutoTuneState &value)
AutoTuneStatus & WithCreationDate(const Aws::Utils::DateTime &value)
bool StateHasBeenSet() const
AutoTuneStatus & WithState(AutoTuneState &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
const Aws::String & GetErrorMessage() const
AutoTuneStatus & WithPendingDeletion(bool value)
const Aws::Utils::DateTime & GetCreationDate() const
AutoTuneStatus & WithCreationDate(Aws::Utils::DateTime &&value)
void SetUpdateDate(Aws::Utils::DateTime &&value)
bool ErrorMessageHasBeenSet() const
AutoTuneStatus & WithErrorMessage(const char *value)
void SetPendingDeletion(bool value)
AutoTuneStatus & WithUpdateDate(Aws::Utils::DateTime &&value)
AWS_ELASTICSEARCHSERVICE_API AutoTuneStatus(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const Aws::String &value)
void SetUpdateVersion(int value)
AutoTuneStatus & WithUpdateVersion(int value)
int GetUpdateVersion() const
const Aws::Utils::DateTime & GetUpdateDate() const
bool CreationDateHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API AutoTuneStatus()
void SetUpdateDate(const Aws::Utils::DateTime &value)
AutoTuneStatus & WithUpdateDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue