AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
NotifyRecommendationsReceivedRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wisdom/ConnectWisdomServiceRequest.h>
10#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConnectWisdomService {
16namespace Model {
17
21 public:
22 AWS_CONNECTWISDOMSERVICE_API NotifyRecommendationsReceivedRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "NotifyRecommendationsReceived"; }
29
30 AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
38 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
39 template <typename AssistantIdT = Aws::String>
40 void SetAssistantId(AssistantIdT&& value) {
41 m_assistantIdHasBeenSet = true;
42 m_assistantId = std::forward<AssistantIdT>(value);
43 }
44 template <typename AssistantIdT = Aws::String>
46 SetAssistantId(std::forward<AssistantIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<Aws::String>& GetRecommendationIds() const { return m_recommendationIds; }
56 inline bool RecommendationIdsHasBeenSet() const { return m_recommendationIdsHasBeenSet; }
57 template <typename RecommendationIdsT = Aws::Vector<Aws::String>>
58 void SetRecommendationIds(RecommendationIdsT&& value) {
59 m_recommendationIdsHasBeenSet = true;
60 m_recommendationIds = std::forward<RecommendationIdsT>(value);
61 }
62 template <typename RecommendationIdsT = Aws::Vector<Aws::String>>
64 SetRecommendationIds(std::forward<RecommendationIdsT>(value));
65 return *this;
66 }
67 template <typename RecommendationIdsT = Aws::String>
69 m_recommendationIdsHasBeenSet = true;
70 m_recommendationIds.emplace_back(std::forward<RecommendationIdsT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetSessionId() const { return m_sessionId; }
81 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
82 template <typename SessionIdT = Aws::String>
83 void SetSessionId(SessionIdT&& value) {
84 m_sessionIdHasBeenSet = true;
85 m_sessionId = std::forward<SessionIdT>(value);
86 }
87 template <typename SessionIdT = Aws::String>
89 SetSessionId(std::forward<SessionIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_assistantId;
95
96 Aws::Vector<Aws::String> m_recommendationIds;
97
98 Aws::String m_sessionId;
99 bool m_assistantIdHasBeenSet = false;
100 bool m_recommendationIdsHasBeenSet = false;
101 bool m_sessionIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ConnectWisdomService
106} // namespace Aws
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
NotifyRecommendationsReceivedRequest & AddRecommendationIds(RecommendationIdsT &&value)
NotifyRecommendationsReceivedRequest & WithRecommendationIds(RecommendationIdsT &&value)
NotifyRecommendationsReceivedRequest & WithAssistantId(AssistantIdT &&value)
AWS_CONNECTWISDOMSERVICE_API NotifyRecommendationsReceivedRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector