7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/Recommendation.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CustomerProfiles {
38 template <
typename ProfileIdT = Aws::String>
40 m_profileIdHasBeenSet =
true;
41 m_profileId = std::forward<ProfileIdT>(value);
43 template <
typename ProfileIdT = Aws::String>
55 template <
typename RecommendationsT = Aws::Vector<Recommendation>>
57 m_recommendationsHasBeenSet =
true;
58 m_recommendations = std::forward<RecommendationsT>(value);
60 template <
typename RecommendationsT = Aws::Vector<Recommendation>>
65 template <
typename RecommendationsT = Recommendation>
67 m_recommendationsHasBeenSet =
true;
68 m_recommendations.emplace_back(std::forward<RecommendationsT>(value));
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
96 bool m_profileIdHasBeenSet =
false;
97 bool m_recommendationsHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetProfileId() const
AWS_CUSTOMERPROFILES_API SearchRecommendationsResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
SearchRecommendationsResult & WithRequestId(RequestIdT &&value)
AWS_CUSTOMERPROFILES_API SearchRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::Vector< Recommendation > & GetRecommendations() const
void SetProfileId(ProfileIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetRecommendations(RecommendationsT &&value)
SearchRecommendationsResult & AddRecommendations(RecommendationsT &&value)
AWS_CUSTOMERPROFILES_API SearchRecommendationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchRecommendationsResult & WithRecommendations(RecommendationsT &&value)
SearchRecommendationsResult & WithProfileId(ProfileIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue