7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mailmanager/model/ExportState.h>
62 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
94 bool m_completionTimestampHasBeenSet =
false;
97 bool m_errorMessageHasBeenSet =
false;
100 bool m_stateHasBeenSet =
false;
103 bool m_submissionTimestampHasBeenSet =
false;
ExportStatus & WithCompletionTimestamp(Aws::Utils::DateTime &&value)
ExportStatus & WithErrorMessage(const char *value)
void SetState(const ExportState &value)
ExportStatus & WithErrorMessage(const Aws::String &value)
ExportStatus & WithSubmissionTimestamp(Aws::Utils::DateTime &&value)
void SetErrorMessage(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
AWS_MAILMANAGER_API ExportStatus()
const Aws::Utils::DateTime & GetCompletionTimestamp() const
ExportStatus & WithCompletionTimestamp(const Aws::Utils::DateTime &value)
AWS_MAILMANAGER_API ExportStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ExportStatus & WithState(ExportState &&value)
ExportStatus & WithErrorMessage(Aws::String &&value)
AWS_MAILMANAGER_API ExportStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(ExportState &&value)
void SetCompletionTimestamp(Aws::Utils::DateTime &&value)
bool SubmissionTimestampHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
ExportStatus & WithState(const ExportState &value)
void SetSubmissionTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetSubmissionTimestamp() const
const Aws::String & GetErrorMessage() const
void SetErrorMessage(const char *value)
void SetCompletionTimestamp(const Aws::Utils::DateTime &value)
void SetSubmissionTimestamp(const Aws::Utils::DateTime &value)
bool CompletionTimestampHasBeenSet() const
bool StateHasBeenSet() const
const ExportState & GetState() const
ExportStatus & WithSubmissionTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue