#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct Loa {
pub loa_content: ::std::option::Option<::aws_smithy_types::Blob>,
pub loa_content_type: ::std::option::Option<crate::types::LoaContentType>,
}
impl Loa {
pub fn loa_content(&self) -> ::std::option::Option<&::aws_smithy_types::Blob> {
self.loa_content.as_ref()
}
pub fn loa_content_type(&self) -> ::std::option::Option<&crate::types::LoaContentType> {
self.loa_content_type.as_ref()
}
}
impl Loa {
pub fn builder() -> crate::types::builders::LoaBuilder {
crate::types::builders::LoaBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct LoaBuilder {
pub(crate) loa_content: ::std::option::Option<::aws_smithy_types::Blob>,
pub(crate) loa_content_type: ::std::option::Option<crate::types::LoaContentType>,
}
impl LoaBuilder {
pub fn loa_content(mut self, input: ::aws_smithy_types::Blob) -> Self {
self.loa_content = ::std::option::Option::Some(input);
self
}
pub fn set_loa_content(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
self.loa_content = input;
self
}
pub fn get_loa_content(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
&self.loa_content
}
pub fn loa_content_type(mut self, input: crate::types::LoaContentType) -> Self {
self.loa_content_type = ::std::option::Option::Some(input);
self
}
pub fn set_loa_content_type(mut self, input: ::std::option::Option<crate::types::LoaContentType>) -> Self {
self.loa_content_type = input;
self
}
pub fn get_loa_content_type(&self) -> &::std::option::Option<crate::types::LoaContentType> {
&self.loa_content_type
}
pub fn build(self) -> crate::types::Loa {
crate::types::Loa {
loa_content: self.loa_content,
loa_content_type: self.loa_content_type,
}
}
}