7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/model/ExportTaskStatusCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CloudWatchLogs
61 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
69 bool m_codeHasBeenSet =
false;
72 bool m_messageHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API ExportTaskStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportTaskStatus & WithMessage(const char *value)
void SetMessage(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API ExportTaskStatus()
void SetCode(const ExportTaskStatusCode &value)
void SetMessage(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
ExportTaskStatus & WithMessage(Aws::String &&value)
ExportTaskStatus & WithMessage(const Aws::String &value)
bool MessageHasBeenSet() const
void SetCode(ExportTaskStatusCode &&value)
const ExportTaskStatusCode & GetCode() const
ExportTaskStatus & WithCode(const ExportTaskStatusCode &value)
void SetMessage(const char *value)
bool CodeHasBeenSet() const
ExportTaskStatus & WithCode(ExportTaskStatusCode &&value)
AWS_CLOUDWATCHLOGS_API ExportTaskStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue