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; }
61 template<
typename KmsKeyIdT = Aws::String>
62 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
63 template<
typename KmsKeyIdT = Aws::String>
68 bool m_enabled{
false};
69 bool m_enabledHasBeenSet =
false;
72 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