7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
9#include <aws/observabilityadmin/model/EncryptionConflictResolutionStrategy.h>
10#include <aws/observabilityadmin/model/EncryptionStrategy.h>
21namespace ObservabilityAdmin {
48 m_encryptionStrategyHasBeenSet =
true;
49 m_encryptionStrategy = value;
64 template <
typename KmsKeyArnT = Aws::String>
66 m_kmsKeyArnHasBeenSet =
true;
67 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
69 template <
typename KmsKeyArnT = Aws::String>
84 return m_encryptionConflictResolutionStrategy;
88 m_encryptionConflictResolutionStrategyHasBeenSet =
true;
89 m_encryptionConflictResolutionStrategy = value;
102 bool m_encryptionStrategyHasBeenSet =
false;
103 bool m_kmsKeyArnHasBeenSet =
false;
104 bool m_encryptionConflictResolutionStrategyHasBeenSet =
false;
const Aws::String & GetKmsKeyArn() const
AWS_OBSERVABILITYADMIN_API LogsEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionStrategy(EncryptionStrategy value)
bool EncryptionConflictResolutionStrategyHasBeenSet() const
AWS_OBSERVABILITYADMIN_API LogsEncryptionConfiguration()=default
EncryptionConflictResolutionStrategy GetEncryptionConflictResolutionStrategy() const
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
LogsEncryptionConfiguration & WithEncryptionStrategy(EncryptionStrategy value)
void SetKmsKeyArn(KmsKeyArnT &&value)
LogsEncryptionConfiguration & WithKmsKeyArn(KmsKeyArnT &&value)
LogsEncryptionConfiguration & WithEncryptionConflictResolutionStrategy(EncryptionConflictResolutionStrategy value)
bool EncryptionStrategyHasBeenSet() const
EncryptionStrategy GetEncryptionStrategy() const
bool KmsKeyArnHasBeenSet() const
AWS_OBSERVABILITYADMIN_API LogsEncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionConflictResolutionStrategy(EncryptionConflictResolutionStrategy value)
EncryptionConflictResolutionStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue