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>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 bool m_nameHasBeenSet =
false;
85 bool m_statusHasBeenSet =
false;
88 bool m_errorHasBeenSet =
false;
AWS_QBUSINESS_API AttachmentOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
AttachmentOutput & WithName(Aws::String &&value)
AttachmentOutput & WithName(const Aws::String &value)
AWS_QBUSINESS_API AttachmentOutput()
void SetStatus(AttachmentStatus &&value)
void SetError(ErrorDetail &&value)
const AttachmentStatus & GetStatus() const
AttachmentOutput & WithStatus(const AttachmentStatus &value)
bool ErrorHasBeenSet() const
const ErrorDetail & GetError() const
void SetName(const char *value)
AttachmentOutput & WithName(const char *value)
AttachmentOutput & WithError(const ErrorDetail &value)
void SetName(const Aws::String &value)
void SetError(const ErrorDetail &value)
AWS_QBUSINESS_API AttachmentOutput(Aws::Utils::Json::JsonView jsonValue)
AttachmentOutput & WithStatus(AttachmentStatus &&value)
void SetName(Aws::String &&value)
void SetStatus(const AttachmentStatus &value)
AttachmentOutput & WithError(ErrorDetail &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue