7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backupsearch/model/SearchJobState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/backupsearch/model/SearchScopeSummary.h>
49 template<
typename SearchJobIdentifierT = Aws::String>
50 void SetSearchJobIdentifier(SearchJobIdentifierT&& value) { m_searchJobIdentifierHasBeenSet =
true; m_searchJobIdentifier = std::forward<SearchJobIdentifierT>(value); }
51 template<
typename SearchJobIdentifierT = Aws::String>
62 template<
typename SearchJobArnT = Aws::String>
63 void SetSearchJobArn(SearchJobArnT&& value) { m_searchJobArnHasBeenSet =
true; m_searchJobArn = std::forward<SearchJobArnT>(value); }
64 template<
typename SearchJobArnT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
96 template<
typename CreationTimeT = Aws::Utils::DateTime>
97 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
98 template<
typename CreationTimeT = Aws::Utils::DateTime>
108 template<
typename CompletionTimeT = Aws::Utils::DateTime>
109 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet =
true; m_completionTime = std::forward<CompletionTimeT>(value); }
110 template<
typename CompletionTimeT = Aws::Utils::DateTime>
123 template<
typename SearchScopeSummaryT = SearchScopeSummary>
124 void SetSearchScopeSummary(SearchScopeSummaryT&& value) { m_searchScopeSummaryHasBeenSet =
true; m_searchScopeSummary = std::forward<SearchScopeSummaryT>(value); }
125 template<
typename SearchScopeSummaryT = SearchScopeSummary>
138 template<
typename StatusMessageT = Aws::String>
139 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
140 template<
typename StatusMessageT = Aws::String>
146 bool m_searchJobIdentifierHasBeenSet =
false;
149 bool m_searchJobArnHasBeenSet =
false;
152 bool m_nameHasBeenSet =
false;
155 bool m_statusHasBeenSet =
false;
158 bool m_creationTimeHasBeenSet =
false;
161 bool m_completionTimeHasBeenSet =
false;
163 SearchScopeSummary m_searchScopeSummary;
164 bool m_searchScopeSummaryHasBeenSet =
false;
167 bool m_statusMessageHasBeenSet =
false;
bool StatusMessageHasBeenSet() const
SearchJobSummary & WithStatus(SearchJobState value)
bool CreationTimeHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
bool SearchScopeSummaryHasBeenSet() const
SearchJobSummary & WithSearchScopeSummary(SearchScopeSummaryT &&value)
SearchJobState GetStatus() const
bool NameHasBeenSet() const
SearchJobSummary & WithCompletionTime(CompletionTimeT &&value)
bool SearchJobIdentifierHasBeenSet() const
const Aws::Utils::DateTime & GetCompletionTime() const
void SetSearchScopeSummary(SearchScopeSummaryT &&value)
SearchJobSummary & WithSearchJobArn(SearchJobArnT &&value)
SearchJobSummary & WithStatusMessage(StatusMessageT &&value)
SearchJobSummary & WithCreationTime(CreationTimeT &&value)
bool CompletionTimeHasBeenSet() const
bool StatusHasBeenSet() const
bool SearchJobArnHasBeenSet() const
const Aws::String & GetStatusMessage() const
void SetCreationTime(CreationTimeT &&value)
void SetStatus(SearchJobState value)
AWS_BACKUPSEARCH_API SearchJobSummary()=default
void SetCompletionTime(CompletionTimeT &&value)
AWS_BACKUPSEARCH_API SearchJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSearchJobIdentifier(SearchJobIdentifierT &&value)
SearchJobSummary & WithSearchJobIdentifier(SearchJobIdentifierT &&value)
const Aws::String & GetSearchJobArn() const
void SetStatusMessage(StatusMessageT &&value)
SearchJobSummary & WithName(NameT &&value)
const SearchScopeSummary & GetSearchScopeSummary() const
AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSearchJobIdentifier() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_BACKUPSEARCH_API SearchJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSearchJobArn(SearchJobArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue