7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9#include <aws/qbusiness/model/AttachmentStatus.h>
10#include <aws/qbusiness/model/ErrorDetail.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
61 m_statusHasBeenSet =
true;
76 template <
typename ErrorT = ErrorDetail>
78 m_errorHasBeenSet =
true;
79 m_error = std::forward<ErrorT>(value);
81 template <
typename ErrorT = ErrorDetail>
83 SetError(std::forward<ErrorT>(value));
94 template <
typename AttachmentIdT = Aws::String>
96 m_attachmentIdHasBeenSet =
true;
97 m_attachmentId = std::forward<AttachmentIdT>(value);
99 template <
typename AttachmentIdT = Aws::String>
112 template <
typename ConversationIdT = Aws::String>
114 m_conversationIdHasBeenSet =
true;
115 m_conversationId = std::forward<ConversationIdT>(value);
117 template <
typename ConversationIdT = Aws::String>
133 bool m_nameHasBeenSet =
false;
134 bool m_statusHasBeenSet =
false;
135 bool m_errorHasBeenSet =
false;
136 bool m_attachmentIdHasBeenSet =
false;
137 bool m_conversationIdHasBeenSet =
false;
AttachmentOutput & WithStatus(AttachmentStatus value)
AWS_QBUSINESS_API AttachmentOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetStatus(AttachmentStatus value)
bool NameHasBeenSet() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
void SetError(ErrorT &&value)
bool AttachmentIdHasBeenSet() const
AWS_QBUSINESS_API AttachmentOutput()=default
AttachmentOutput & WithError(ErrorT &&value)
AttachmentStatus GetStatus() const
bool ConversationIdHasBeenSet() const
const Aws::String & GetConversationId() const
void SetAttachmentId(AttachmentIdT &&value)
void SetConversationId(ConversationIdT &&value)
const Aws::String & GetAttachmentId() const
AttachmentOutput & WithConversationId(ConversationIdT &&value)
bool ErrorHasBeenSet() const
const ErrorDetail & GetError() const
AttachmentOutput & WithAttachmentId(AttachmentIdT &&value)
AWS_QBUSINESS_API AttachmentOutput(Aws::Utils::Json::JsonView jsonValue)
AttachmentOutput & WithName(NameT &&value)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue