AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
44 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
45 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
47 inline NotifyRecommendationsReceivedRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
48 inline NotifyRecommendationsReceivedRequest& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetRecommendationIds() const{ return m_recommendationIds; }
56 inline bool RecommendationIdsHasBeenSet() const { return m_recommendationIdsHasBeenSet; }
57 inline void SetRecommendationIds(const Aws::Vector<Aws::String>& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds = value; }
58 inline void SetRecommendationIds(Aws::Vector<Aws::String>&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds = std::move(value); }
61 inline NotifyRecommendationsReceivedRequest& AddRecommendationIds(const Aws::String& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(value); return *this; }
62 inline NotifyRecommendationsReceivedRequest& AddRecommendationIds(Aws::String&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(std::move(value)); return *this; }
63 inline NotifyRecommendationsReceivedRequest& AddRecommendationIds(const char* value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(value); return *this; }
65
67
71 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
72 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
73 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
74 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
75 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
76 inline NotifyRecommendationsReceivedRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
77 inline NotifyRecommendationsReceivedRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
78 inline NotifyRecommendationsReceivedRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
80 private:
81
82 Aws::String m_assistantId;
83 bool m_assistantIdHasBeenSet = false;
84
85 Aws::Vector<Aws::String> m_recommendationIds;
86 bool m_recommendationIdsHasBeenSet = false;
87
88 Aws::String m_sessionId;
89 bool m_sessionIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QConnect
94} // namespace Aws
AWS_QCONNECT_API Aws::String SerializePayload() const override
NotifyRecommendationsReceivedRequest & AddRecommendationIds(const Aws::String &value)
NotifyRecommendationsReceivedRequest & WithSessionId(const Aws::String &value)
NotifyRecommendationsReceivedRequest & WithSessionId(Aws::String &&value)
NotifyRecommendationsReceivedRequest & WithRecommendationIds(Aws::Vector< Aws::String > &&value)
NotifyRecommendationsReceivedRequest & WithSessionId(const char *value)
NotifyRecommendationsReceivedRequest & AddRecommendationIds(Aws::String &&value)
NotifyRecommendationsReceivedRequest & WithAssistantId(Aws::String &&value)
NotifyRecommendationsReceivedRequest & WithAssistantId(const Aws::String &value)
NotifyRecommendationsReceivedRequest & WithRecommendationIds(const Aws::Vector< Aws::String > &value)
NotifyRecommendationsReceivedRequest & WithAssistantId(const char *value)
NotifyRecommendationsReceivedRequest & AddRecommendationIds(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector