7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/backupsearch/model/CurrentSearchProgress.h>
9#include <aws/backupsearch/model/ItemFilters.h>
10#include <aws/backupsearch/model/SearchJobState.h>
11#include <aws/backupsearch/model/SearchScope.h>
12#include <aws/backupsearch/model/SearchScopeSummary.h>
13#include <aws/core/http/HttpResponse.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace BackupSearch {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
61 template <
typename SearchScopeSummaryT = SearchScopeSummary>
63 m_searchScopeSummaryHasBeenSet =
true;
64 m_searchScopeSummary = std::forward<SearchScopeSummaryT>(value);
66 template <
typename SearchScopeSummaryT = SearchScopeSummary>
79 template <
typename CurrentSearchProgressT = CurrentSearchProgress>
81 m_currentSearchProgressHasBeenSet =
true;
82 m_currentSearchProgress = std::forward<CurrentSearchProgressT>(value);
84 template <
typename CurrentSearchProgressT = CurrentSearchProgress>
99 template <
typename StatusMessageT = Aws::String>
101 m_statusMessageHasBeenSet =
true;
102 m_statusMessage = std::forward<StatusMessageT>(value);
104 template <
typename StatusMessageT = Aws::String>
117 template <
typename EncryptionKeyArnT = Aws::String>
119 m_encryptionKeyArnHasBeenSet =
true;
120 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
122 template <
typename EncryptionKeyArnT = Aws::String>
137 template <
typename CompletionTimeT = Aws::Utils::DateTime>
139 m_completionTimeHasBeenSet =
true;
140 m_completionTime = std::forward<CompletionTimeT>(value);
142 template <
typename CompletionTimeT = Aws::Utils::DateTime>
158 m_statusHasBeenSet =
true;
172 template <
typename SearchScopeT = SearchScope>
174 m_searchScopeHasBeenSet =
true;
175 m_searchScope = std::forward<SearchScopeT>(value);
177 template <
typename SearchScopeT = SearchScope>
190 template <
typename ItemFiltersT = ItemFilters>
192 m_itemFiltersHasBeenSet =
true;
193 m_itemFilters = std::forward<ItemFiltersT>(value);
195 template <
typename ItemFiltersT = ItemFilters>
210 template <
typename CreationTimeT = Aws::Utils::DateTime>
212 m_creationTimeHasBeenSet =
true;
213 m_creationTime = std::forward<CreationTimeT>(value);
215 template <
typename CreationTimeT = Aws::Utils::DateTime>
227 template <
typename SearchJobIdentifierT = Aws::String>
229 m_searchJobIdentifierHasBeenSet =
true;
230 m_searchJobIdentifier = std::forward<SearchJobIdentifierT>(value);
232 template <
typename SearchJobIdentifierT = Aws::String>
245 template <
typename SearchJobArnT = Aws::String>
247 m_searchJobArnHasBeenSet =
true;
248 m_searchJobArn = std::forward<SearchJobArnT>(value);
250 template <
typename SearchJobArnT = Aws::String>
260 template <
typename RequestIdT = Aws::String>
262 m_requestIdHasBeenSet =
true;
263 m_requestId = std::forward<RequestIdT>(value);
265 template <
typename RequestIdT = Aws::String>
288 SearchScope m_searchScope;
290 ItemFilters m_itemFilters;
300 bool m_nameHasBeenSet =
false;
301 bool m_searchScopeSummaryHasBeenSet =
false;
302 bool m_currentSearchProgressHasBeenSet =
false;
303 bool m_statusMessageHasBeenSet =
false;
304 bool m_encryptionKeyArnHasBeenSet =
false;
305 bool m_completionTimeHasBeenSet =
false;
306 bool m_statusHasBeenSet =
false;
307 bool m_searchScopeHasBeenSet =
false;
308 bool m_itemFiltersHasBeenSet =
false;
309 bool m_creationTimeHasBeenSet =
false;
310 bool m_searchJobIdentifierHasBeenSet =
false;
311 bool m_searchJobArnHasBeenSet =
false;
312 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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