7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticsearchService
46 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
56 template<
typename KmsKeyIdT = Aws::String>
57 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
58 template<
typename KmsKeyIdT = Aws::String>
63 bool m_enabled{
false};
64 bool m_enabledHasBeenSet =
false;
67 bool m_kmsKeyIdHasBeenSet =
false;
EncryptionAtRestOptions & WithEnabled(bool value)
bool EnabledHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
EncryptionAtRestOptions & WithKmsKeyId(KmsKeyIdT &&value)
AWS_ELASTICSEARCHSERVICE_API EncryptionAtRestOptions()=default
bool KmsKeyIdHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API EncryptionAtRestOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKmsKeyId() const
void SetEnabled(bool value)
AWS_ELASTICSEARCHSERVICE_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