7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/SearchState.h>
21namespace MailManager {
42 template <
typename SubmissionTimestampT = Aws::Utils::DateTime>
44 m_submissionTimestampHasBeenSet =
true;
45 m_submissionTimestamp = std::forward<SubmissionTimestampT>(value);
47 template <
typename SubmissionTimestampT = Aws::Utils::DateTime>
60 template <
typename CompletionTimestampT = Aws::Utils::DateTime>
62 m_completionTimestampHasBeenSet =
true;
63 m_completionTimestamp = std::forward<CompletionTimestampT>(value);
65 template <
typename CompletionTimestampT = Aws::Utils::DateTime>
79 m_stateHasBeenSet =
true;
94 template <
typename ErrorMessageT = Aws::String>
96 m_errorMessageHasBeenSet =
true;
97 m_errorMessage = std::forward<ErrorMessageT>(value);
99 template <
typename ErrorMessageT = Aws::String>
113 bool m_submissionTimestampHasBeenSet =
false;
114 bool m_completionTimestampHasBeenSet =
false;
115 bool m_stateHasBeenSet =
false;
116 bool m_errorMessageHasBeenSet =
false;
SearchStatus & WithSubmissionTimestamp(SubmissionTimestampT &&value)
bool ErrorMessageHasBeenSet() const
AWS_MAILMANAGER_API SearchStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
SearchStatus & WithCompletionTimestamp(CompletionTimestampT &&value)
SearchState GetState() const
bool CompletionTimestampHasBeenSet() const
SearchStatus & WithState(SearchState value)
SearchStatus & WithErrorMessage(ErrorMessageT &&value)
AWS_MAILMANAGER_API SearchStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCompletionTimestamp() const
void SetErrorMessage(ErrorMessageT &&value)
void SetCompletionTimestamp(CompletionTimestampT &&value)
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetSubmissionTimestamp() const
void SetSubmissionTimestamp(SubmissionTimestampT &&value)
AWS_MAILMANAGER_API SearchStatus()=default
bool SubmissionTimestampHasBeenSet() const
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(SearchState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue