7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace OpenSearchService
46 template<
typename KmsKeyIdentifierT = Aws::String>
47 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet =
true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
48 template<
typename KmsKeyIdentifierT = Aws::String>
58 inline void SetEncryptionEnabled(
bool value) { m_encryptionEnabledHasBeenSet =
true; m_encryptionEnabled = value; }
64 bool m_kmsKeyIdentifierHasBeenSet =
false;
66 bool m_encryptionEnabled{
false};
67 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