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>
15namespace PersonalizeRuntime
44 template<
typename CampaignArnT = Aws::String>
45 void SetCampaignArn(CampaignArnT&& value) { m_campaignArnHasBeenSet =
true; m_campaignArn = std::forward<CampaignArnT>(value); }
46 template<
typename CampaignArnT = Aws::String>
56 template<
typename UserIdT = Aws::String>
57 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
58 template<
typename UserIdT = Aws::String>
68 inline void SetNumResults(
int value) { m_numResultsHasBeenSet =
true; m_numResults = value; }
82 template<
typename FilterArnT = Aws::String>
83 void SetFilterArn(FilterArnT&& value) { m_filterArnHasBeenSet =
true; m_filterArn = std::forward<FilterArnT>(value); }
84 template<
typename FilterArnT = Aws::String>
105 template<
typename FilterValuesT = Aws::Map<Aws::String, Aws::String>>
106 void SetFilterValues(FilterValuesT&& value) { m_filterValuesHasBeenSet =
true; m_filterValues = std::forward<FilterValuesT>(value); }
107 template<
typename FilterValuesT = Aws::Map<Aws::String, Aws::String>>
109 template<
typename FilterValuesKeyT = Aws::String,
typename FilterValuesValueT = Aws::String>
111 m_filterValuesHasBeenSet =
true; m_filterValues.emplace(std::forward<FilterValuesKeyT>(key), std::forward<FilterValuesValueT>(value));
return *
this;
117 bool m_campaignArnHasBeenSet =
false;
120 bool m_userIdHasBeenSet =
false;
123 bool m_numResultsHasBeenSet =
false;
126 bool m_filterArnHasBeenSet =
false;
129 bool m_filterValuesHasBeenSet =
false;
void SetFilterArn(FilterArnT &&value)
virtual const char * GetServiceRequestName() const override
GetActionRecommendationsRequest & WithUserId(UserIdT &&value)
bool UserIdHasBeenSet() const
GetActionRecommendationsRequest & WithFilterArn(FilterArnT &&value)
void SetNumResults(int value)
bool FilterValuesHasBeenSet() const
const Aws::String & GetFilterArn() const
const Aws::String & GetUserId() const
GetActionRecommendationsRequest & WithCampaignArn(CampaignArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetFilterValues() const
bool FilterArnHasBeenSet() const
const Aws::String & GetCampaignArn() const
AWS_PERSONALIZERUNTIME_API Aws::String SerializePayload() const override
GetActionRecommendationsRequest & WithNumResults(int value)
int GetNumResults() const
bool CampaignArnHasBeenSet() const
bool NumResultsHasBeenSet() const
void SetFilterValues(FilterValuesT &&value)
void SetCampaignArn(CampaignArnT &&value)
void SetUserId(UserIdT &&value)
GetActionRecommendationsRequest & AddFilterValues(FilterValuesKeyT &&key, FilterValuesValueT &&value)
AWS_PERSONALIZERUNTIME_API GetActionRecommendationsRequest()=default
GetActionRecommendationsRequest & WithFilterValues(FilterValuesT &&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