7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/backupsearch/model/SearchJobState.h>
9#include <aws/backupsearch/model/SearchScopeSummary.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BackupSearch {
43 template <
typename SearchJobIdentifierT = Aws::String>
45 m_searchJobIdentifierHasBeenSet =
true;
46 m_searchJobIdentifier = std::forward<SearchJobIdentifierT>(value);
48 template <
typename SearchJobIdentifierT = Aws::String>
62 template <
typename SearchJobArnT = Aws::String>
64 m_searchJobArnHasBeenSet =
true;
65 m_searchJobArn = std::forward<SearchJobArnT>(value);
67 template <
typename SearchJobArnT = Aws::String>
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
99 m_statusHasBeenSet =
true;
114 template <
typename CreationTimeT = Aws::Utils::DateTime>
116 m_creationTimeHasBeenSet =
true;
117 m_creationTime = std::forward<CreationTimeT>(value);
119 template <
typename CreationTimeT = Aws::Utils::DateTime>
132 template <
typename CompletionTimeT = Aws::Utils::DateTime>
134 m_completionTimeHasBeenSet =
true;
135 m_completionTime = std::forward<CompletionTimeT>(value);
137 template <
typename CompletionTimeT = Aws::Utils::DateTime>
153 template <
typename SearchScopeSummaryT = SearchScopeSummary>
155 m_searchScopeSummaryHasBeenSet =
true;
156 m_searchScopeSummary = std::forward<SearchScopeSummaryT>(value);
158 template <
typename SearchScopeSummaryT = SearchScopeSummary>
174 template <
typename StatusMessageT = Aws::String>
176 m_statusMessageHasBeenSet =
true;
177 m_statusMessage = std::forward<StatusMessageT>(value);
179 template <
typename StatusMessageT = Aws::String>
198 SearchScopeSummary m_searchScopeSummary;
201 bool m_searchJobIdentifierHasBeenSet =
false;
202 bool m_searchJobArnHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
205 bool m_creationTimeHasBeenSet =
false;
206 bool m_completionTimeHasBeenSet =
false;
207 bool m_searchScopeSummaryHasBeenSet =
false;
208 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