7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/AttachmentStatus.h>
10#include <aws/qbusiness/model/ErrorDetail.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
70 template<
typename ErrorT = ErrorDetail>
71 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
72 template<
typename ErrorT = ErrorDetail>
82 template<
typename AttachmentIdT = Aws::String>
83 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet =
true; m_attachmentId = std::forward<AttachmentIdT>(value); }
84 template<
typename AttachmentIdT = Aws::String>
94 template<
typename ConversationIdT = Aws::String>
95 void SetConversationId(ConversationIdT&& value) { m_conversationIdHasBeenSet =
true; m_conversationId = std::forward<ConversationIdT>(value); }
96 template<
typename ConversationIdT = Aws::String>
102 bool m_nameHasBeenSet =
false;
105 bool m_statusHasBeenSet =
false;
108 bool m_errorHasBeenSet =
false;
111 bool m_attachmentIdHasBeenSet =
false;
114 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