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/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.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 QConnect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QCONNECT_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_QCONNECT_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
54 inline const Aws::String& GetSessionId() const { return m_sessionId; }
55 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
56 template<typename SessionIdT = Aws::String>
57 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
58 template<typename SessionIdT = Aws::String>
59 NotifyRecommendationsReceivedRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetRecommendationIds() const { return m_recommendationIds; }
67 inline bool RecommendationIdsHasBeenSet() const { return m_recommendationIdsHasBeenSet; }
68 template<typename RecommendationIdsT = Aws::Vector<Aws::String>>
69 void SetRecommendationIds(RecommendationIdsT&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds = std::forward<RecommendationIdsT>(value); }
70 template<typename RecommendationIdsT = Aws::Vector<Aws::String>>
71 NotifyRecommendationsReceivedRequest& WithRecommendationIds(RecommendationIdsT&& value) { SetRecommendationIds(std::forward<RecommendationIdsT>(value)); return *this;}
72 template<typename RecommendationIdsT = Aws::String>
73 NotifyRecommendationsReceivedRequest& AddRecommendationIds(RecommendationIdsT&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.emplace_back(std::forward<RecommendationIdsT>(value)); return *this; }
75 private:
76
77 Aws::String m_assistantId;
78 bool m_assistantIdHasBeenSet = false;
79
80 Aws::String m_sessionId;
81 bool m_sessionIdHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_recommendationIds;
84 bool m_recommendationIdsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QConnect
89} // namespace Aws
AWS_QCONNECT_API Aws::String SerializePayload() const override
NotifyRecommendationsReceivedRequest & WithRecommendationIds(RecommendationIdsT &&value)
NotifyRecommendationsReceivedRequest & AddRecommendationIds(RecommendationIdsT &&value)
NotifyRecommendationsReceivedRequest & WithSessionId(SessionIdT &&value)
NotifyRecommendationsReceivedRequest & WithAssistantId(AssistantIdT &&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