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/SearchState.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;
SearchStatus & WithState(SearchState &&value)
SearchStatus & WithCompletionTimestamp(const Aws::Utils::DateTime &value)
SearchStatus & WithErrorMessage(const char *value)
SearchStatus & WithSubmissionTimestamp(Aws::Utils::DateTime &&value)
bool ErrorMessageHasBeenSet() const
AWS_MAILMANAGER_API SearchStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
SearchStatus & WithState(const SearchState &value)
bool CompletionTimestampHasBeenSet() const
SearchStatus & WithErrorMessage(const Aws::String &value)
AWS_MAILMANAGER_API SearchStatus(Aws::Utils::Json::JsonView jsonValue)
SearchStatus & WithErrorMessage(Aws::String &&value)
void SetCompletionTimestamp(const Aws::Utils::DateTime &value)
void SetErrorMessage(const char *value)
const SearchState & GetState() const
const Aws::Utils::DateTime & GetCompletionTimestamp() const
AWS_MAILMANAGER_API SearchStatus()
void SetState(const SearchState &value)
void SetCompletionTimestamp(Aws::Utils::DateTime &&value)
void SetSubmissionTimestamp(const Aws::Utils::DateTime &value)
void SetState(SearchState &&value)
SearchStatus & WithCompletionTimestamp(Aws::Utils::DateTime &&value)
bool StateHasBeenSet() const
SearchStatus & WithSubmissionTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetSubmissionTimestamp() const
void SetErrorMessage(const Aws::String &value)
void SetSubmissionTimestamp(Aws::Utils::DateTime &&value)
bool SubmissionTimestampHasBeenSet() const
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue