7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/opensearch/model/OptionState.h>
22namespace OpenSearchService
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;
AWS_OPENSEARCHSERVICE_API OptionStatus()
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OptionStatus & WithPendingDeletion(bool value)
OptionStatus & WithState(OptionState &&value)
OptionStatus & WithUpdateVersion(int value)
void SetUpdateVersion(int value)
const Aws::Utils::DateTime & GetCreationDate() const
const OptionState & GetState() const
bool UpdateVersionHasBeenSet() const
AWS_OPENSEARCHSERVICE_API OptionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
OptionStatus & WithState(const OptionState &value)
OptionStatus & WithUpdateDate(const Aws::Utils::DateTime &value)
bool GetPendingDeletion() const
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetState(OptionState &&value)
void SetUpdateDate(const Aws::Utils::DateTime &value)
void SetUpdateDate(Aws::Utils::DateTime &&value)
bool UpdateDateHasBeenSet() const
bool PendingDeletionHasBeenSet() const
bool CreationDateHasBeenSet() const
void SetState(const OptionState &value)
OptionStatus & WithCreationDate(const Aws::Utils::DateTime &value)
OptionStatus & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_OPENSEARCHSERVICE_API OptionStatus(Aws::Utils::Json::JsonView jsonValue)
void SetPendingDeletion(bool value)
OptionStatus & WithUpdateDate(Aws::Utils::DateTime &&value)
int GetUpdateVersion() const
const Aws::Utils::DateTime & GetUpdateDate() const
Aws::Utils::Json::JsonValue JsonValue