#[non_exhaustive]pub struct LaunchTemplateLicenseConfiguration { /* private fields */ }
Expand description
Describes a license configuration.
Implementations§
source§impl LaunchTemplateLicenseConfiguration
impl LaunchTemplateLicenseConfiguration
sourcepub fn license_configuration_arn(&self) -> Option<&str>
pub fn license_configuration_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the license configuration.
source§impl LaunchTemplateLicenseConfiguration
impl LaunchTemplateLicenseConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchTemplateLicenseConfiguration
.
Examples found in repository?
src/xml_deser.rs (line 61818)
61813 61814 61815 61816 61817 61818 61819 61820 61821 61822 61823 61824 61825 61826 61827 61828 61829 61830 61831 61832 61833 61834 61835 61836 61837 61838
pub fn deser_structure_crate_model_launch_template_license_configuration(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::LaunchTemplateLicenseConfiguration, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::LaunchTemplateLicenseConfiguration::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("licenseConfigurationArn") /* LicenseConfigurationArn com.amazonaws.ec2#LaunchTemplateLicenseConfiguration$LicenseConfigurationArn */ => {
let var_3024 =
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_license_configuration_arn(var_3024);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for LaunchTemplateLicenseConfiguration
impl Clone for LaunchTemplateLicenseConfiguration
source§fn clone(&self) -> LaunchTemplateLicenseConfiguration
fn clone(&self) -> LaunchTemplateLicenseConfiguration
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