#[non_exhaustive]pub struct InsightResultValueBuilder { /* private fields */ }Expand description
A builder for InsightResultValue.
Implementations§
source§impl InsightResultValueBuilder
 
impl InsightResultValueBuilder
sourcepub fn group_by_attribute_value(self, input: impl Into<String>) -> Self
 
pub fn group_by_attribute_value(self, input: impl Into<String>) -> Self
The value of the attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults operation.
sourcepub fn set_group_by_attribute_value(self, input: Option<String>) -> Self
 
pub fn set_group_by_attribute_value(self, input: Option<String>) -> Self
The value of the attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults operation.
sourcepub fn get_group_by_attribute_value(&self) -> &Option<String>
 
pub fn get_group_by_attribute_value(&self) -> &Option<String>
The value of the attribute that the findings are grouped by for the insight whose results are returned by the GetInsightResults operation.
sourcepub fn count(self, input: i32) -> Self
 
pub fn count(self, input: i32) -> Self
The number of findings returned for each GroupByAttributeValue.
sourcepub fn set_count(self, input: Option<i32>) -> Self
 
pub fn set_count(self, input: Option<i32>) -> Self
The number of findings returned for each GroupByAttributeValue.
sourcepub fn get_count(&self) -> &Option<i32>
 
pub fn get_count(&self) -> &Option<i32>
The number of findings returned for each GroupByAttributeValue.
sourcepub fn build(self) -> InsightResultValue
 
pub fn build(self) -> InsightResultValue
Consumes the builder and constructs a InsightResultValue.
Trait Implementations§
source§impl Clone for InsightResultValueBuilder
 
impl Clone for InsightResultValueBuilder
source§fn clone(&self) -> InsightResultValueBuilder
 
fn clone(&self) -> InsightResultValueBuilder
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 moresource§impl Debug for InsightResultValueBuilder
 
impl Debug for InsightResultValueBuilder
source§impl Default for InsightResultValueBuilder
 
impl Default for InsightResultValueBuilder
source§fn default() -> InsightResultValueBuilder
 
fn default() -> InsightResultValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InsightResultValueBuilder
 
impl PartialEq for InsightResultValueBuilder
source§fn eq(&self, other: &InsightResultValueBuilder) -> bool
 
fn eq(&self, other: &InsightResultValueBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InsightResultValueBuilder
Auto Trait Implementations§
impl Freeze for InsightResultValueBuilder
impl RefUnwindSafe for InsightResultValueBuilder
impl Send for InsightResultValueBuilder
impl Sync for InsightResultValueBuilder
impl Unpin for InsightResultValueBuilder
impl UnwindSafe for InsightResultValueBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.