#[allow(dead_code)]
pub fn to_dafny(
value: &aws_sdk_dynamodb::types::TimeToLiveSpecification,
) -> ::dafny_runtime::Rc<crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::TimeToLiveSpecification>{
::dafny_runtime::Rc::new(
crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::TimeToLiveSpecification::TimeToLiveSpecification {
Enabled: value.enabled.clone(),
AttributeName: dafny_runtime::dafny_runtime_conversions::unicode_chars_false::string_to_dafny_string(&value.attribute_name),
}
)
}
#[allow(dead_code)]
pub fn from_dafny(
dafny_value: ::dafny_runtime::Rc<
crate::r#software::amazon::cryptography::services::dynamodb::internaldafny::types::TimeToLiveSpecification,
>,
) -> aws_sdk_dynamodb::types::TimeToLiveSpecification {
aws_sdk_dynamodb::types::TimeToLiveSpecification::builder()
.set_enabled(Some(dafny_value.Enabled().clone()))
.set_attribute_name(Some(
dafny_runtime::dafny_runtime_conversions::unicode_chars_false::dafny_string_to_string(
dafny_value.AttributeName(),
),
))
.build()
.unwrap()
}