AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotifyRecommendationsReceivedResult.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/model/NotifyRecommendationsReceivedError.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ConnectWisdomService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONNECTWISDOMSERVICE_API NotifyRecommendationsReceivedResult();
35
36
38
41 inline const Aws::Vector<NotifyRecommendationsReceivedError>& GetErrors() const{ return m_errors; }
42 inline void SetErrors(const Aws::Vector<NotifyRecommendationsReceivedError>& value) { m_errors = value; }
43 inline void SetErrors(Aws::Vector<NotifyRecommendationsReceivedError>&& value) { m_errors = std::move(value); }
46 inline NotifyRecommendationsReceivedResult& AddErrors(const NotifyRecommendationsReceivedError& value) { m_errors.push_back(value); return *this; }
47 inline NotifyRecommendationsReceivedResult& AddErrors(NotifyRecommendationsReceivedError&& value) { m_errors.push_back(std::move(value)); return *this; }
49
51
54 inline const Aws::Vector<Aws::String>& GetRecommendationIds() const{ return m_recommendationIds; }
55 inline void SetRecommendationIds(const Aws::Vector<Aws::String>& value) { m_recommendationIds = value; }
56 inline void SetRecommendationIds(Aws::Vector<Aws::String>&& value) { m_recommendationIds = std::move(value); }
59 inline NotifyRecommendationsReceivedResult& AddRecommendationIds(const Aws::String& value) { m_recommendationIds.push_back(value); return *this; }
60 inline NotifyRecommendationsReceivedResult& AddRecommendationIds(Aws::String&& value) { m_recommendationIds.push_back(std::move(value)); return *this; }
61 inline NotifyRecommendationsReceivedResult& AddRecommendationIds(const char* value) { m_recommendationIds.push_back(value); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline NotifyRecommendationsReceivedResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline NotifyRecommendationsReceivedResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline NotifyRecommendationsReceivedResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
77
78 Aws::Vector<Aws::String> m_recommendationIds;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace ConnectWisdomService
85} // namespace Aws
NotifyRecommendationsReceivedResult & AddErrors(const NotifyRecommendationsReceivedError &value)
NotifyRecommendationsReceivedResult & AddRecommendationIds(Aws::String &&value)
void SetErrors(Aws::Vector< NotifyRecommendationsReceivedError > &&value)
AWS_CONNECTWISDOMSERVICE_API NotifyRecommendationsReceivedResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECTWISDOMSERVICE_API NotifyRecommendationsReceivedResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
NotifyRecommendationsReceivedResult & WithErrors(const Aws::Vector< NotifyRecommendationsReceivedError > &value)
NotifyRecommendationsReceivedResult & WithRequestId(Aws::String &&value)
NotifyRecommendationsReceivedResult & WithRequestId(const Aws::String &value)
NotifyRecommendationsReceivedResult & WithRecommendationIds(const Aws::Vector< Aws::String > &value)
NotifyRecommendationsReceivedResult & WithErrors(Aws::Vector< NotifyRecommendationsReceivedError > &&value)
NotifyRecommendationsReceivedResult & WithRecommendationIds(Aws::Vector< Aws::String > &&value)
NotifyRecommendationsReceivedResult & AddErrors(NotifyRecommendationsReceivedError &&value)
const Aws::Vector< NotifyRecommendationsReceivedError > & GetErrors() const
void SetErrors(const Aws::Vector< NotifyRecommendationsReceivedError > &value)
NotifyRecommendationsReceivedResult & AddRecommendationIds(const char *value)
NotifyRecommendationsReceivedResult & AddRecommendationIds(const Aws::String &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