AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TextOutputEvent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/SystemMessageType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QBUSINESS_API TextOutputEvent() = default;
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline SystemMessageType GetSystemMessageType() const { return m_systemMessageType; }
53 inline bool SystemMessageTypeHasBeenSet() const { return m_systemMessageTypeHasBeenSet; }
54 inline void SetSystemMessageType(SystemMessageType value) { m_systemMessageTypeHasBeenSet = true; m_systemMessageType = value; }
57
59
63 inline const Aws::String& GetConversationId() const { return m_conversationId; }
64 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
65 template<typename ConversationIdT = Aws::String>
66 void SetConversationId(ConversationIdT&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::forward<ConversationIdT>(value); }
67 template<typename ConversationIdT = Aws::String>
68 TextOutputEvent& WithConversationId(ConversationIdT&& value) { SetConversationId(std::forward<ConversationIdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetUserMessageId() const { return m_userMessageId; }
76 inline bool UserMessageIdHasBeenSet() const { return m_userMessageIdHasBeenSet; }
77 template<typename UserMessageIdT = Aws::String>
78 void SetUserMessageId(UserMessageIdT&& value) { m_userMessageIdHasBeenSet = true; m_userMessageId = std::forward<UserMessageIdT>(value); }
79 template<typename UserMessageIdT = Aws::String>
80 TextOutputEvent& WithUserMessageId(UserMessageIdT&& value) { SetUserMessageId(std::forward<UserMessageIdT>(value)); return *this;}
82
84
88 inline const Aws::String& GetSystemMessageId() const { return m_systemMessageId; }
89 inline bool SystemMessageIdHasBeenSet() const { return m_systemMessageIdHasBeenSet; }
90 template<typename SystemMessageIdT = Aws::String>
91 void SetSystemMessageId(SystemMessageIdT&& value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId = std::forward<SystemMessageIdT>(value); }
92 template<typename SystemMessageIdT = Aws::String>
93 TextOutputEvent& WithSystemMessageId(SystemMessageIdT&& value) { SetSystemMessageId(std::forward<SystemMessageIdT>(value)); return *this;}
95
97
100 inline const Aws::String& GetSystemMessage() const { return m_systemMessage; }
101 inline bool SystemMessageHasBeenSet() const { return m_systemMessageHasBeenSet; }
102 template<typename SystemMessageT = Aws::String>
103 void SetSystemMessage(SystemMessageT&& value) { m_systemMessageHasBeenSet = true; m_systemMessage = std::forward<SystemMessageT>(value); }
104 template<typename SystemMessageT = Aws::String>
105 TextOutputEvent& WithSystemMessage(SystemMessageT&& value) { SetSystemMessage(std::forward<SystemMessageT>(value)); return *this;}
107 private:
108
110 bool m_systemMessageTypeHasBeenSet = false;
111
112 Aws::String m_conversationId;
113 bool m_conversationIdHasBeenSet = false;
114
115 Aws::String m_userMessageId;
116 bool m_userMessageIdHasBeenSet = false;
117
118 Aws::String m_systemMessageId;
119 bool m_systemMessageIdHasBeenSet = false;
120
121 Aws::String m_systemMessage;
122 bool m_systemMessageHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QBusiness
127} // namespace Aws
void SetSystemMessageId(SystemMessageIdT &&value)
void SetUserMessageId(UserMessageIdT &&value)
TextOutputEvent & WithSystemMessage(SystemMessageT &&value)
const Aws::String & GetSystemMessage() const
void SetSystemMessage(SystemMessageT &&value)
const Aws::String & GetUserMessageId() const
TextOutputEvent & WithConversationId(ConversationIdT &&value)
TextOutputEvent & WithUserMessageId(UserMessageIdT &&value)
AWS_QBUSINESS_API TextOutputEvent()=default
SystemMessageType GetSystemMessageType() const
void SetConversationId(ConversationIdT &&value)
TextOutputEvent & WithSystemMessageType(SystemMessageType value)
const Aws::String & GetConversationId() const
AWS_QBUSINESS_API TextOutputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSystemMessageType(SystemMessageType value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSystemMessageId() const
TextOutputEvent & WithSystemMessageId(SystemMessageIdT &&value)
AWS_QBUSINESS_API TextOutputEvent(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue