#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct ExportingLocation {
pub s3_exporting: ::std::option::Option<crate::types::S3ExportingLocation>,
}
impl ExportingLocation {
pub fn s3_exporting(&self) -> ::std::option::Option<&crate::types::S3ExportingLocation> {
self.s3_exporting.as_ref()
}
}
impl ExportingLocation {
pub fn builder() -> crate::types::builders::ExportingLocationBuilder {
crate::types::builders::ExportingLocationBuilder::default()
}
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct ExportingLocationBuilder {
pub(crate) s3_exporting: ::std::option::Option<crate::types::S3ExportingLocation>,
}
impl ExportingLocationBuilder {
pub fn s3_exporting(mut self, input: crate::types::S3ExportingLocation) -> Self {
self.s3_exporting = ::std::option::Option::Some(input);
self
}
pub fn set_s3_exporting(mut self, input: ::std::option::Option<crate::types::S3ExportingLocation>) -> Self {
self.s3_exporting = input;
self
}
pub fn get_s3_exporting(&self) -> &::std::option::Option<crate::types::S3ExportingLocation> {
&self.s3_exporting
}
pub fn build(self) -> crate::types::ExportingLocation {
crate::types::ExportingLocation {
s3_exporting: self.s3_exporting,
}
}
}