7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10#include <aws/qconnect/model/NotifyRecommendationsReceivedError.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename RecommendationIdsT = Aws::Vector<Aws::String>>
38 m_recommendationIdsHasBeenSet =
true;
39 m_recommendationIds = std::forward<RecommendationIdsT>(value);
41 template <
typename RecommendationIdsT = Aws::Vector<Aws::String>>
46 template <
typename RecommendationIdsT = Aws::String>
48 m_recommendationIdsHasBeenSet =
true;
49 m_recommendationIds.emplace_back(std::forward<RecommendationIdsT>(value));
59 template <
typename ErrorsT = Aws::Vector<NotifyRecommendationsReceivedError>>
61 m_errorsHasBeenSet =
true;
62 m_errors = std::forward<ErrorsT>(value);
64 template <
typename ErrorsT = Aws::Vector<NotifyRecommendationsReceivedError>>
69 template <
typename ErrorsT = NotifyRecommendationsReceivedError>
71 m_errorsHasBeenSet =
true;
72 m_errors.emplace_back(std::forward<ErrorsT>(value));
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
97 bool m_recommendationIdsHasBeenSet =
false;
98 bool m_errorsHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_QCONNECT_API NotifyRecommendationsReceivedResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QCONNECT_API NotifyRecommendationsReceivedResult()=default
const Aws::String & GetRequestId() const
AWS_QCONNECT_API NotifyRecommendationsReceivedResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< NotifyRecommendationsReceivedError > & GetErrors() const
const Aws::Vector< Aws::String > & GetRecommendationIds() const
NotifyRecommendationsReceivedResult & WithErrors(ErrorsT &&value)
void SetErrors(ErrorsT &&value)
NotifyRecommendationsReceivedResult & WithRecommendationIds(RecommendationIdsT &&value)
NotifyRecommendationsReceivedResult & AddErrors(ErrorsT &&value)
NotifyRecommendationsReceivedResult & WithRequestId(RequestIdT &&value)
void SetRecommendationIds(RecommendationIdsT &&value)
NotifyRecommendationsReceivedResult & AddRecommendationIds(RecommendationIdsT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue