AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CompletionTimeT = Aws::Utils::DateTime>
50 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
51 template<typename CompletionTimeT = Aws::Utils::DateTime>
52 ImportFileTaskInformation& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template<typename IdT = Aws::String>
62 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 ImportFileTaskInformation& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetImportName() const { return m_importName; }
72 inline bool ImportNameHasBeenSet() const { return m_importNameHasBeenSet; }
73 template<typename ImportNameT = Aws::String>
74 void SetImportName(ImportNameT&& value) { m_importNameHasBeenSet = true; m_importName = std::forward<ImportNameT>(value); }
75 template<typename ImportNameT = Aws::String>
76 ImportFileTaskInformation& WithImportName(ImportNameT&& value) { SetImportName(std::forward<ImportNameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetInputS3Bucket() const { return m_inputS3Bucket; }
84 inline bool InputS3BucketHasBeenSet() const { return m_inputS3BucketHasBeenSet; }
85 template<typename InputS3BucketT = Aws::String>
86 void SetInputS3Bucket(InputS3BucketT&& value) { m_inputS3BucketHasBeenSet = true; m_inputS3Bucket = std::forward<InputS3BucketT>(value); }
87 template<typename InputS3BucketT = Aws::String>
88 ImportFileTaskInformation& WithInputS3Bucket(InputS3BucketT&& value) { SetInputS3Bucket(std::forward<InputS3BucketT>(value)); return *this;}
90
92
95 inline const Aws::String& GetInputS3Key() const { return m_inputS3Key; }
96 inline bool InputS3KeyHasBeenSet() const { return m_inputS3KeyHasBeenSet; }
97 template<typename InputS3KeyT = Aws::String>
98 void SetInputS3Key(InputS3KeyT&& value) { m_inputS3KeyHasBeenSet = true; m_inputS3Key = std::forward<InputS3KeyT>(value); }
99 template<typename InputS3KeyT = Aws::String>
100 ImportFileTaskInformation& WithInputS3Key(InputS3KeyT&& value) { SetInputS3Key(std::forward<InputS3KeyT>(value)); return *this;}
102
104
107 inline int GetNumberOfRecordsFailed() const { return m_numberOfRecordsFailed; }
108 inline bool NumberOfRecordsFailedHasBeenSet() const { return m_numberOfRecordsFailedHasBeenSet; }
109 inline void SetNumberOfRecordsFailed(int value) { m_numberOfRecordsFailedHasBeenSet = true; m_numberOfRecordsFailed = value; }
112
114
117 inline int GetNumberOfRecordsSuccess() const { return m_numberOfRecordsSuccess; }
118 inline bool NumberOfRecordsSuccessHasBeenSet() const { return m_numberOfRecordsSuccessHasBeenSet; }
119 inline void SetNumberOfRecordsSuccess(int value) { m_numberOfRecordsSuccessHasBeenSet = true; m_numberOfRecordsSuccess = value; }
122
124
127 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
128 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
129 template<typename StartTimeT = Aws::Utils::DateTime>
130 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
131 template<typename StartTimeT = Aws::Utils::DateTime>
132 ImportFileTaskInformation& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
134
136
139 inline ImportFileTaskStatus GetStatus() const { return m_status; }
140 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
141 inline void SetStatus(ImportFileTaskStatus value) { m_statusHasBeenSet = true; m_status = value; }
144
146
149 inline const Aws::String& GetStatusReportS3Bucket() const { return m_statusReportS3Bucket; }
150 inline bool StatusReportS3BucketHasBeenSet() const { return m_statusReportS3BucketHasBeenSet; }
151 template<typename StatusReportS3BucketT = Aws::String>
152 void SetStatusReportS3Bucket(StatusReportS3BucketT&& value) { m_statusReportS3BucketHasBeenSet = true; m_statusReportS3Bucket = std::forward<StatusReportS3BucketT>(value); }
153 template<typename StatusReportS3BucketT = Aws::String>
154 ImportFileTaskInformation& WithStatusReportS3Bucket(StatusReportS3BucketT&& value) { SetStatusReportS3Bucket(std::forward<StatusReportS3BucketT>(value)); return *this;}
156
158
162 inline const Aws::String& GetStatusReportS3Key() const { return m_statusReportS3Key; }
163 inline bool StatusReportS3KeyHasBeenSet() const { return m_statusReportS3KeyHasBeenSet; }
164 template<typename StatusReportS3KeyT = Aws::String>
165 void SetStatusReportS3Key(StatusReportS3KeyT&& value) { m_statusReportS3KeyHasBeenSet = true; m_statusReportS3Key = std::forward<StatusReportS3KeyT>(value); }
166 template<typename StatusReportS3KeyT = Aws::String>
167 ImportFileTaskInformation& WithStatusReportS3Key(StatusReportS3KeyT&& value) { SetStatusReportS3Key(std::forward<StatusReportS3KeyT>(value)); return *this;}
169 private:
170
171 Aws::Utils::DateTime m_completionTime{};
172 bool m_completionTimeHasBeenSet = false;
173
174 Aws::String m_id;
175 bool m_idHasBeenSet = false;
176
177 Aws::String m_importName;
178 bool m_importNameHasBeenSet = false;
179
180 Aws::String m_inputS3Bucket;
181 bool m_inputS3BucketHasBeenSet = false;
182
183 Aws::String m_inputS3Key;
184 bool m_inputS3KeyHasBeenSet = false;
185
186 int m_numberOfRecordsFailed{0};
187 bool m_numberOfRecordsFailedHasBeenSet = false;
188
189 int m_numberOfRecordsSuccess{0};
190 bool m_numberOfRecordsSuccessHasBeenSet = false;
191
192 Aws::Utils::DateTime m_startTime{};
193 bool m_startTimeHasBeenSet = false;
194
196 bool m_statusHasBeenSet = false;
197
198 Aws::String m_statusReportS3Bucket;
199 bool m_statusReportS3BucketHasBeenSet = false;
200
201 Aws::String m_statusReportS3Key;
202 bool m_statusReportS3KeyHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace MigrationHubStrategyRecommendations
207} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation(Aws::Utils::Json::JsonView jsonValue)
ImportFileTaskInformation & WithStatusReportS3Bucket(StatusReportS3BucketT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ImportFileTaskInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ImportFileTaskInformation & WithStatusReportS3Key(StatusReportS3KeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue