7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/es/model/OptionState.h>
22namespace ElasticsearchService
71 inline void SetUpdateVersion(
int value) { m_updateVersionHasBeenSet =
true; m_updateVersion = value; }
93 inline void SetPendingDeletion(
bool value) { m_pendingDeletionHasBeenSet =
true; m_pendingDeletion = value; }
99 bool m_creationDateHasBeenSet =
false;
102 bool m_updateDateHasBeenSet =
false;
105 bool m_updateVersionHasBeenSet =
false;
108 bool m_stateHasBeenSet =
false;
110 bool m_pendingDeletion;
111 bool m_pendingDeletionHasBeenSet =
false;
void SetState(const OptionState &value)
OptionStatus & WithUpdateVersion(int value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetUpdateDate(const Aws::Utils::DateTime &value)
bool StateHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API OptionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationDateHasBeenSet() const
bool UpdateDateHasBeenSet() const
const OptionState & GetState() const
void SetPendingDeletion(bool value)
const Aws::Utils::DateTime & GetCreationDate() const
OptionStatus & WithUpdateDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
OptionStatus & WithPendingDeletion(bool value)
bool UpdateVersionHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API OptionStatus()
void SetState(OptionState &&value)
OptionStatus & WithUpdateDate(Aws::Utils::DateTime &&value)
void SetUpdateVersion(int value)
int GetUpdateVersion() const
void SetUpdateDate(Aws::Utils::DateTime &&value)
bool GetPendingDeletion() const
AWS_ELASTICSEARCHSERVICE_API OptionStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OptionStatus & WithCreationDate(Aws::Utils::DateTime &&value)
OptionStatus & WithCreationDate(const Aws::Utils::DateTime &value)
OptionStatus & WithState(OptionState &&value)
OptionStatus & WithState(const OptionState &value)
bool PendingDeletionHasBeenSet() const
const Aws::Utils::DateTime & GetUpdateDate() const
Aws::Utils::Json::JsonValue JsonValue