Struct aws_sdk_evidently::operation::evaluate_feature::builders::EvaluateFeatureInputBuilder
source · #[non_exhaustive]pub struct EvaluateFeatureInputBuilder { /* private fields */ }Expand description
A builder for EvaluateFeatureInput.
Implementations§
source§impl EvaluateFeatureInputBuilder
impl EvaluateFeatureInputBuilder
sourcepub fn project(self, input: impl Into<String>) -> Self
pub fn project(self, input: impl Into<String>) -> Self
The name or ARN of the project that contains this feature.
sourcepub fn set_project(self, input: Option<String>) -> Self
pub fn set_project(self, input: Option<String>) -> Self
The name or ARN of the project that contains this feature.
sourcepub fn get_project(&self) -> &Option<String>
pub fn get_project(&self) -> &Option<String>
The name or ARN of the project that contains this feature.
sourcepub fn feature(self, input: impl Into<String>) -> Self
pub fn feature(self, input: impl Into<String>) -> Self
The name of the feature being evaluated.
sourcepub fn set_feature(self, input: Option<String>) -> Self
pub fn set_feature(self, input: Option<String>) -> Self
The name of the feature being evaluated.
sourcepub fn get_feature(&self) -> &Option<String>
pub fn get_feature(&self) -> &Option<String>
The name of the feature being evaluated.
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
An internal ID that represents a unique user of the application. This entityID is checked against any override rules assigned for this feature.
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
An internal ID that represents a unique user of the application. This entityID is checked against any override rules assigned for this feature.
sourcepub fn get_entity_id(&self) -> &Option<String>
pub fn get_entity_id(&self) -> &Option<String>
An internal ID that represents a unique user of the application. This entityID is checked against any override rules assigned for this feature.
sourcepub fn evaluation_context(self, input: impl Into<String>) -> Self
pub fn evaluation_context(self, input: impl Into<String>) -> Self
A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
sourcepub fn set_evaluation_context(self, input: Option<String>) -> Self
pub fn set_evaluation_context(self, input: Option<String>) -> Self
A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
sourcepub fn get_evaluation_context(&self) -> &Option<String>
pub fn get_evaluation_context(&self) -> &Option<String>
A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
sourcepub fn build(self) -> Result<EvaluateFeatureInput, BuildError>
pub fn build(self) -> Result<EvaluateFeatureInput, BuildError>
Consumes the builder and constructs a EvaluateFeatureInput.
source§impl EvaluateFeatureInputBuilder
impl EvaluateFeatureInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<EvaluateFeatureOutput, SdkError<EvaluateFeatureError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<EvaluateFeatureOutput, SdkError<EvaluateFeatureError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for EvaluateFeatureInputBuilder
impl Clone for EvaluateFeatureInputBuilder
source§fn clone(&self) -> EvaluateFeatureInputBuilder
fn clone(&self) -> EvaluateFeatureInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EvaluateFeatureInputBuilder
impl Debug for EvaluateFeatureInputBuilder
source§impl Default for EvaluateFeatureInputBuilder
impl Default for EvaluateFeatureInputBuilder
source§fn default() -> EvaluateFeatureInputBuilder
fn default() -> EvaluateFeatureInputBuilder
source§impl PartialEq<EvaluateFeatureInputBuilder> for EvaluateFeatureInputBuilder
impl PartialEq<EvaluateFeatureInputBuilder> for EvaluateFeatureInputBuilder
source§fn eq(&self, other: &EvaluateFeatureInputBuilder) -> bool
fn eq(&self, other: &EvaluateFeatureInputBuilder) -> bool
self and other values to be equal, and is used
by ==.