AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTime = value; }
43 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTime = std::move(value); }
45 inline GetImportFileTaskResult& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
47
49
53 inline const Aws::String& GetId() const{ return m_id; }
54 inline void SetId(const Aws::String& value) { m_id = value; }
55 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
56 inline void SetId(const char* value) { m_id.assign(value); }
57 inline GetImportFileTaskResult& WithId(const Aws::String& value) { SetId(value); return *this;}
58 inline GetImportFileTaskResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
59 inline GetImportFileTaskResult& WithId(const char* value) { SetId(value); return *this;}
61
63
66 inline const Aws::String& GetImportName() const{ return m_importName; }
67 inline void SetImportName(const Aws::String& value) { m_importName = value; }
68 inline void SetImportName(Aws::String&& value) { m_importName = std::move(value); }
69 inline void SetImportName(const char* value) { m_importName.assign(value); }
70 inline GetImportFileTaskResult& WithImportName(const Aws::String& value) { SetImportName(value); return *this;}
71 inline GetImportFileTaskResult& WithImportName(Aws::String&& value) { SetImportName(std::move(value)); return *this;}
72 inline GetImportFileTaskResult& WithImportName(const char* value) { SetImportName(value); return *this;}
74
76
79 inline const Aws::String& GetInputS3Bucket() const{ return m_inputS3Bucket; }
80 inline void SetInputS3Bucket(const Aws::String& value) { m_inputS3Bucket = value; }
81 inline void SetInputS3Bucket(Aws::String&& value) { m_inputS3Bucket = std::move(value); }
82 inline void SetInputS3Bucket(const char* value) { m_inputS3Bucket.assign(value); }
83 inline GetImportFileTaskResult& WithInputS3Bucket(const Aws::String& value) { SetInputS3Bucket(value); return *this;}
84 inline GetImportFileTaskResult& WithInputS3Bucket(Aws::String&& value) { SetInputS3Bucket(std::move(value)); return *this;}
85 inline GetImportFileTaskResult& WithInputS3Bucket(const char* value) { SetInputS3Bucket(value); return *this;}
87
89
92 inline const Aws::String& GetInputS3Key() const{ return m_inputS3Key; }
93 inline void SetInputS3Key(const Aws::String& value) { m_inputS3Key = value; }
94 inline void SetInputS3Key(Aws::String&& value) { m_inputS3Key = std::move(value); }
95 inline void SetInputS3Key(const char* value) { m_inputS3Key.assign(value); }
96 inline GetImportFileTaskResult& WithInputS3Key(const Aws::String& value) { SetInputS3Key(value); return *this;}
97 inline GetImportFileTaskResult& WithInputS3Key(Aws::String&& value) { SetInputS3Key(std::move(value)); return *this;}
98 inline GetImportFileTaskResult& WithInputS3Key(const char* value) { SetInputS3Key(value); return *this;}
100
102
105 inline int GetNumberOfRecordsFailed() const{ return m_numberOfRecordsFailed; }
106 inline void SetNumberOfRecordsFailed(int value) { m_numberOfRecordsFailed = value; }
109
111
114 inline int GetNumberOfRecordsSuccess() const{ return m_numberOfRecordsSuccess; }
115 inline void SetNumberOfRecordsSuccess(int value) { m_numberOfRecordsSuccess = value; }
118
120
123 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
124 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
125 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
126 inline GetImportFileTaskResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
127 inline GetImportFileTaskResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
129
131
134 inline const ImportFileTaskStatus& GetStatus() const{ return m_status; }
135 inline void SetStatus(const ImportFileTaskStatus& value) { m_status = value; }
136 inline void SetStatus(ImportFileTaskStatus&& value) { m_status = std::move(value); }
137 inline GetImportFileTaskResult& WithStatus(const ImportFileTaskStatus& value) { SetStatus(value); return *this;}
138 inline GetImportFileTaskResult& WithStatus(ImportFileTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
140
142
145 inline const Aws::String& GetStatusReportS3Bucket() const{ return m_statusReportS3Bucket; }
146 inline void SetStatusReportS3Bucket(const Aws::String& value) { m_statusReportS3Bucket = value; }
147 inline void SetStatusReportS3Bucket(Aws::String&& value) { m_statusReportS3Bucket = std::move(value); }
148 inline void SetStatusReportS3Bucket(const char* value) { m_statusReportS3Bucket.assign(value); }
150 inline GetImportFileTaskResult& WithStatusReportS3Bucket(Aws::String&& value) { SetStatusReportS3Bucket(std::move(value)); return *this;}
151 inline GetImportFileTaskResult& WithStatusReportS3Bucket(const char* value) { SetStatusReportS3Bucket(value); return *this;}
153
155
159 inline const Aws::String& GetStatusReportS3Key() const{ return m_statusReportS3Key; }
160 inline void SetStatusReportS3Key(const Aws::String& value) { m_statusReportS3Key = value; }
161 inline void SetStatusReportS3Key(Aws::String&& value) { m_statusReportS3Key = std::move(value); }
162 inline void SetStatusReportS3Key(const char* value) { m_statusReportS3Key.assign(value); }
164 inline GetImportFileTaskResult& WithStatusReportS3Key(Aws::String&& value) { SetStatusReportS3Key(std::move(value)); return *this;}
165 inline GetImportFileTaskResult& WithStatusReportS3Key(const char* value) { SetStatusReportS3Key(value); return *this;}
167
169
170 inline const Aws::String& GetRequestId() const{ return m_requestId; }
171 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
172 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
173 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
174 inline GetImportFileTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
175 inline GetImportFileTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
176 inline GetImportFileTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
178 private:
179
180 Aws::Utils::DateTime m_completionTime;
181
182 Aws::String m_id;
183
184 Aws::String m_importName;
185
186 Aws::String m_inputS3Bucket;
187
188 Aws::String m_inputS3Key;
189
190 int m_numberOfRecordsFailed;
191
192 int m_numberOfRecordsSuccess;
193
194 Aws::Utils::DateTime m_startTime;
195
196 ImportFileTaskStatus m_status;
197
198 Aws::String m_statusReportS3Bucket;
199
200 Aws::String m_statusReportS3Key;
201
202 Aws::String m_requestId;
203 };
204
205} // namespace Model
206} // namespace MigrationHubStrategyRecommendations
207} // namespace Aws
GetImportFileTaskResult & WithStatus(ImportFileTaskStatus &&value)
GetImportFileTaskResult & WithStatusReportS3Bucket(const Aws::String &value)
GetImportFileTaskResult & WithStartTime(Aws::Utils::DateTime &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportFileTaskResult & WithInputS3Bucket(const Aws::String &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportFileTaskResult & WithStatusReportS3Key(const Aws::String &value)
GetImportFileTaskResult & WithCompletionTime(const Aws::Utils::DateTime &value)
GetImportFileTaskResult & WithCompletionTime(Aws::Utils::DateTime &&value)
GetImportFileTaskResult & WithStatus(const ImportFileTaskStatus &value)
GetImportFileTaskResult & WithStartTime(const Aws::Utils::DateTime &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetImportFileTaskResult()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue