7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace OpenSearchService
50 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
63 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
71 bool m_enabledHasBeenSet =
false;
74 bool m_kmsKeyIdHasBeenSet =
false;
EncryptionAtRestOptions & WithKmsKeyId(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnabled(bool value)
bool EnabledHasBeenSet() const
void SetKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const char *value)
AWS_OPENSEARCHSERVICE_API EncryptionAtRestOptions()
const Aws::String & GetKmsKeyId() const
EncryptionAtRestOptions & WithKmsKeyId(const char *value)
bool KmsKeyIdHasBeenSet() const
EncryptionAtRestOptions & WithEnabled(bool value)
AWS_OPENSEARCHSERVICE_API EncryptionAtRestOptions(Aws::Utils::Json::JsonView jsonValue)
EncryptionAtRestOptions & WithKmsKeyId(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API EncryptionAtRestOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue