7#include <aws/personalize-runtime/PersonalizeRuntime_EXPORTS.h>
8#include <aws/personalize-runtime/PersonalizeRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/personalize-runtime/model/Promotion.h>
17namespace PersonalizeRuntime
47 inline void SetCampaignArn(
const char* value) { m_campaignArnHasBeenSet =
true; m_campaignArn.assign(value); }
62 inline void SetItemId(
const char* value) { m_itemIdHasBeenSet =
true; m_itemId.assign(value); }
77 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
91 inline void SetNumResults(
int value) { m_numResultsHasBeenSet =
true; m_numResults = value; }
129 inline void SetFilterArn(
const char* value) { m_filterArnHasBeenSet =
true; m_filterArn.assign(value); }
175 inline void SetRecommenderArn(
const char* value) { m_recommenderArnHasBeenSet =
true; m_recommenderArn.assign(value); }
227 bool m_campaignArnHasBeenSet =
false;
230 bool m_itemIdHasBeenSet =
false;
233 bool m_userIdHasBeenSet =
false;
236 bool m_numResultsHasBeenSet =
false;
239 bool m_contextHasBeenSet =
false;
242 bool m_filterArnHasBeenSet =
false;
245 bool m_filterValuesHasBeenSet =
false;
248 bool m_recommenderArnHasBeenSet =
false;
251 bool m_promotionsHasBeenSet =
false;
254 bool m_metadataColumnsHasBeenSet =
false;
bool ItemIdHasBeenSet() const
void SetUserId(Aws::String &&value)
GetRecommendationsRequest & AddFilterValues(const Aws::String &key, Aws::String &&value)
GetRecommendationsRequest & AddFilterValues(const char *key, Aws::String &&value)
void SetItemId(const char *value)
const Aws::String & GetRecommenderArn() const
bool PromotionsHasBeenSet() const
GetRecommendationsRequest & AddMetadataColumns(const Aws::String &key, Aws::Vector< Aws::String > &&value)
GetRecommendationsRequest & WithFilterValues(Aws::Map< Aws::String, Aws::String > &&value)
void SetPromotions(const Aws::Vector< Promotion > &value)
GetRecommendationsRequest & WithUserId(Aws::String &&value)
int GetNumResults() const
GetRecommendationsRequest & WithRecommenderArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetRecommendationsRequest & AddPromotions(const Promotion &value)
bool UserIdHasBeenSet() const
GetRecommendationsRequest & WithCampaignArn(Aws::String &&value)
GetRecommendationsRequest & AddContext(Aws::String &&key, Aws::String &&value)
const Aws::String & GetFilterArn() const
const Aws::String & GetUserId() const
bool RecommenderArnHasBeenSet() const
GetRecommendationsRequest & AddFilterValues(const Aws::String &key, const Aws::String &value)
const Aws::String & GetCampaignArn() const
bool FilterValuesHasBeenSet() const
void SetRecommenderArn(Aws::String &&value)
const Aws::Vector< Promotion > & GetPromotions() const
GetRecommendationsRequest & WithNumResults(int value)
GetRecommendationsRequest & AddContext(Aws::String &&key, const Aws::String &value)
GetRecommendationsRequest & AddMetadataColumns(const char *key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetItemId() const
void SetContext(Aws::Map< Aws::String, Aws::String > &&value)
GetRecommendationsRequest & WithPromotions(const Aws::Vector< Promotion > &value)
GetRecommendationsRequest & AddMetadataColumns(const char *key, Aws::Vector< Aws::String > &&value)
GetRecommendationsRequest & WithFilterArn(const Aws::String &value)
void SetFilterArn(Aws::String &&value)
GetRecommendationsRequest & WithRecommenderArn(const char *value)
AWS_PERSONALIZERUNTIME_API Aws::String SerializePayload() const override
GetRecommendationsRequest & WithContext(Aws::Map< Aws::String, Aws::String > &&value)
GetRecommendationsRequest & WithMetadataColumns(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
GetRecommendationsRequest & AddPromotions(Promotion &&value)
void SetItemId(const Aws::String &value)
GetRecommendationsRequest & AddFilterValues(Aws::String &&key, const char *value)
void SetRecommenderArn(const Aws::String &value)
GetRecommendationsRequest & WithFilterValues(const Aws::Map< Aws::String, Aws::String > &value)
bool FilterArnHasBeenSet() const
GetRecommendationsRequest & WithRecommenderArn(Aws::String &&value)
GetRecommendationsRequest & AddFilterValues(Aws::String &&key, Aws::String &&value)
GetRecommendationsRequest & AddContext(const char *key, const char *value)
void SetFilterValues(Aws::Map< Aws::String, Aws::String > &&value)
GetRecommendationsRequest & WithUserId(const Aws::String &value)
void SetMetadataColumns(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetUserId(const char *value)
GetRecommendationsRequest & AddFilterValues(Aws::String &&key, const Aws::String &value)
void SetUserId(const Aws::String &value)
GetRecommendationsRequest & WithItemId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
bool MetadataColumnsHasBeenSet() const
GetRecommendationsRequest & AddContext(const char *key, Aws::String &&value)
GetRecommendationsRequest & WithFilterArn(const char *value)
void SetMetadataColumns(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetNumResults(int value)
GetRecommendationsRequest & AddMetadataColumns(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetCampaignArn(const Aws::String &value)
GetRecommendationsRequest & WithCampaignArn(const char *value)
void SetItemId(Aws::String &&value)
void SetCampaignArn(const char *value)
GetRecommendationsRequest & WithCampaignArn(const Aws::String &value)
bool NumResultsHasBeenSet() const
GetRecommendationsRequest & AddMetadataColumns(Aws::String &&key, Aws::Vector< Aws::String > &&value)
bool CampaignArnHasBeenSet() const
bool ContextHasBeenSet() const
void SetFilterArn(const char *value)
void SetPromotions(Aws::Vector< Promotion > &&value)
void SetContext(const Aws::Map< Aws::String, Aws::String > &value)
GetRecommendationsRequest & WithUserId(const char *value)
GetRecommendationsRequest & WithItemId(const Aws::String &value)
GetRecommendationsRequest & AddContext(const Aws::String &key, const Aws::String &value)
GetRecommendationsRequest & AddContext(Aws::String &&key, const char *value)
GetRecommendationsRequest & AddContext(const Aws::String &key, Aws::String &&value)
GetRecommendationsRequest & AddMetadataColumns(Aws::String &&key, const Aws::Vector< Aws::String > &value)
GetRecommendationsRequest & WithFilterArn(Aws::String &&value)
GetRecommendationsRequest & WithContext(const Aws::Map< Aws::String, Aws::String > &value)
GetRecommendationsRequest & WithMetadataColumns(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetFilterArn(const Aws::String &value)
GetRecommendationsRequest & AddFilterValues(const char *key, const char *value)
AWS_PERSONALIZERUNTIME_API GetRecommendationsRequest()
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetMetadataColumns() const
const Aws::Map< Aws::String, Aws::String > & GetFilterValues() const
GetRecommendationsRequest & WithItemId(Aws::String &&value)
void SetFilterValues(const Aws::Map< Aws::String, Aws::String > &value)
void SetRecommenderArn(const char *value)
GetRecommendationsRequest & WithPromotions(Aws::Vector< Promotion > &&value)
void SetCampaignArn(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector