7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
19namespace OpenSearchService {
45 m_enabledHasBeenSet =
true;
61 template <
typename KmsKeyIdT = Aws::String>
63 m_kmsKeyIdHasBeenSet =
true;
64 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
66 template <
typename KmsKeyIdT = Aws::String>
73 bool m_enabled{
false};
76 bool m_enabledHasBeenSet =
false;
77 bool m_kmsKeyIdHasBeenSet =
false;
EncryptionAtRestOptions & WithKmsKeyId(KmsKeyIdT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnabled(bool value)
bool EnabledHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_OPENSEARCHSERVICE_API EncryptionAtRestOptions()=default
const Aws::String & GetKmsKeyId() const
bool KmsKeyIdHasBeenSet() const
EncryptionAtRestOptions & WithEnabled(bool value)
AWS_OPENSEARCHSERVICE_API EncryptionAtRestOptions(Aws::Utils::Json::JsonView jsonValue)
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