Struct aws_sdk_cloudfront::model::QueryArgProfileConfig
source · #[non_exhaustive]pub struct QueryArgProfileConfig { /* private fields */ }
Expand description
Configuration for query argument-profile mapping for field-level encryption.
Implementations§
source§impl QueryArgProfileConfig
impl QueryArgProfileConfig
sourcepub fn forward_when_query_arg_profile_is_unknown(&self) -> Option<bool>
pub fn forward_when_query_arg_profile_is_unknown(&self) -> Option<bool>
Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.
sourcepub fn query_arg_profiles(&self) -> Option<&QueryArgProfiles>
pub fn query_arg_profiles(&self) -> Option<&QueryArgProfiles>
Profiles specified for query argument-profile mapping for field-level encryption.
source§impl QueryArgProfileConfig
impl QueryArgProfileConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture QueryArgProfileConfig
.
Examples found in repository?
src/xml_deser.rs (line 10255)
10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287
pub fn deser_structure_crate_model_query_arg_profile_config(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::QueryArgProfileConfig, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::QueryArgProfileConfig::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("ForwardWhenQueryArgProfileIsUnknown") /* ForwardWhenQueryArgProfileIsUnknown com.amazonaws.cloudfront#QueryArgProfileConfig$ForwardWhenQueryArgProfileIsUnknown */ => {
let var_406 =
Some(
{
<bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.cloudfront#boolean`)"))
}
?
)
;
builder = builder.set_forward_when_query_arg_profile_is_unknown(var_406);
}
,
s if s.matches("QueryArgProfiles") /* QueryArgProfiles com.amazonaws.cloudfront#QueryArgProfileConfig$QueryArgProfiles */ => {
let var_407 =
Some(
crate::xml_deser::deser_structure_crate_model_query_arg_profiles(&mut tag)
?
)
;
builder = builder.set_query_arg_profiles(var_407);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for QueryArgProfileConfig
impl Clone for QueryArgProfileConfig
source§fn clone(&self) -> QueryArgProfileConfig
fn clone(&self) -> QueryArgProfileConfig
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