AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NotifyRecommendationsReceivedRequest.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConnectWisdomService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECTWISDOMSERVICE_API NotifyRecommendationsReceivedRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "NotifyRecommendationsReceived"; }
32
33 AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
42 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
43 template<typename AssistantIdT = Aws::String>
44 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::forward<AssistantIdT>(value); }
45 template<typename AssistantIdT = Aws::String>
46 NotifyRecommendationsReceivedRequest& WithAssistantId(AssistantIdT&& value) { SetAssistantId(std::forward<AssistantIdT>(value)); return *this;}
48
50
53 inline const Aws::Vector<Aws::String>& GetRecommendationIds() const { return m_recommendationIds; }
54 inline bool RecommendationIdsHasBeenSet() const { return m_recommendationIdsHasBeenSet; }
55 template<typename RecommendationIdsT = Aws::Vector<Aws::String>>
56 void SetRecommendationIds(RecommendationIdsT&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds = std::forward<RecommendationIdsT>(value); }
57 template<typename RecommendationIdsT = Aws::Vector<Aws::String>>
58 NotifyRecommendationsReceivedRequest& WithRecommendationIds(RecommendationIdsT&& value) { SetRecommendationIds(std::forward<RecommendationIdsT>(value)); return *this;}
59 template<typename RecommendationIdsT = Aws::String>
60 NotifyRecommendationsReceivedRequest& AddRecommendationIds(RecommendationIdsT&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.emplace_back(std::forward<RecommendationIdsT>(value)); return *this; }
62
64
68 inline const Aws::String& GetSessionId() const { return m_sessionId; }
69 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
70 template<typename SessionIdT = Aws::String>
71 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
72 template<typename SessionIdT = Aws::String>
73 NotifyRecommendationsReceivedRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_assistantId;
78 bool m_assistantIdHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_recommendationIds;
81 bool m_recommendationIdsHasBeenSet = false;
82
83 Aws::String m_sessionId;
84 bool m_sessionIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ConnectWisdomService
89} // 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