7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migrationhubstrategy/model/ImportFileTaskStatus.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace MigrationHubStrategyRecommendations
42 template<
typename CompletionTimeT = Aws::Utils::DateTime>
43 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet =
true; m_completionTime = std::forward<CompletionTimeT>(value); }
44 template<
typename CompletionTimeT = Aws::Utils::DateTime>
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
65 template<
typename ImportNameT = Aws::String>
66 void SetImportName(ImportNameT&& value) { m_importNameHasBeenSet =
true; m_importName = std::forward<ImportNameT>(value); }
67 template<
typename ImportNameT = Aws::String>
76 template<
typename InputS3BucketT = Aws::String>
77 void SetInputS3Bucket(InputS3BucketT&& value) { m_inputS3BucketHasBeenSet =
true; m_inputS3Bucket = std::forward<InputS3BucketT>(value); }
78 template<
typename InputS3BucketT = Aws::String>
87 template<
typename InputS3KeyT = Aws::String>
88 void SetInputS3Key(InputS3KeyT&& value) { m_inputS3KeyHasBeenSet =
true; m_inputS3Key = std::forward<InputS3KeyT>(value); }
89 template<
typename InputS3KeyT = Aws::String>
116 template<
typename StartTimeT = Aws::Utils::DateTime>
117 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
118 template<
typename StartTimeT = Aws::Utils::DateTime>
136 template<
typename StatusReportS3BucketT = Aws::String>
137 void SetStatusReportS3Bucket(StatusReportS3BucketT&& value) { m_statusReportS3BucketHasBeenSet =
true; m_statusReportS3Bucket = std::forward<StatusReportS3BucketT>(value); }
138 template<
typename StatusReportS3BucketT = Aws::String>
148 template<
typename StatusReportS3KeyT = Aws::String>
149 void SetStatusReportS3Key(StatusReportS3KeyT&& value) { m_statusReportS3KeyHasBeenSet =
true; m_statusReportS3Key = std::forward<StatusReportS3KeyT>(value); }
150 template<
typename StatusReportS3KeyT = Aws::String>
157 template<
typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
159 template<
typename RequestIdT = Aws::String>
165 bool m_completionTimeHasBeenSet =
false;
168 bool m_idHasBeenSet =
false;
171 bool m_importNameHasBeenSet =
false;
174 bool m_inputS3BucketHasBeenSet =
false;
177 bool m_inputS3KeyHasBeenSet =
false;
179 int m_numberOfRecordsFailed{0};
180 bool m_numberOfRecordsFailedHasBeenSet =
false;
182 int m_numberOfRecordsSuccess{0};
183 bool m_numberOfRecordsSuccessHasBeenSet =
false;
186 bool m_startTimeHasBeenSet =
false;
189 bool m_statusHasBeenSet =
false;
192 bool m_statusReportS3BucketHasBeenSet =
false;
195 bool m_statusReportS3KeyHasBeenSet =
false;
198 bool m_requestIdHasBeenSet =
false;
GetImportFileTaskResult & WithRequestId(RequestIdT &&value)
void SetNumberOfRecordsSuccess(int value)
const Aws::String & GetId() const
GetImportFileTaskResult & WithInputS3Key(InputS3KeyT &&value)
GetImportFileTaskResult & WithId(IdT &&value)
GetImportFileTaskResult & WithCompletionTime(CompletionTimeT &&value)
const Aws::String & GetInputS3Bucket() const
void SetStatus(ImportFileTaskStatus value)
void SetStatusReportS3Key(StatusReportS3KeyT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult()=default
void SetImportName(ImportNameT &&value)
void SetNumberOfRecordsFailed(int value)
int GetNumberOfRecordsSuccess() const
GetImportFileTaskResult & WithInputS3Bucket(InputS3BucketT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetStartTime() const
ImportFileTaskStatus GetStatus() const
const Aws::String & GetStatusReportS3Key() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetInputS3Key() const
GetImportFileTaskResult & WithStartTime(StartTimeT &&value)
void SetInputS3Bucket(InputS3BucketT &&value)
GetImportFileTaskResult & WithNumberOfRecordsSuccess(int value)
GetImportFileTaskResult & WithStatusReportS3Key(StatusReportS3KeyT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportFileTaskResult & WithStatusReportS3Bucket(StatusReportS3BucketT &&value)
GetImportFileTaskResult & WithImportName(ImportNameT &&value)
GetImportFileTaskResult & WithNumberOfRecordsFailed(int value)
int GetNumberOfRecordsFailed() const
const Aws::String & GetRequestId() const
const Aws::String & GetStatusReportS3Bucket() const
GetImportFileTaskResult & WithStatus(ImportFileTaskStatus value)
void SetStartTime(StartTimeT &&value)
void SetInputS3Key(InputS3KeyT &&value)
const Aws::String & GetImportName() const
const Aws::Utils::DateTime & GetCompletionTime() const
void SetStatusReportS3Bucket(StatusReportS3BucketT &&value)
void SetCompletionTime(CompletionTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue