7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
19namespace OpenSearchServerless {
41 m_aWSOwnedKeyHasBeenSet =
true;
42 m_aWSOwnedKey = value;
57 template <
typename KmsKeyArnT = Aws::String>
59 m_kmsKeyArnHasBeenSet =
true;
60 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
62 template <
typename KmsKeyArnT = Aws::String>
69 bool m_aWSOwnedKey{
false};
72 bool m_aWSOwnedKeyHasBeenSet =
false;
73 bool m_kmsKeyArnHasBeenSet =
false;
const Aws::String & GetKmsKeyArn() const
AWS_OPENSEARCHSERVERLESS_API EncryptionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AWSOwnedKeyHasBeenSet() const
EncryptionConfig & WithAWSOwnedKey(bool value)
EncryptionConfig & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_OPENSEARCHSERVERLESS_API EncryptionConfig(Aws::Utils::Json::JsonView jsonValue)
bool GetAWSOwnedKey() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAWSOwnedKey(bool value)
void SetKmsKeyArn(KmsKeyArnT &&value)
AWS_OPENSEARCHSERVERLESS_API EncryptionConfig()=default
bool KmsKeyArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue