#[non_exhaustive]pub struct FieldLevelEncryptionSummary { /* private fields */ }
Expand description
A summary of a field-level encryption item.
Implementations§
source§impl FieldLevelEncryptionSummary
impl FieldLevelEncryptionSummary
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The last time that the summary of field-level encryption items was modified.
sourcepub fn comment(&self) -> Option<&str>
pub fn comment(&self) -> Option<&str>
An optional comment about the field-level encryption item. The comment cannot be longer than 128 characters.
sourcepub fn query_arg_profile_config(&self) -> Option<&QueryArgProfileConfig>
pub fn query_arg_profile_config(&self) -> Option<&QueryArgProfileConfig>
A summary of a query argument-profile mapping.
sourcepub fn content_type_profile_config(&self) -> Option<&ContentTypeProfileConfig>
pub fn content_type_profile_config(&self) -> Option<&ContentTypeProfileConfig>
A summary of a content type-profile mapping.
source§impl FieldLevelEncryptionSummary
impl FieldLevelEncryptionSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FieldLevelEncryptionSummary
.
Examples found in repository?
src/xml_deser.rs (line 13059)
13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126
pub fn deser_structure_crate_model_field_level_encryption_summary(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::FieldLevelEncryptionSummary, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::FieldLevelEncryptionSummary::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Id") /* Id com.amazonaws.cloudfront#FieldLevelEncryptionSummary$Id */ => {
let var_533 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_id(var_533);
}
,
s if s.matches("LastModifiedTime") /* LastModifiedTime com.amazonaws.cloudfront#FieldLevelEncryptionSummary$LastModifiedTime */ => {
let var_534 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.cloudfront#timestamp`)"))
?
)
;
builder = builder.set_last_modified_time(var_534);
}
,
s if s.matches("Comment") /* Comment com.amazonaws.cloudfront#FieldLevelEncryptionSummary$Comment */ => {
let var_535 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_comment(var_535);
}
,
s if s.matches("QueryArgProfileConfig") /* QueryArgProfileConfig com.amazonaws.cloudfront#FieldLevelEncryptionSummary$QueryArgProfileConfig */ => {
let var_536 =
Some(
crate::xml_deser::deser_structure_crate_model_query_arg_profile_config(&mut tag)
?
)
;
builder = builder.set_query_arg_profile_config(var_536);
}
,
s if s.matches("ContentTypeProfileConfig") /* ContentTypeProfileConfig com.amazonaws.cloudfront#FieldLevelEncryptionSummary$ContentTypeProfileConfig */ => {
let var_537 =
Some(
crate::xml_deser::deser_structure_crate_model_content_type_profile_config(&mut tag)
?
)
;
builder = builder.set_content_type_profile_config(var_537);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for FieldLevelEncryptionSummary
impl Clone for FieldLevelEncryptionSummary
source§fn clone(&self) -> FieldLevelEncryptionSummary
fn clone(&self) -> FieldLevelEncryptionSummary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more