7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
63 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
77 inline void SetFileId(
const char* value) { m_fileIdHasBeenSet =
true; m_fileId.assign(value); }
85 bool m_errorCodeHasBeenSet =
false;
88 bool m_errorMessageHasBeenSet =
false;
91 bool m_fileIdHasBeenSet =
false;
AttachedFileError & WithErrorMessage(const Aws::String &value)
AWS_CONNECT_API AttachedFileError & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorCode() const
const Aws::String & GetErrorMessage() const
void SetFileId(Aws::String &&value)
AttachedFileError & WithErrorCode(const char *value)
void SetErrorCode(const Aws::String &value)
AWS_CONNECT_API AttachedFileError(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const char *value)
void SetErrorCode(const char *value)
void SetErrorCode(Aws::String &&value)
AttachedFileError & WithErrorMessage(const char *value)
void SetErrorMessage(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
AttachedFileError & WithErrorCode(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
AttachedFileError & WithErrorCode(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFileId() const
bool FileIdHasBeenSet() const
void SetFileId(const Aws::String &value)
AttachedFileError & WithFileId(const Aws::String &value)
void SetFileId(const char *value)
AWS_CONNECT_API AttachedFileError()
AttachedFileError & WithFileId(Aws::String &&value)
AttachedFileError & WithFileId(const char *value)
AttachedFileError & WithErrorMessage(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue