Struct aws_sdk_personalize::operation::update_metric_attribution::UpdateMetricAttributionInput
source · #[non_exhaustive]pub struct UpdateMetricAttributionInput {
pub add_metrics: Option<Vec<MetricAttribute>>,
pub remove_metrics: Option<Vec<String>>,
pub metrics_output_config: Option<MetricAttributionOutput>,
pub metric_attribution_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.add_metrics: Option<Vec<MetricAttribute>>
Add new metric attributes to the metric attribution.
remove_metrics: Option<Vec<String>>
Remove metric attributes from the metric attribution.
metrics_output_config: Option<MetricAttributionOutput>
An output config for the metric attribution.
metric_attribution_arn: Option<String>
The Amazon Resource Name (ARN) for the metric attribution to update.
Implementations§
source§impl UpdateMetricAttributionInput
impl UpdateMetricAttributionInput
sourcepub fn add_metrics(&self) -> &[MetricAttribute]
pub fn add_metrics(&self) -> &[MetricAttribute]
Add new metric attributes to the metric attribution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .add_metrics.is_none()
.
sourcepub fn remove_metrics(&self) -> &[String]
pub fn remove_metrics(&self) -> &[String]
Remove metric attributes from the metric attribution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .remove_metrics.is_none()
.
sourcepub fn metrics_output_config(&self) -> Option<&MetricAttributionOutput>
pub fn metrics_output_config(&self) -> Option<&MetricAttributionOutput>
An output config for the metric attribution.
sourcepub fn metric_attribution_arn(&self) -> Option<&str>
pub fn metric_attribution_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the metric attribution to update.
source§impl UpdateMetricAttributionInput
impl UpdateMetricAttributionInput
sourcepub fn builder() -> UpdateMetricAttributionInputBuilder
pub fn builder() -> UpdateMetricAttributionInputBuilder
Creates a new builder-style object to manufacture UpdateMetricAttributionInput
.
Trait Implementations§
source§impl Clone for UpdateMetricAttributionInput
impl Clone for UpdateMetricAttributionInput
source§fn clone(&self) -> UpdateMetricAttributionInput
fn clone(&self) -> UpdateMetricAttributionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateMetricAttributionInput
impl Debug for UpdateMetricAttributionInput
source§impl PartialEq for UpdateMetricAttributionInput
impl PartialEq for UpdateMetricAttributionInput
source§fn eq(&self, other: &UpdateMetricAttributionInput) -> bool
fn eq(&self, other: &UpdateMetricAttributionInput) -> bool
self
and other
values to be equal, and is used
by ==
.