AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TextOutputEvent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QBUSINESS_API TextOutputEvent();
36 AWS_QBUSINESS_API TextOutputEvent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetConversationId() const{ return m_conversationId; }
47 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
48 inline void SetConversationId(const Aws::String& value) { m_conversationIdHasBeenSet = true; m_conversationId = value; }
49 inline void SetConversationId(Aws::String&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::move(value); }
50 inline void SetConversationId(const char* value) { m_conversationIdHasBeenSet = true; m_conversationId.assign(value); }
51 inline TextOutputEvent& WithConversationId(const Aws::String& value) { SetConversationId(value); return *this;}
52 inline TextOutputEvent& WithConversationId(Aws::String&& value) { SetConversationId(std::move(value)); return *this;}
53 inline TextOutputEvent& WithConversationId(const char* value) { SetConversationId(value); return *this;}
55
57
60 inline const Aws::String& GetUserMessageId() const{ return m_userMessageId; }
61 inline bool UserMessageIdHasBeenSet() const { return m_userMessageIdHasBeenSet; }
62 inline void SetUserMessageId(const Aws::String& value) { m_userMessageIdHasBeenSet = true; m_userMessageId = value; }
63 inline void SetUserMessageId(Aws::String&& value) { m_userMessageIdHasBeenSet = true; m_userMessageId = std::move(value); }
64 inline void SetUserMessageId(const char* value) { m_userMessageIdHasBeenSet = true; m_userMessageId.assign(value); }
65 inline TextOutputEvent& WithUserMessageId(const Aws::String& value) { SetUserMessageId(value); return *this;}
66 inline TextOutputEvent& WithUserMessageId(Aws::String&& value) { SetUserMessageId(std::move(value)); return *this;}
67 inline TextOutputEvent& WithUserMessageId(const char* value) { SetUserMessageId(value); return *this;}
69
71
75 inline const Aws::String& GetSystemMessageId() const{ return m_systemMessageId; }
76 inline bool SystemMessageIdHasBeenSet() const { return m_systemMessageIdHasBeenSet; }
77 inline void SetSystemMessageId(const Aws::String& value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId = value; }
78 inline void SetSystemMessageId(Aws::String&& value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId = std::move(value); }
79 inline void SetSystemMessageId(const char* value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId.assign(value); }
80 inline TextOutputEvent& WithSystemMessageId(const Aws::String& value) { SetSystemMessageId(value); return *this;}
81 inline TextOutputEvent& WithSystemMessageId(Aws::String&& value) { SetSystemMessageId(std::move(value)); return *this;}
82 inline TextOutputEvent& WithSystemMessageId(const char* value) { SetSystemMessageId(value); return *this;}
84
86
89 inline const Aws::String& GetSystemMessage() const{ return m_systemMessage; }
90 inline bool SystemMessageHasBeenSet() const { return m_systemMessageHasBeenSet; }
91 inline void SetSystemMessage(const Aws::String& value) { m_systemMessageHasBeenSet = true; m_systemMessage = value; }
92 inline void SetSystemMessage(Aws::String&& value) { m_systemMessageHasBeenSet = true; m_systemMessage = std::move(value); }
93 inline void SetSystemMessage(const char* value) { m_systemMessageHasBeenSet = true; m_systemMessage.assign(value); }
94 inline TextOutputEvent& WithSystemMessage(const Aws::String& value) { SetSystemMessage(value); return *this;}
95 inline TextOutputEvent& WithSystemMessage(Aws::String&& value) { SetSystemMessage(std::move(value)); return *this;}
96 inline TextOutputEvent& WithSystemMessage(const char* value) { SetSystemMessage(value); return *this;}
98 private:
99
100 Aws::String m_conversationId;
101 bool m_conversationIdHasBeenSet = false;
102
103 Aws::String m_userMessageId;
104 bool m_userMessageIdHasBeenSet = false;
105
106 Aws::String m_systemMessageId;
107 bool m_systemMessageIdHasBeenSet = false;
108
109 Aws::String m_systemMessage;
110 bool m_systemMessageHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace QBusiness
115} // namespace Aws
TextOutputEvent & WithSystemMessageId(const char *value)
void SetSystemMessageId(Aws::String &&value)
TextOutputEvent & WithSystemMessage(const Aws::String &value)
TextOutputEvent & WithUserMessageId(Aws::String &&value)
void SetSystemMessage(const Aws::String &value)
const Aws::String & GetSystemMessage() const
void SetConversationId(const Aws::String &value)
void SetUserMessageId(const Aws::String &value)
const Aws::String & GetUserMessageId() const
void SetUserMessageId(const char *value)
TextOutputEvent & WithSystemMessage(const char *value)
TextOutputEvent & WithSystemMessageId(Aws::String &&value)
TextOutputEvent & WithUserMessageId(const char *value)
TextOutputEvent & WithUserMessageId(const Aws::String &value)
void SetConversationId(Aws::String &&value)
void SetUserMessageId(Aws::String &&value)
void SetSystemMessageId(const char *value)
TextOutputEvent & WithConversationId(const char *value)
TextOutputEvent & WithConversationId(Aws::String &&value)
TextOutputEvent & WithConversationId(const Aws::String &value)
const Aws::String & GetConversationId() const
AWS_QBUSINESS_API TextOutputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSystemMessage(Aws::String &&value)
void SetSystemMessageId(const Aws::String &value)
TextOutputEvent & WithSystemMessageId(const Aws::String &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSystemMessageId() const
void SetConversationId(const char *value)
void SetSystemMessage(const char *value)
AWS_QBUSINESS_API TextOutputEvent(Aws::Utils::Json::JsonView jsonValue)
TextOutputEvent & WithSystemMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue