7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backupsearch/model/SearchScopeSummary.h>
10#include <aws/backupsearch/model/CurrentSearchProgress.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/backupsearch/model/SearchJobState.h>
13#include <aws/backupsearch/model/SearchScope.h>
14#include <aws/backupsearch/model/ItemFilters.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
60 template<
typename SearchScopeSummaryT = SearchScopeSummary>
61 void SetSearchScopeSummary(SearchScopeSummaryT&& value) { m_searchScopeSummaryHasBeenSet =
true; m_searchScopeSummary = std::forward<SearchScopeSummaryT>(value); }
62 template<
typename SearchScopeSummaryT = SearchScopeSummary>
72 template<
typename CurrentSearchProgressT = CurrentSearchProgress>
73 void SetCurrentSearchProgress(CurrentSearchProgressT&& value) { m_currentSearchProgressHasBeenSet =
true; m_currentSearchProgress = std::forward<CurrentSearchProgressT>(value); }
74 template<
typename CurrentSearchProgressT = CurrentSearchProgress>
86 template<
typename StatusMessageT = Aws::String>
87 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
88 template<
typename StatusMessageT = Aws::String>
98 template<
typename EncryptionKeyArnT = Aws::String>
99 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet =
true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
100 template<
typename EncryptionKeyArnT = Aws::String>
112 template<
typename CompletionTimeT = Aws::Utils::DateTime>
113 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet =
true; m_completionTime = std::forward<CompletionTimeT>(value); }
114 template<
typename CompletionTimeT = Aws::Utils::DateTime>
135 template<
typename SearchScopeT = SearchScope>
136 void SetSearchScope(SearchScopeT&& value) { m_searchScopeHasBeenSet =
true; m_searchScope = std::forward<SearchScopeT>(value); }
137 template<
typename SearchScopeT = SearchScope>
147 template<
typename ItemFiltersT = ItemFilters>
148 void SetItemFilters(ItemFiltersT&& value) { m_itemFiltersHasBeenSet =
true; m_itemFilters = std::forward<ItemFiltersT>(value); }
149 template<
typename ItemFiltersT = ItemFilters>
161 template<
typename CreationTimeT = Aws::Utils::DateTime>
162 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
163 template<
typename CreationTimeT = Aws::Utils::DateTime>
172 template<
typename SearchJobIdentifierT = Aws::String>
173 void SetSearchJobIdentifier(SearchJobIdentifierT&& value) { m_searchJobIdentifierHasBeenSet =
true; m_searchJobIdentifier = std::forward<SearchJobIdentifierT>(value); }
174 template<
typename SearchJobIdentifierT = Aws::String>
184 template<
typename SearchJobArnT = Aws::String>
185 void SetSearchJobArn(SearchJobArnT&& value) { m_searchJobArnHasBeenSet =
true; m_searchJobArn = std::forward<SearchJobArnT>(value); }
186 template<
typename SearchJobArnT = Aws::String>
193 template<
typename RequestIdT = Aws::String>
194 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
195 template<
typename RequestIdT = Aws::String>
201 bool m_nameHasBeenSet =
false;
204 bool m_searchScopeSummaryHasBeenSet =
false;
207 bool m_currentSearchProgressHasBeenSet =
false;
210 bool m_statusMessageHasBeenSet =
false;
213 bool m_encryptionKeyArnHasBeenSet =
false;
216 bool m_completionTimeHasBeenSet =
false;
219 bool m_statusHasBeenSet =
false;
221 SearchScope m_searchScope;
222 bool m_searchScopeHasBeenSet =
false;
224 ItemFilters m_itemFilters;
225 bool m_itemFiltersHasBeenSet =
false;
228 bool m_creationTimeHasBeenSet =
false;
231 bool m_searchJobIdentifierHasBeenSet =
false;
234 bool m_searchJobArnHasBeenSet =
false;
237 bool m_requestIdHasBeenSet =
false;
const SearchScopeSummary & GetSearchScopeSummary() const
GetSearchJobResult & WithRequestId(RequestIdT &&value)
const ItemFilters & GetItemFilters() const
GetSearchJobResult & WithCreationTime(CreationTimeT &&value)
GetSearchJobResult & WithCompletionTime(CompletionTimeT &&value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetItemFilters(ItemFiltersT &&value)
const Aws::String & GetName() const
GetSearchJobResult & WithSearchScope(SearchScopeT &&value)
GetSearchJobResult & WithStatusMessage(StatusMessageT &&value)
void SetCurrentSearchProgress(CurrentSearchProgressT &&value)
void SetSearchScope(SearchScopeT &&value)
const Aws::String & GetSearchJobIdentifier() const
void SetSearchScopeSummary(SearchScopeSummaryT &&value)
void SetSearchJobArn(SearchJobArnT &&value)
void SetName(NameT &&value)
const Aws::String & GetRequestId() const
GetSearchJobResult & WithCurrentSearchProgress(CurrentSearchProgressT &&value)
SearchJobState GetStatus() const
const Aws::String & GetSearchJobArn() const
GetSearchJobResult & WithItemFilters(ItemFiltersT &&value)
const CurrentSearchProgress & GetCurrentSearchProgress() const
const SearchScope & GetSearchScope() const
const Aws::Utils::DateTime & GetCompletionTime() const
void SetStatus(SearchJobState value)
const Aws::String & GetEncryptionKeyArn() const
GetSearchJobResult & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetRequestId(RequestIdT &&value)
GetSearchJobResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCompletionTime(CompletionTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetStatusMessage() const
GetSearchJobResult & WithSearchScopeSummary(SearchScopeSummaryT &&value)
GetSearchJobResult & WithSearchJobArn(SearchJobArnT &&value)
AWS_BACKUPSEARCH_API GetSearchJobResult()=default
GetSearchJobResult & WithStatus(SearchJobState value)
GetSearchJobResult & WithSearchJobIdentifier(SearchJobIdentifierT &&value)
void SetSearchJobIdentifier(SearchJobIdentifierT &&value)
AWS_BACKUPSEARCH_API GetSearchJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUPSEARCH_API GetSearchJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatusMessage(StatusMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue