7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
19namespace OpenSearchService {
40 template <
typename KmsKeyIdentifierT = Aws::String>
42 m_kmsKeyIdentifierHasBeenSet =
true;
43 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
45 template <
typename KmsKeyIdentifierT = Aws::String>
59 m_encryptionEnabledHasBeenSet =
true;
60 m_encryptionEnabled = value;
70 bool m_encryptionEnabled{
false};
71 bool m_kmsKeyIdentifierHasBeenSet =
false;
72 bool m_encryptionEnabledHasBeenSet =
false;
const Aws::String & GetKmsKeyIdentifier() const
AWS_OPENSEARCHSERVICE_API PackageEncryptionOptions()=default
void SetEncryptionEnabled(bool value)
bool EncryptionEnabledHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
PackageEncryptionOptions & WithEncryptionEnabled(bool value)
AWS_OPENSEARCHSERVICE_API PackageEncryptionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageEncryptionOptions & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
bool KmsKeyIdentifierHasBeenSet() const
AWS_OPENSEARCHSERVICE_API PackageEncryptionOptions(Aws::Utils::Json::JsonView jsonValue)
bool GetEncryptionEnabled() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue