AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportFileTaskInformation.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MigrationHubStrategyRecommendations
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation();
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
48 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
49 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
50 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
52 inline ImportFileTaskInformation& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetId() const{ return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
62 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 inline ImportFileTaskInformation& WithId(const Aws::String& value) { SetId(value); return *this;}
65 inline ImportFileTaskInformation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 inline ImportFileTaskInformation& WithId(const char* value) { SetId(value); return *this;}
68
70
73 inline const Aws::String& GetImportName() const{ return m_importName; }
74 inline bool ImportNameHasBeenSet() const { return m_importNameHasBeenSet; }
75 inline void SetImportName(const Aws::String& value) { m_importNameHasBeenSet = true; m_importName = value; }
76 inline void SetImportName(Aws::String&& value) { m_importNameHasBeenSet = true; m_importName = std::move(value); }
77 inline void SetImportName(const char* value) { m_importNameHasBeenSet = true; m_importName.assign(value); }
78 inline ImportFileTaskInformation& WithImportName(const Aws::String& value) { SetImportName(value); return *this;}
79 inline ImportFileTaskInformation& WithImportName(Aws::String&& value) { SetImportName(std::move(value)); return *this;}
80 inline ImportFileTaskInformation& WithImportName(const char* value) { SetImportName(value); return *this;}
82
84
87 inline const Aws::String& GetInputS3Bucket() const{ return m_inputS3Bucket; }
88 inline bool InputS3BucketHasBeenSet() const { return m_inputS3BucketHasBeenSet; }
89 inline void SetInputS3Bucket(const Aws::String& value) { m_inputS3BucketHasBeenSet = true; m_inputS3Bucket = value; }
90 inline void SetInputS3Bucket(Aws::String&& value) { m_inputS3BucketHasBeenSet = true; m_inputS3Bucket = std::move(value); }
91 inline void SetInputS3Bucket(const char* value) { m_inputS3BucketHasBeenSet = true; m_inputS3Bucket.assign(value); }
92 inline ImportFileTaskInformation& WithInputS3Bucket(const Aws::String& value) { SetInputS3Bucket(value); return *this;}
93 inline ImportFileTaskInformation& WithInputS3Bucket(Aws::String&& value) { SetInputS3Bucket(std::move(value)); return *this;}
94 inline ImportFileTaskInformation& WithInputS3Bucket(const char* value) { SetInputS3Bucket(value); return *this;}
96
98
101 inline const Aws::String& GetInputS3Key() const{ return m_inputS3Key; }
102 inline bool InputS3KeyHasBeenSet() const { return m_inputS3KeyHasBeenSet; }
103 inline void SetInputS3Key(const Aws::String& value) { m_inputS3KeyHasBeenSet = true; m_inputS3Key = value; }
104 inline void SetInputS3Key(Aws::String&& value) { m_inputS3KeyHasBeenSet = true; m_inputS3Key = std::move(value); }
105 inline void SetInputS3Key(const char* value) { m_inputS3KeyHasBeenSet = true; m_inputS3Key.assign(value); }
106 inline ImportFileTaskInformation& WithInputS3Key(const Aws::String& value) { SetInputS3Key(value); return *this;}
107 inline ImportFileTaskInformation& WithInputS3Key(Aws::String&& value) { SetInputS3Key(std::move(value)); return *this;}
108 inline ImportFileTaskInformation& WithInputS3Key(const char* value) { SetInputS3Key(value); return *this;}
110
112
115 inline int GetNumberOfRecordsFailed() const{ return m_numberOfRecordsFailed; }
116 inline bool NumberOfRecordsFailedHasBeenSet() const { return m_numberOfRecordsFailedHasBeenSet; }
117 inline void SetNumberOfRecordsFailed(int value) { m_numberOfRecordsFailedHasBeenSet = true; m_numberOfRecordsFailed = value; }
120
122
125 inline int GetNumberOfRecordsSuccess() const{ return m_numberOfRecordsSuccess; }
126 inline bool NumberOfRecordsSuccessHasBeenSet() const { return m_numberOfRecordsSuccessHasBeenSet; }
127 inline void SetNumberOfRecordsSuccess(int value) { m_numberOfRecordsSuccessHasBeenSet = true; m_numberOfRecordsSuccess = value; }
130
132
135 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
136 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
137 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
138 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
139 inline ImportFileTaskInformation& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
140 inline ImportFileTaskInformation& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
142
144
147 inline const ImportFileTaskStatus& GetStatus() const{ return m_status; }
148 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
149 inline void SetStatus(const ImportFileTaskStatus& value) { m_statusHasBeenSet = true; m_status = value; }
150 inline void SetStatus(ImportFileTaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
151 inline ImportFileTaskInformation& WithStatus(const ImportFileTaskStatus& value) { SetStatus(value); return *this;}
152 inline ImportFileTaskInformation& WithStatus(ImportFileTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
154
156
159 inline const Aws::String& GetStatusReportS3Bucket() const{ return m_statusReportS3Bucket; }
160 inline bool StatusReportS3BucketHasBeenSet() const { return m_statusReportS3BucketHasBeenSet; }
161 inline void SetStatusReportS3Bucket(const Aws::String& value) { m_statusReportS3BucketHasBeenSet = true; m_statusReportS3Bucket = value; }
162 inline void SetStatusReportS3Bucket(Aws::String&& value) { m_statusReportS3BucketHasBeenSet = true; m_statusReportS3Bucket = std::move(value); }
163 inline void SetStatusReportS3Bucket(const char* value) { m_statusReportS3BucketHasBeenSet = true; m_statusReportS3Bucket.assign(value); }
166 inline ImportFileTaskInformation& WithStatusReportS3Bucket(const char* value) { SetStatusReportS3Bucket(value); return *this;}
168
170
174 inline const Aws::String& GetStatusReportS3Key() const{ return m_statusReportS3Key; }
175 inline bool StatusReportS3KeyHasBeenSet() const { return m_statusReportS3KeyHasBeenSet; }
176 inline void SetStatusReportS3Key(const Aws::String& value) { m_statusReportS3KeyHasBeenSet = true; m_statusReportS3Key = value; }
177 inline void SetStatusReportS3Key(Aws::String&& value) { m_statusReportS3KeyHasBeenSet = true; m_statusReportS3Key = std::move(value); }
178 inline void SetStatusReportS3Key(const char* value) { m_statusReportS3KeyHasBeenSet = true; m_statusReportS3Key.assign(value); }
180 inline ImportFileTaskInformation& WithStatusReportS3Key(Aws::String&& value) { SetStatusReportS3Key(std::move(value)); return *this;}
181 inline ImportFileTaskInformation& WithStatusReportS3Key(const char* value) { SetStatusReportS3Key(value); return *this;}
183 private:
184
185 Aws::Utils::DateTime m_completionTime;
186 bool m_completionTimeHasBeenSet = false;
187
188 Aws::String m_id;
189 bool m_idHasBeenSet = false;
190
191 Aws::String m_importName;
192 bool m_importNameHasBeenSet = false;
193
194 Aws::String m_inputS3Bucket;
195 bool m_inputS3BucketHasBeenSet = false;
196
197 Aws::String m_inputS3Key;
198 bool m_inputS3KeyHasBeenSet = false;
199
200 int m_numberOfRecordsFailed;
201 bool m_numberOfRecordsFailedHasBeenSet = false;
202
203 int m_numberOfRecordsSuccess;
204 bool m_numberOfRecordsSuccessHasBeenSet = false;
205
206 Aws::Utils::DateTime m_startTime;
207 bool m_startTimeHasBeenSet = false;
208
209 ImportFileTaskStatus m_status;
210 bool m_statusHasBeenSet = false;
211
212 Aws::String m_statusReportS3Bucket;
213 bool m_statusReportS3BucketHasBeenSet = false;
214
215 Aws::String m_statusReportS3Key;
216 bool m_statusReportS3KeyHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace MigrationHubStrategyRecommendations
221} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation(Aws::Utils::Json::JsonView jsonValue)
ImportFileTaskInformation & WithStatusReportS3Bucket(const Aws::String &value)
ImportFileTaskInformation & WithCompletionTime(const Aws::Utils::DateTime &value)
ImportFileTaskInformation & WithCompletionTime(Aws::Utils::DateTime &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportFileTaskInformation & WithStatus(ImportFileTaskStatus &&value)
ImportFileTaskInformation & WithStatusReportS3Key(const Aws::String &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation()
ImportFileTaskInformation & WithInputS3Bucket(const Aws::String &value)
ImportFileTaskInformation & WithStartTime(const Aws::Utils::DateTime &value)
ImportFileTaskInformation & WithStatus(const ImportFileTaskStatus &value)
ImportFileTaskInformation & WithStartTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue