AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedAttachmentEvent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/AttachmentOutput.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 FailedAttachmentEvent();
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetConversationId() const{ return m_conversationId; }
48 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
49 inline void SetConversationId(const Aws::String& value) { m_conversationIdHasBeenSet = true; m_conversationId = value; }
50 inline void SetConversationId(Aws::String&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::move(value); }
51 inline void SetConversationId(const char* value) { m_conversationIdHasBeenSet = true; m_conversationId.assign(value); }
52 inline FailedAttachmentEvent& WithConversationId(const Aws::String& value) { SetConversationId(value); return *this;}
53 inline FailedAttachmentEvent& WithConversationId(Aws::String&& value) { SetConversationId(std::move(value)); return *this;}
54 inline FailedAttachmentEvent& WithConversationId(const char* value) { SetConversationId(value); return *this;}
56
58
62 inline const Aws::String& GetUserMessageId() const{ return m_userMessageId; }
63 inline bool UserMessageIdHasBeenSet() const { return m_userMessageIdHasBeenSet; }
64 inline void SetUserMessageId(const Aws::String& value) { m_userMessageIdHasBeenSet = true; m_userMessageId = value; }
65 inline void SetUserMessageId(Aws::String&& value) { m_userMessageIdHasBeenSet = true; m_userMessageId = std::move(value); }
66 inline void SetUserMessageId(const char* value) { m_userMessageIdHasBeenSet = true; m_userMessageId.assign(value); }
67 inline FailedAttachmentEvent& WithUserMessageId(const Aws::String& value) { SetUserMessageId(value); return *this;}
68 inline FailedAttachmentEvent& WithUserMessageId(Aws::String&& value) { SetUserMessageId(std::move(value)); return *this;}
69 inline FailedAttachmentEvent& WithUserMessageId(const char* value) { SetUserMessageId(value); return *this;}
71
73
77 inline const Aws::String& GetSystemMessageId() const{ return m_systemMessageId; }
78 inline bool SystemMessageIdHasBeenSet() const { return m_systemMessageIdHasBeenSet; }
79 inline void SetSystemMessageId(const Aws::String& value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId = value; }
80 inline void SetSystemMessageId(Aws::String&& value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId = std::move(value); }
81 inline void SetSystemMessageId(const char* value) { m_systemMessageIdHasBeenSet = true; m_systemMessageId.assign(value); }
82 inline FailedAttachmentEvent& WithSystemMessageId(const Aws::String& value) { SetSystemMessageId(value); return *this;}
83 inline FailedAttachmentEvent& WithSystemMessageId(Aws::String&& value) { SetSystemMessageId(std::move(value)); return *this;}
84 inline FailedAttachmentEvent& WithSystemMessageId(const char* value) { SetSystemMessageId(value); return *this;}
86
88
89 inline const AttachmentOutput& GetAttachment() const{ return m_attachment; }
90 inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; }
91 inline void SetAttachment(const AttachmentOutput& value) { m_attachmentHasBeenSet = true; m_attachment = value; }
92 inline void SetAttachment(AttachmentOutput&& value) { m_attachmentHasBeenSet = true; m_attachment = std::move(value); }
93 inline FailedAttachmentEvent& WithAttachment(const AttachmentOutput& value) { SetAttachment(value); return *this;}
94 inline FailedAttachmentEvent& WithAttachment(AttachmentOutput&& value) { SetAttachment(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_conversationId;
99 bool m_conversationIdHasBeenSet = false;
100
101 Aws::String m_userMessageId;
102 bool m_userMessageIdHasBeenSet = false;
103
104 Aws::String m_systemMessageId;
105 bool m_systemMessageIdHasBeenSet = false;
106
107 AttachmentOutput m_attachment;
108 bool m_attachmentHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace QBusiness
113} // namespace Aws
void SetAttachment(const AttachmentOutput &value)
FailedAttachmentEvent & WithUserMessageId(Aws::String &&value)
AWS_QBUSINESS_API FailedAttachmentEvent(Aws::Utils::Json::JsonView jsonValue)
FailedAttachmentEvent & WithAttachment(const AttachmentOutput &value)
FailedAttachmentEvent & WithConversationId(const Aws::String &value)
FailedAttachmentEvent & WithUserMessageId(const Aws::String &value)
AWS_QBUSINESS_API FailedAttachmentEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
FailedAttachmentEvent & WithSystemMessageId(Aws::String &&value)
FailedAttachmentEvent & WithAttachment(AttachmentOutput &&value)
const AttachmentOutput & GetAttachment() const
FailedAttachmentEvent & WithSystemMessageId(const char *value)
void SetSystemMessageId(const Aws::String &value)
FailedAttachmentEvent & WithConversationId(const char *value)
FailedAttachmentEvent & WithSystemMessageId(const Aws::String &value)
FailedAttachmentEvent & WithConversationId(Aws::String &&value)
FailedAttachmentEvent & WithUserMessageId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue