/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pinpoint { namespace Model { /** *

Provides information about Amazon Pinpoint configuration settings for * retrieving and processing data from a recommender model.

See * Also:

AWS * API Reference

*/ class RecommenderConfigurationResponse { public: AWS_PINPOINT_API RecommenderConfigurationResponse(); AWS_PINPOINT_API RecommenderConfigurationResponse(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API RecommenderConfigurationResponse& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline const Aws::Map& GetAttributes() const{ return m_attributes; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline void SetAttributes(const Aws::Map& value) { m_attributesHasBeenSet = true; m_attributes = value; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline void SetAttributes(Aws::Map&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *

A map that defines 1-10 custom endpoint or user attributes, depending on the * value for the RecommendationProviderIdType property. Each of these attributes * temporarily stores a recommended item that's retrieved from the recommender * model and sent to an AWS Lambda function for additional processing. Each * attribute can be used as a message variable in a message template.

This * value is null if the configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *

The date, in extended ISO 8601 format, when the configuration was created for * the recommender model.

*/ inline const Aws::String& GetCreationDate() const{ return m_creationDate; } /** *

The date, in extended ISO 8601 format, when the configuration was created for * the recommender model.

*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *

The date, in extended ISO 8601 format, when the configuration was created for * the recommender model.

*/ inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *

The date, in extended ISO 8601 format, when the configuration was created for * the recommender model.

*/ inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *

The date, in extended ISO 8601 format, when the configuration was created for * the recommender model.

*/ inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } /** *

The date, in extended ISO 8601 format, when the configuration was created for * the recommender model.

*/ inline RecommenderConfigurationResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} /** *

The date, in extended ISO 8601 format, when the configuration was created for * the recommender model.

*/ inline RecommenderConfigurationResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The date, in extended ISO 8601 format, when the configuration was created for * the recommender model.

*/ inline RecommenderConfigurationResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;} /** *

The custom description of the configuration for the recommender model.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The custom description of the configuration for the recommender model.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The custom description of the configuration for the recommender model.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The custom description of the configuration for the recommender model.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The custom description of the configuration for the recommender model.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The custom description of the configuration for the recommender model.

*/ inline RecommenderConfigurationResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The custom description of the configuration for the recommender model.

*/ inline RecommenderConfigurationResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The custom description of the configuration for the recommender model.

*/ inline RecommenderConfigurationResponse& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The unique identifier for the recommender model configuration.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the recommender model configuration.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the recommender model configuration.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the recommender model configuration.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the recommender model configuration.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the recommender model configuration.

*/ inline RecommenderConfigurationResponse& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the recommender model configuration.

*/ inline RecommenderConfigurationResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the recommender model configuration.

*/ inline RecommenderConfigurationResponse& WithId(const char* value) { SetId(value); return *this;} /** *

The date, in extended ISO 8601 format, when the configuration for the * recommender model was last modified.

*/ inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *

The date, in extended ISO 8601 format, when the configuration for the * recommender model was last modified.

*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *

The date, in extended ISO 8601 format, when the configuration for the * recommender model was last modified.

*/ inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *

The date, in extended ISO 8601 format, when the configuration for the * recommender model was last modified.

*/ inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *

The date, in extended ISO 8601 format, when the configuration for the * recommender model was last modified.

*/ inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); } /** *

The date, in extended ISO 8601 format, when the configuration for the * recommender model was last modified.

*/ inline RecommenderConfigurationResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;} /** *

The date, in extended ISO 8601 format, when the configuration for the * recommender model was last modified.

*/ inline RecommenderConfigurationResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *

The date, in extended ISO 8601 format, when the configuration for the * recommender model was last modified.

*/ inline RecommenderConfigurationResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;} /** *

The custom name of the configuration for the recommender model.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The custom name of the configuration for the recommender model.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The custom name of the configuration for the recommender model.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The custom name of the configuration for the recommender model.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The custom name of the configuration for the recommender model.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The custom name of the configuration for the recommender model.

*/ inline RecommenderConfigurationResponse& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The custom name of the configuration for the recommender model.

*/ inline RecommenderConfigurationResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The custom name of the configuration for the recommender model.

*/ inline RecommenderConfigurationResponse& WithName(const char* value) { SetName(value); return *this;} /** *

The type of Amazon Pinpoint ID that's associated with unique user IDs in the * recommender model. This value enables the model to use attribute and event data * that’s specific to a particular endpoint or user in an Amazon Pinpoint * application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each * user in the model is associated with a particular endpoint in Amazon Pinpoint. * The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the * default value.

  • PINPOINT_USER_ID - Each user in the model is * associated with a particular user and endpoint in Amazon Pinpoint. The data is * correlated based on user IDs in Amazon Pinpoint. If this value is specified, an * endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) * and an endpoint ID. Otherwise, messages won’t be sent to the user's * endpoint.

*/ inline const Aws::String& GetRecommendationProviderIdType() const{ return m_recommendationProviderIdType; } /** *

The type of Amazon Pinpoint ID that's associated with unique user IDs in the * recommender model. This value enables the model to use attribute and event data * that’s specific to a particular endpoint or user in an Amazon Pinpoint * application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each * user in the model is associated with a particular endpoint in Amazon Pinpoint. * The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the * default value.

  • PINPOINT_USER_ID - Each user in the model is * associated with a particular user and endpoint in Amazon Pinpoint. The data is * correlated based on user IDs in Amazon Pinpoint. If this value is specified, an * endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) * and an endpoint ID. Otherwise, messages won’t be sent to the user's * endpoint.

*/ inline bool RecommendationProviderIdTypeHasBeenSet() const { return m_recommendationProviderIdTypeHasBeenSet; } /** *

The type of Amazon Pinpoint ID that's associated with unique user IDs in the * recommender model. This value enables the model to use attribute and event data * that’s specific to a particular endpoint or user in an Amazon Pinpoint * application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each * user in the model is associated with a particular endpoint in Amazon Pinpoint. * The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the * default value.

  • PINPOINT_USER_ID - Each user in the model is * associated with a particular user and endpoint in Amazon Pinpoint. The data is * correlated based on user IDs in Amazon Pinpoint. If this value is specified, an * endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) * and an endpoint ID. Otherwise, messages won’t be sent to the user's * endpoint.

*/ inline void SetRecommendationProviderIdType(const Aws::String& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = value; } /** *

The type of Amazon Pinpoint ID that's associated with unique user IDs in the * recommender model. This value enables the model to use attribute and event data * that’s specific to a particular endpoint or user in an Amazon Pinpoint * application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each * user in the model is associated with a particular endpoint in Amazon Pinpoint. * The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the * default value.

  • PINPOINT_USER_ID - Each user in the model is * associated with a particular user and endpoint in Amazon Pinpoint. The data is * correlated based on user IDs in Amazon Pinpoint. If this value is specified, an * endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) * and an endpoint ID. Otherwise, messages won’t be sent to the user's * endpoint.

*/ inline void SetRecommendationProviderIdType(Aws::String&& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = std::move(value); } /** *

The type of Amazon Pinpoint ID that's associated with unique user IDs in the * recommender model. This value enables the model to use attribute and event data * that’s specific to a particular endpoint or user in an Amazon Pinpoint * application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each * user in the model is associated with a particular endpoint in Amazon Pinpoint. * The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the * default value.

  • PINPOINT_USER_ID - Each user in the model is * associated with a particular user and endpoint in Amazon Pinpoint. The data is * correlated based on user IDs in Amazon Pinpoint. If this value is specified, an * endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) * and an endpoint ID. Otherwise, messages won’t be sent to the user's * endpoint.

*/ inline void SetRecommendationProviderIdType(const char* value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType.assign(value); } /** *

The type of Amazon Pinpoint ID that's associated with unique user IDs in the * recommender model. This value enables the model to use attribute and event data * that’s specific to a particular endpoint or user in an Amazon Pinpoint * application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each * user in the model is associated with a particular endpoint in Amazon Pinpoint. * The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the * default value.

  • PINPOINT_USER_ID - Each user in the model is * associated with a particular user and endpoint in Amazon Pinpoint. The data is * correlated based on user IDs in Amazon Pinpoint. If this value is specified, an * endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) * and an endpoint ID. Otherwise, messages won’t be sent to the user's * endpoint.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderIdType(const Aws::String& value) { SetRecommendationProviderIdType(value); return *this;} /** *

The type of Amazon Pinpoint ID that's associated with unique user IDs in the * recommender model. This value enables the model to use attribute and event data * that’s specific to a particular endpoint or user in an Amazon Pinpoint * application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each * user in the model is associated with a particular endpoint in Amazon Pinpoint. * The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the * default value.

  • PINPOINT_USER_ID - Each user in the model is * associated with a particular user and endpoint in Amazon Pinpoint. The data is * correlated based on user IDs in Amazon Pinpoint. If this value is specified, an * endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) * and an endpoint ID. Otherwise, messages won’t be sent to the user's * endpoint.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderIdType(Aws::String&& value) { SetRecommendationProviderIdType(std::move(value)); return *this;} /** *

The type of Amazon Pinpoint ID that's associated with unique user IDs in the * recommender model. This value enables the model to use attribute and event data * that’s specific to a particular endpoint or user in an Amazon Pinpoint * application. Possible values are:

  • PINPOINT_ENDPOINT_ID - Each * user in the model is associated with a particular endpoint in Amazon Pinpoint. * The data is correlated based on endpoint IDs in Amazon Pinpoint. This is the * default value.

  • PINPOINT_USER_ID - Each user in the model is * associated with a particular user and endpoint in Amazon Pinpoint. The data is * correlated based on user IDs in Amazon Pinpoint. If this value is specified, an * endpoint definition in Amazon Pinpoint has to specify both a user ID (UserId) * and an endpoint ID. Otherwise, messages won’t be sent to the user's * endpoint.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderIdType(const char* value) { SetRecommendationProviderIdType(value); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from * the recommender model.

*/ inline const Aws::String& GetRecommendationProviderRoleArn() const{ return m_recommendationProviderRoleArn; } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from * the recommender model.

*/ inline bool RecommendationProviderRoleArnHasBeenSet() const { return m_recommendationProviderRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from * the recommender model.

*/ inline void SetRecommendationProviderRoleArn(const Aws::String& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = value; } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from * the recommender model.

*/ inline void SetRecommendationProviderRoleArn(Aws::String&& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from * the recommender model.

*/ inline void SetRecommendationProviderRoleArn(const char* value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from * the recommender model.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderRoleArn(const Aws::String& value) { SetRecommendationProviderRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from * the recommender model.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderRoleArn(Aws::String&& value) { SetRecommendationProviderRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from * the recommender model.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderRoleArn(const char* value) { SetRecommendationProviderRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint * retrieves the recommendation data from. This value is the ARN of an Amazon * Personalize campaign.

*/ inline const Aws::String& GetRecommendationProviderUri() const{ return m_recommendationProviderUri; } /** *

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint * retrieves the recommendation data from. This value is the ARN of an Amazon * Personalize campaign.

*/ inline bool RecommendationProviderUriHasBeenSet() const { return m_recommendationProviderUriHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint * retrieves the recommendation data from. This value is the ARN of an Amazon * Personalize campaign.

*/ inline void SetRecommendationProviderUri(const Aws::String& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = value; } /** *

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint * retrieves the recommendation data from. This value is the ARN of an Amazon * Personalize campaign.

*/ inline void SetRecommendationProviderUri(Aws::String&& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = std::move(value); } /** *

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint * retrieves the recommendation data from. This value is the ARN of an Amazon * Personalize campaign.

*/ inline void SetRecommendationProviderUri(const char* value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri.assign(value); } /** *

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint * retrieves the recommendation data from. This value is the ARN of an Amazon * Personalize campaign.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderUri(const Aws::String& value) { SetRecommendationProviderUri(value); return *this;} /** *

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint * retrieves the recommendation data from. This value is the ARN of an Amazon * Personalize campaign.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderUri(Aws::String&& value) { SetRecommendationProviderUri(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint * retrieves the recommendation data from. This value is the ARN of an Amazon * Personalize campaign.

*/ inline RecommenderConfigurationResponse& WithRecommendationProviderUri(const char* value) { SetRecommendationProviderUri(value); return *this;} /** *

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to perform additional processing of recommendation data that it * retrieves from the recommender model.

*/ inline const Aws::String& GetRecommendationTransformerUri() const{ return m_recommendationTransformerUri; } /** *

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to perform additional processing of recommendation data that it * retrieves from the recommender model.

*/ inline bool RecommendationTransformerUriHasBeenSet() const { return m_recommendationTransformerUriHasBeenSet; } /** *

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to perform additional processing of recommendation data that it * retrieves from the recommender model.

*/ inline void SetRecommendationTransformerUri(const Aws::String& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = value; } /** *

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to perform additional processing of recommendation data that it * retrieves from the recommender model.

*/ inline void SetRecommendationTransformerUri(Aws::String&& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = std::move(value); } /** *

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to perform additional processing of recommendation data that it * retrieves from the recommender model.

*/ inline void SetRecommendationTransformerUri(const char* value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri.assign(value); } /** *

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to perform additional processing of recommendation data that it * retrieves from the recommender model.

*/ inline RecommenderConfigurationResponse& WithRecommendationTransformerUri(const Aws::String& value) { SetRecommendationTransformerUri(value); return *this;} /** *

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to perform additional processing of recommendation data that it * retrieves from the recommender model.

*/ inline RecommenderConfigurationResponse& WithRecommendationTransformerUri(Aws::String&& value) { SetRecommendationTransformerUri(std::move(value)); return *this;} /** *

The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon * Pinpoint invokes to perform additional processing of recommendation data that it * retrieves from the recommender model.

*/ inline RecommenderConfigurationResponse& WithRecommendationTransformerUri(const char* value) { SetRecommendationTransformerUri(value); return *this;} /** *

The custom display name for the standard endpoint or user attribute * (RecommendationItems) that temporarily stores recommended items for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This name appears in the Attribute finder of the template * editor on the Amazon Pinpoint console.

This value is null if the * configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline const Aws::String& GetRecommendationsDisplayName() const{ return m_recommendationsDisplayName; } /** *

The custom display name for the standard endpoint or user attribute * (RecommendationItems) that temporarily stores recommended items for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This name appears in the Attribute finder of the template * editor on the Amazon Pinpoint console.

This value is null if the * configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline bool RecommendationsDisplayNameHasBeenSet() const { return m_recommendationsDisplayNameHasBeenSet; } /** *

The custom display name for the standard endpoint or user attribute * (RecommendationItems) that temporarily stores recommended items for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This name appears in the Attribute finder of the template * editor on the Amazon Pinpoint console.

This value is null if the * configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline void SetRecommendationsDisplayName(const Aws::String& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = value; } /** *

The custom display name for the standard endpoint or user attribute * (RecommendationItems) that temporarily stores recommended items for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This name appears in the Attribute finder of the template * editor on the Amazon Pinpoint console.

This value is null if the * configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline void SetRecommendationsDisplayName(Aws::String&& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = std::move(value); } /** *

The custom display name for the standard endpoint or user attribute * (RecommendationItems) that temporarily stores recommended items for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This name appears in the Attribute finder of the template * editor on the Amazon Pinpoint console.

This value is null if the * configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline void SetRecommendationsDisplayName(const char* value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName.assign(value); } /** *

The custom display name for the standard endpoint or user attribute * (RecommendationItems) that temporarily stores recommended items for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This name appears in the Attribute finder of the template * editor on the Amazon Pinpoint console.

This value is null if the * configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& WithRecommendationsDisplayName(const Aws::String& value) { SetRecommendationsDisplayName(value); return *this;} /** *

The custom display name for the standard endpoint or user attribute * (RecommendationItems) that temporarily stores recommended items for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This name appears in the Attribute finder of the template * editor on the Amazon Pinpoint console.

This value is null if the * configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& WithRecommendationsDisplayName(Aws::String&& value) { SetRecommendationsDisplayName(std::move(value)); return *this;} /** *

The custom display name for the standard endpoint or user attribute * (RecommendationItems) that temporarily stores recommended items for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This name appears in the Attribute finder of the template * editor on the Amazon Pinpoint console.

This value is null if the * configuration doesn't invoke an AWS Lambda function * (RecommendationTransformerUri) to perform additional processing of * recommendation data.

*/ inline RecommenderConfigurationResponse& WithRecommendationsDisplayName(const char* value) { SetRecommendationsDisplayName(value); return *this;} /** *

The number of recommended items that are retrieved from the model for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This number determines how many recommended items are available for * use in message variables.

*/ inline int GetRecommendationsPerMessage() const{ return m_recommendationsPerMessage; } /** *

The number of recommended items that are retrieved from the model for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This number determines how many recommended items are available for * use in message variables.

*/ inline bool RecommendationsPerMessageHasBeenSet() const { return m_recommendationsPerMessageHasBeenSet; } /** *

The number of recommended items that are retrieved from the model for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This number determines how many recommended items are available for * use in message variables.

*/ inline void SetRecommendationsPerMessage(int value) { m_recommendationsPerMessageHasBeenSet = true; m_recommendationsPerMessage = value; } /** *

The number of recommended items that are retrieved from the model for each * endpoint or user, depending on the value for the RecommendationProviderIdType * property. This number determines how many recommended items are available for * use in message variables.

*/ inline RecommenderConfigurationResponse& WithRecommendationsPerMessage(int value) { SetRecommendationsPerMessage(value); return *this;} private: Aws::Map m_attributes; bool m_attributesHasBeenSet = false; Aws::String m_creationDate; bool m_creationDateHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_lastModifiedDate; bool m_lastModifiedDateHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_recommendationProviderIdType; bool m_recommendationProviderIdTypeHasBeenSet = false; Aws::String m_recommendationProviderRoleArn; bool m_recommendationProviderRoleArnHasBeenSet = false; Aws::String m_recommendationProviderUri; bool m_recommendationProviderUriHasBeenSet = false; Aws::String m_recommendationTransformerUri; bool m_recommendationTransformerUriHasBeenSet = false; Aws::String m_recommendationsDisplayName; bool m_recommendationsDisplayNameHasBeenSet = false; int m_recommendationsPerMessage; bool m_recommendationsPerMessageHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws