7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
10#include <aws/discovery/model/FileClassification.h>
11#include <aws/discovery/model/ImportStatus.h>
22namespace ApplicationDiscoveryService {
34 AWS_APPLICATIONDISCOVERYSERVICE_API
ImportTask() =
default;
46 template <
typename ImportTaskIdT = Aws::String>
48 m_importTaskIdHasBeenSet =
true;
49 m_importTaskId = std::forward<ImportTaskIdT>(value);
51 template <
typename ImportTaskIdT = Aws::String>
66 template <
typename ClientRequestTokenT = Aws::String>
68 m_clientRequestTokenHasBeenSet =
true;
69 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
71 template <
typename ClientRequestTokenT = Aws::String>
87 template <
typename NameT = Aws::String>
89 m_nameHasBeenSet =
true;
90 m_name = std::forward<NameT>(value);
92 template <
typename NameT = Aws::String>
94 SetName(std::forward<NameT>(value));
105 template <
typename ImportUrlT = Aws::String>
107 m_importUrlHasBeenSet =
true;
108 m_importUrl = std::forward<ImportUrlT>(value);
110 template <
typename ImportUrlT = Aws::String>
128 m_statusHasBeenSet =
true;
144 template <
typename ImportRequestTimeT = Aws::Utils::DateTime>
146 m_importRequestTimeHasBeenSet =
true;
147 m_importRequestTime = std::forward<ImportRequestTimeT>(value);
149 template <
typename ImportRequestTimeT = Aws::Utils::DateTime>
163 template <
typename ImportCompletionTimeT = Aws::Utils::DateTime>
165 m_importCompletionTimeHasBeenSet =
true;
166 m_importCompletionTime = std::forward<ImportCompletionTimeT>(value);
168 template <
typename ImportCompletionTimeT = Aws::Utils::DateTime>
182 template <
typename ImportDeletedTimeT = Aws::Utils::DateTime>
184 m_importDeletedTimeHasBeenSet =
true;
185 m_importDeletedTime = std::forward<ImportDeletedTimeT>(value);
187 template <
typename ImportDeletedTimeT = Aws::Utils::DateTime>
201 m_fileClassificationHasBeenSet =
true;
202 m_fileClassification = value;
218 m_serverImportSuccessHasBeenSet =
true;
219 m_serverImportSuccess = value;
235 m_serverImportFailureHasBeenSet =
true;
236 m_serverImportFailure = value;
252 m_applicationImportSuccessHasBeenSet =
true;
253 m_applicationImportSuccess = value;
269 m_applicationImportFailureHasBeenSet =
true;
270 m_applicationImportFailure = value;
293 template <
typename ErrorsAndFailedEntriesZipT = Aws::String>
295 m_errorsAndFailedEntriesZipHasBeenSet =
true;
296 m_errorsAndFailedEntriesZip = std::forward<ErrorsAndFailedEntriesZipT>(value);
298 template <
typename ErrorsAndFailedEntriesZipT = Aws::String>
323 int m_serverImportSuccess{0};
325 int m_serverImportFailure{0};
327 int m_applicationImportSuccess{0};
329 int m_applicationImportFailure{0};
332 bool m_importTaskIdHasBeenSet =
false;
333 bool m_clientRequestTokenHasBeenSet =
false;
334 bool m_nameHasBeenSet =
false;
335 bool m_importUrlHasBeenSet =
false;
336 bool m_statusHasBeenSet =
false;
337 bool m_importRequestTimeHasBeenSet =
false;
338 bool m_importCompletionTimeHasBeenSet =
false;
339 bool m_importDeletedTimeHasBeenSet =
false;
340 bool m_fileClassificationHasBeenSet =
false;
341 bool m_serverImportSuccessHasBeenSet =
false;
342 bool m_serverImportFailureHasBeenSet =
false;
343 bool m_applicationImportSuccessHasBeenSet =
false;
344 bool m_applicationImportFailureHasBeenSet =
false;
345 bool m_errorsAndFailedEntriesZipHasBeenSet =
false;
ImportTask & WithFileClassification(FileClassification value)
ImportTask & WithStatus(ImportStatus value)
void SetStatus(ImportStatus value)
void SetApplicationImportFailure(int value)
const Aws::String & GetErrorsAndFailedEntriesZip() const
bool StatusHasBeenSet() const
ImportTask & WithErrorsAndFailedEntriesZip(ErrorsAndFailedEntriesZipT &&value)
ImportTask & WithImportCompletionTime(ImportCompletionTimeT &&value)
ImportTask & WithImportRequestTime(ImportRequestTimeT &&value)
ImportTask & WithApplicationImportFailure(int value)
void SetClientRequestToken(ClientRequestTokenT &&value)
void SetErrorsAndFailedEntriesZip(ErrorsAndFailedEntriesZipT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportTask & WithApplicationImportSuccess(int value)
bool FileClassificationHasBeenSet() const
void SetImportUrl(ImportUrlT &&value)
ImportTask & WithImportDeletedTime(ImportDeletedTimeT &&value)
int GetApplicationImportFailure() const
bool ImportTaskIdHasBeenSet() const
const Aws::String & GetClientRequestToken() const
bool ApplicationImportSuccessHasBeenSet() const
const Aws::Utils::DateTime & GetImportCompletionTime() const
const Aws::String & GetImportTaskId() const
bool ServerImportSuccessHasBeenSet() const
void SetImportDeletedTime(ImportDeletedTimeT &&value)
void SetApplicationImportSuccess(int value)
void SetName(NameT &&value)
void SetImportTaskId(ImportTaskIdT &&value)
bool ApplicationImportFailureHasBeenSet() const
void SetImportCompletionTime(ImportCompletionTimeT &&value)
ImportTask & WithServerImportFailure(int value)
ImportTask & WithServerImportSuccess(int value)
const Aws::Utils::DateTime & GetImportDeletedTime() const
ImportTask & WithImportTaskId(ImportTaskIdT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask()=default
ImportTask & WithImportUrl(ImportUrlT &&value)
bool NameHasBeenSet() const
ImportTask & WithName(NameT &&value)
bool ImportUrlHasBeenSet() const
int GetServerImportFailure() const
bool ServerImportFailureHasBeenSet() const
int GetApplicationImportSuccess() const
AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask(Aws::Utils::Json::JsonView jsonValue)
void SetServerImportSuccess(int value)
ImportTask & WithClientRequestToken(ClientRequestTokenT &&value)
void SetImportRequestTime(ImportRequestTimeT &&value)
bool ErrorsAndFailedEntriesZipHasBeenSet() const
void SetFileClassification(FileClassification value)
const Aws::Utils::DateTime & GetImportRequestTime() const
ImportStatus GetStatus() const
void SetServerImportFailure(int value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ImportRequestTimeHasBeenSet() const
const Aws::String & GetImportUrl() const
bool ClientRequestTokenHasBeenSet() const
bool ImportCompletionTimeHasBeenSet() const
const Aws::String & GetName() const
int GetServerImportSuccess() const
FileClassification GetFileClassification() const
bool ImportDeletedTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue