AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetImportFileTaskResult.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MigrationHubStrategyRecommendations
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult() = default;
33 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35
36
38
41 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
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>
45 GetImportFileTaskResult& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
47
49
53 inline const Aws::String& GetId() const { return m_id; }
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>
57 GetImportFileTaskResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetImportName() const { return m_importName; }
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>
68 GetImportFileTaskResult& WithImportName(ImportNameT&& value) { SetImportName(std::forward<ImportNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetInputS3Bucket() const { return m_inputS3Bucket; }
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>
79 GetImportFileTaskResult& WithInputS3Bucket(InputS3BucketT&& value) { SetInputS3Bucket(std::forward<InputS3BucketT>(value)); return *this;}
81
83
86 inline const Aws::String& GetInputS3Key() const { return m_inputS3Key; }
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>
90 GetImportFileTaskResult& WithInputS3Key(InputS3KeyT&& value) { SetInputS3Key(std::forward<InputS3KeyT>(value)); return *this;}
92
94
97 inline int GetNumberOfRecordsFailed() const { return m_numberOfRecordsFailed; }
98 inline void SetNumberOfRecordsFailed(int value) { m_numberOfRecordsFailedHasBeenSet = true; m_numberOfRecordsFailed = value; }
101
103
106 inline int GetNumberOfRecordsSuccess() const { return m_numberOfRecordsSuccess; }
107 inline void SetNumberOfRecordsSuccess(int value) { m_numberOfRecordsSuccessHasBeenSet = true; m_numberOfRecordsSuccess = value; }
110
112
115 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
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>
119 GetImportFileTaskResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
121
123
126 inline ImportFileTaskStatus GetStatus() const { return m_status; }
127 inline void SetStatus(ImportFileTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
128 inline GetImportFileTaskResult& WithStatus(ImportFileTaskStatus value) { SetStatus(value); return *this;}
130
132
135 inline const Aws::String& GetStatusReportS3Bucket() const { return m_statusReportS3Bucket; }
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>
139 GetImportFileTaskResult& WithStatusReportS3Bucket(StatusReportS3BucketT&& value) { SetStatusReportS3Bucket(std::forward<StatusReportS3BucketT>(value)); return *this;}
141
143
147 inline const Aws::String& GetStatusReportS3Key() const { return m_statusReportS3Key; }
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>
151 GetImportFileTaskResult& WithStatusReportS3Key(StatusReportS3KeyT&& value) { SetStatusReportS3Key(std::forward<StatusReportS3KeyT>(value)); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
160 GetImportFileTaskResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
162 private:
163
164 Aws::Utils::DateTime m_completionTime{};
165 bool m_completionTimeHasBeenSet = false;
166
167 Aws::String m_id;
168 bool m_idHasBeenSet = false;
169
170 Aws::String m_importName;
171 bool m_importNameHasBeenSet = false;
172
173 Aws::String m_inputS3Bucket;
174 bool m_inputS3BucketHasBeenSet = false;
175
176 Aws::String m_inputS3Key;
177 bool m_inputS3KeyHasBeenSet = false;
178
179 int m_numberOfRecordsFailed{0};
180 bool m_numberOfRecordsFailedHasBeenSet = false;
181
182 int m_numberOfRecordsSuccess{0};
183 bool m_numberOfRecordsSuccessHasBeenSet = false;
184
185 Aws::Utils::DateTime m_startTime{};
186 bool m_startTimeHasBeenSet = false;
187
189 bool m_statusHasBeenSet = false;
190
191 Aws::String m_statusReportS3Bucket;
192 bool m_statusReportS3BucketHasBeenSet = false;
193
194 Aws::String m_statusReportS3Key;
195 bool m_statusReportS3KeyHasBeenSet = false;
196
197 Aws::String m_requestId;
198 bool m_requestIdHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace MigrationHubStrategyRecommendations
203} // namespace Aws
GetImportFileTaskResult & WithCompletionTime(CompletionTimeT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportFileTaskResult & WithStatusReportS3Key(StatusReportS3KeyT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportFileTaskResult & WithStatusReportS3Bucket(StatusReportS3BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue