This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-pinpoint/include/aws/pinpoint/model/RecommenderConfigurationResponse.h

892 lines
46 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/pinpoint/Pinpoint_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Pinpoint
{
namespace Model
{
/**
* <p>Provides information about Amazon Pinpoint configuration settings for
* retrieving and processing data from a recommender model.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RecommenderConfigurationResponse">AWS
* API Reference</a></p>
*/
class AWS_PINPOINT_API RecommenderConfigurationResponse
{
public:
RecommenderConfigurationResponse();
RecommenderConfigurationResponse(Aws::Utils::Json::JsonView jsonValue);
RecommenderConfigurationResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
/**
* <p>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.</p> <p>This
* value is null if the configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
/**
* <p>The date, in extended ISO 8601 format, when the configuration was created for
* the recommender model.</p>
*/
inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
/**
* <p>The date, in extended ISO 8601 format, when the configuration was created for
* the recommender model.</p>
*/
inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
/**
* <p>The date, in extended ISO 8601 format, when the configuration was created for
* the recommender model.</p>
*/
inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
/**
* <p>The date, in extended ISO 8601 format, when the configuration was created for
* the recommender model.</p>
*/
inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
/**
* <p>The date, in extended ISO 8601 format, when the configuration was created for
* the recommender model.</p>
*/
inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
/**
* <p>The date, in extended ISO 8601 format, when the configuration was created for
* the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
/**
* <p>The date, in extended ISO 8601 format, when the configuration was created for
* the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
/**
* <p>The date, in extended ISO 8601 format, when the configuration was created for
* the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
/**
* <p>The custom description of the configuration for the recommender model.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The custom description of the configuration for the recommender model.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The custom description of the configuration for the recommender model.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The custom description of the configuration for the recommender model.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The custom description of the configuration for the recommender model.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The custom description of the configuration for the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The custom description of the configuration for the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The custom description of the configuration for the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The unique identifier for the recommender model configuration.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The unique identifier for the recommender model configuration.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The unique identifier for the recommender model configuration.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The unique identifier for the recommender model configuration.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The unique identifier for the recommender model configuration.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The unique identifier for the recommender model configuration.</p>
*/
inline RecommenderConfigurationResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The unique identifier for the recommender model configuration.</p>
*/
inline RecommenderConfigurationResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The unique identifier for the recommender model configuration.</p>
*/
inline RecommenderConfigurationResponse& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The date, in extended ISO 8601 format, when the configuration for the
* recommender model was last modified.</p>
*/
inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
/**
* <p>The date, in extended ISO 8601 format, when the configuration for the
* recommender model was last modified.</p>
*/
inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
/**
* <p>The date, in extended ISO 8601 format, when the configuration for the
* recommender model was last modified.</p>
*/
inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
/**
* <p>The date, in extended ISO 8601 format, when the configuration for the
* recommender model was last modified.</p>
*/
inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
/**
* <p>The date, in extended ISO 8601 format, when the configuration for the
* recommender model was last modified.</p>
*/
inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
/**
* <p>The date, in extended ISO 8601 format, when the configuration for the
* recommender model was last modified.</p>
*/
inline RecommenderConfigurationResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
/**
* <p>The date, in extended ISO 8601 format, when the configuration for the
* recommender model was last modified.</p>
*/
inline RecommenderConfigurationResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
/**
* <p>The date, in extended ISO 8601 format, when the configuration for the
* recommender model was last modified.</p>
*/
inline RecommenderConfigurationResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
/**
* <p>The custom name of the configuration for the recommender model.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The custom name of the configuration for the recommender model.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The custom name of the configuration for the recommender model.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The custom name of the configuration for the recommender model.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The custom name of the configuration for the recommender model.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The custom name of the configuration for the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The custom name of the configuration for the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The custom name of the configuration for the recommender model.</p>
*/
inline RecommenderConfigurationResponse& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>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
* thats specific to a particular endpoint or user in an Amazon Pinpoint
* application. Possible values are:</p> <ul><li><p>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.</p></li> <li><p>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 wont be sent to the user's
* endpoint.</p></li></ul>
*/
inline const Aws::String& GetRecommendationProviderIdType() const{ return m_recommendationProviderIdType; }
/**
* <p>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
* thats specific to a particular endpoint or user in an Amazon Pinpoint
* application. Possible values are:</p> <ul><li><p>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.</p></li> <li><p>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 wont be sent to the user's
* endpoint.</p></li></ul>
*/
inline bool RecommendationProviderIdTypeHasBeenSet() const { return m_recommendationProviderIdTypeHasBeenSet; }
/**
* <p>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
* thats specific to a particular endpoint or user in an Amazon Pinpoint
* application. Possible values are:</p> <ul><li><p>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.</p></li> <li><p>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 wont be sent to the user's
* endpoint.</p></li></ul>
*/
inline void SetRecommendationProviderIdType(const Aws::String& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = value; }
/**
* <p>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
* thats specific to a particular endpoint or user in an Amazon Pinpoint
* application. Possible values are:</p> <ul><li><p>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.</p></li> <li><p>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 wont be sent to the user's
* endpoint.</p></li></ul>
*/
inline void SetRecommendationProviderIdType(Aws::String&& value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType = std::move(value); }
/**
* <p>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
* thats specific to a particular endpoint or user in an Amazon Pinpoint
* application. Possible values are:</p> <ul><li><p>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.</p></li> <li><p>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 wont be sent to the user's
* endpoint.</p></li></ul>
*/
inline void SetRecommendationProviderIdType(const char* value) { m_recommendationProviderIdTypeHasBeenSet = true; m_recommendationProviderIdType.assign(value); }
/**
* <p>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
* thats specific to a particular endpoint or user in an Amazon Pinpoint
* application. Possible values are:</p> <ul><li><p>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.</p></li> <li><p>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 wont be sent to the user's
* endpoint.</p></li></ul>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderIdType(const Aws::String& value) { SetRecommendationProviderIdType(value); return *this;}
/**
* <p>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
* thats specific to a particular endpoint or user in an Amazon Pinpoint
* application. Possible values are:</p> <ul><li><p>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.</p></li> <li><p>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 wont be sent to the user's
* endpoint.</p></li></ul>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderIdType(Aws::String&& value) { SetRecommendationProviderIdType(std::move(value)); return *this;}
/**
* <p>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
* thats specific to a particular endpoint or user in an Amazon Pinpoint
* application. Possible values are:</p> <ul><li><p>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.</p></li> <li><p>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 wont be sent to the user's
* endpoint.</p></li></ul>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderIdType(const char* value) { SetRecommendationProviderIdType(value); return *this;}
/**
* <p>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.</p>
*/
inline const Aws::String& GetRecommendationProviderRoleArn() const{ return m_recommendationProviderRoleArn; }
/**
* <p>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.</p>
*/
inline bool RecommendationProviderRoleArnHasBeenSet() const { return m_recommendationProviderRoleArnHasBeenSet; }
/**
* <p>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.</p>
*/
inline void SetRecommendationProviderRoleArn(const Aws::String& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = value; }
/**
* <p>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.</p>
*/
inline void SetRecommendationProviderRoleArn(Aws::String&& value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn = std::move(value); }
/**
* <p>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.</p>
*/
inline void SetRecommendationProviderRoleArn(const char* value) { m_recommendationProviderRoleArnHasBeenSet = true; m_recommendationProviderRoleArn.assign(value); }
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderRoleArn(const Aws::String& value) { SetRecommendationProviderRoleArn(value); return *this;}
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderRoleArn(Aws::String&& value) { SetRecommendationProviderRoleArn(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderRoleArn(const char* value) { SetRecommendationProviderRoleArn(value); return *this;}
/**
* <p>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.</p>
*/
inline const Aws::String& GetRecommendationProviderUri() const{ return m_recommendationProviderUri; }
/**
* <p>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.</p>
*/
inline bool RecommendationProviderUriHasBeenSet() const { return m_recommendationProviderUriHasBeenSet; }
/**
* <p>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.</p>
*/
inline void SetRecommendationProviderUri(const Aws::String& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = value; }
/**
* <p>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.</p>
*/
inline void SetRecommendationProviderUri(Aws::String&& value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri = std::move(value); }
/**
* <p>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.</p>
*/
inline void SetRecommendationProviderUri(const char* value) { m_recommendationProviderUriHasBeenSet = true; m_recommendationProviderUri.assign(value); }
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderUri(const Aws::String& value) { SetRecommendationProviderUri(value); return *this;}
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderUri(Aws::String&& value) { SetRecommendationProviderUri(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationProviderUri(const char* value) { SetRecommendationProviderUri(value); return *this;}
/**
* <p>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.</p>
*/
inline const Aws::String& GetRecommendationTransformerUri() const{ return m_recommendationTransformerUri; }
/**
* <p>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.</p>
*/
inline bool RecommendationTransformerUriHasBeenSet() const { return m_recommendationTransformerUriHasBeenSet; }
/**
* <p>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.</p>
*/
inline void SetRecommendationTransformerUri(const Aws::String& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = value; }
/**
* <p>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.</p>
*/
inline void SetRecommendationTransformerUri(Aws::String&& value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri = std::move(value); }
/**
* <p>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.</p>
*/
inline void SetRecommendationTransformerUri(const char* value) { m_recommendationTransformerUriHasBeenSet = true; m_recommendationTransformerUri.assign(value); }
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationTransformerUri(const Aws::String& value) { SetRecommendationTransformerUri(value); return *this;}
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationTransformerUri(Aws::String&& value) { SetRecommendationTransformerUri(std::move(value)); return *this;}
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationTransformerUri(const char* value) { SetRecommendationTransformerUri(value); return *this;}
/**
* <p>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 <b>Attribute finder</b> of the template
* editor on the Amazon Pinpoint console.</p> <p>This value is null if the
* configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline const Aws::String& GetRecommendationsDisplayName() const{ return m_recommendationsDisplayName; }
/**
* <p>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 <b>Attribute finder</b> of the template
* editor on the Amazon Pinpoint console.</p> <p>This value is null if the
* configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline bool RecommendationsDisplayNameHasBeenSet() const { return m_recommendationsDisplayNameHasBeenSet; }
/**
* <p>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 <b>Attribute finder</b> of the template
* editor on the Amazon Pinpoint console.</p> <p>This value is null if the
* configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline void SetRecommendationsDisplayName(const Aws::String& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = value; }
/**
* <p>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 <b>Attribute finder</b> of the template
* editor on the Amazon Pinpoint console.</p> <p>This value is null if the
* configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline void SetRecommendationsDisplayName(Aws::String&& value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName = std::move(value); }
/**
* <p>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 <b>Attribute finder</b> of the template
* editor on the Amazon Pinpoint console.</p> <p>This value is null if the
* configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline void SetRecommendationsDisplayName(const char* value) { m_recommendationsDisplayNameHasBeenSet = true; m_recommendationsDisplayName.assign(value); }
/**
* <p>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 <b>Attribute finder</b> of the template
* editor on the Amazon Pinpoint console.</p> <p>This value is null if the
* configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationsDisplayName(const Aws::String& value) { SetRecommendationsDisplayName(value); return *this;}
/**
* <p>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 <b>Attribute finder</b> of the template
* editor on the Amazon Pinpoint console.</p> <p>This value is null if the
* configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationsDisplayName(Aws::String&& value) { SetRecommendationsDisplayName(std::move(value)); return *this;}
/**
* <p>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 <b>Attribute finder</b> of the template
* editor on the Amazon Pinpoint console.</p> <p>This value is null if the
* configuration doesn't invoke an AWS Lambda function
* (RecommendationTransformerUri) to perform additional processing of
* recommendation data.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationsDisplayName(const char* value) { SetRecommendationsDisplayName(value); return *this;}
/**
* <p>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.</p>
*/
inline int GetRecommendationsPerMessage() const{ return m_recommendationsPerMessage; }
/**
* <p>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.</p>
*/
inline bool RecommendationsPerMessageHasBeenSet() const { return m_recommendationsPerMessageHasBeenSet; }
/**
* <p>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.</p>
*/
inline void SetRecommendationsPerMessage(int value) { m_recommendationsPerMessageHasBeenSet = true; m_recommendationsPerMessage = value; }
/**
* <p>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.</p>
*/
inline RecommenderConfigurationResponse& WithRecommendationsPerMessage(int value) { SetRecommendationsPerMessage(value); return *this;}
private:
Aws::Map<Aws::String, Aws::String> m_attributes;
bool m_attributesHasBeenSet;
Aws::String m_creationDate;
bool m_creationDateHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_lastModifiedDate;
bool m_lastModifiedDateHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_recommendationProviderIdType;
bool m_recommendationProviderIdTypeHasBeenSet;
Aws::String m_recommendationProviderRoleArn;
bool m_recommendationProviderRoleArnHasBeenSet;
Aws::String m_recommendationProviderUri;
bool m_recommendationProviderUriHasBeenSet;
Aws::String m_recommendationTransformerUri;
bool m_recommendationTransformerUriHasBeenSet;
Aws::String m_recommendationsDisplayName;
bool m_recommendationsDisplayNameHasBeenSet;
int m_recommendationsPerMessage;
bool m_recommendationsPerMessageHasBeenSet;
};
} // namespace Model
} // namespace Pinpoint
} // namespace Aws