AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportTask.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/model/ImportStatus.h>
10#include <aws/core/utils/DateTime.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 ApplicationDiscoveryService
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask();
39 AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetImportTaskId() const{ return m_importTaskId; }
50 inline bool ImportTaskIdHasBeenSet() const { return m_importTaskIdHasBeenSet; }
51 inline void SetImportTaskId(const Aws::String& value) { m_importTaskIdHasBeenSet = true; m_importTaskId = value; }
52 inline void SetImportTaskId(Aws::String&& value) { m_importTaskIdHasBeenSet = true; m_importTaskId = std::move(value); }
53 inline void SetImportTaskId(const char* value) { m_importTaskIdHasBeenSet = true; m_importTaskId.assign(value); }
54 inline ImportTask& WithImportTaskId(const Aws::String& value) { SetImportTaskId(value); return *this;}
55 inline ImportTask& WithImportTaskId(Aws::String&& value) { SetImportTaskId(std::move(value)); return *this;}
56 inline ImportTask& WithImportTaskId(const char* value) { SetImportTaskId(value); return *this;}
58
60
65 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
66 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
67 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
68 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
69 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
70 inline ImportTask& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
71 inline ImportTask& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
72 inline ImportTask& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
74
76
82 inline const Aws::String& GetName() const{ return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
85 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
86 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
87 inline ImportTask& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline ImportTask& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline ImportTask& WithName(const char* value) { SetName(value); return *this;}
91
93
96 inline const Aws::String& GetImportUrl() const{ return m_importUrl; }
97 inline bool ImportUrlHasBeenSet() const { return m_importUrlHasBeenSet; }
98 inline void SetImportUrl(const Aws::String& value) { m_importUrlHasBeenSet = true; m_importUrl = value; }
99 inline void SetImportUrl(Aws::String&& value) { m_importUrlHasBeenSet = true; m_importUrl = std::move(value); }
100 inline void SetImportUrl(const char* value) { m_importUrlHasBeenSet = true; m_importUrl.assign(value); }
101 inline ImportTask& WithImportUrl(const Aws::String& value) { SetImportUrl(value); return *this;}
102 inline ImportTask& WithImportUrl(Aws::String&& value) { SetImportUrl(std::move(value)); return *this;}
103 inline ImportTask& WithImportUrl(const char* value) { SetImportUrl(value); return *this;}
105
107
114 inline const ImportStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const ImportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(ImportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline ImportTask& WithStatus(const ImportStatus& value) { SetStatus(value); return *this;}
119 inline ImportTask& WithStatus(ImportStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
127 inline const Aws::Utils::DateTime& GetImportRequestTime() const{ return m_importRequestTime; }
128 inline bool ImportRequestTimeHasBeenSet() const { return m_importRequestTimeHasBeenSet; }
129 inline void SetImportRequestTime(const Aws::Utils::DateTime& value) { m_importRequestTimeHasBeenSet = true; m_importRequestTime = value; }
130 inline void SetImportRequestTime(Aws::Utils::DateTime&& value) { m_importRequestTimeHasBeenSet = true; m_importRequestTime = std::move(value); }
131 inline ImportTask& WithImportRequestTime(const Aws::Utils::DateTime& value) { SetImportRequestTime(value); return *this;}
132 inline ImportTask& WithImportRequestTime(Aws::Utils::DateTime&& value) { SetImportRequestTime(std::move(value)); return *this;}
134
136
140 inline const Aws::Utils::DateTime& GetImportCompletionTime() const{ return m_importCompletionTime; }
141 inline bool ImportCompletionTimeHasBeenSet() const { return m_importCompletionTimeHasBeenSet; }
142 inline void SetImportCompletionTime(const Aws::Utils::DateTime& value) { m_importCompletionTimeHasBeenSet = true; m_importCompletionTime = value; }
143 inline void SetImportCompletionTime(Aws::Utils::DateTime&& value) { m_importCompletionTimeHasBeenSet = true; m_importCompletionTime = std::move(value); }
145 inline ImportTask& WithImportCompletionTime(Aws::Utils::DateTime&& value) { SetImportCompletionTime(std::move(value)); return *this;}
147
149
153 inline const Aws::Utils::DateTime& GetImportDeletedTime() const{ return m_importDeletedTime; }
154 inline bool ImportDeletedTimeHasBeenSet() const { return m_importDeletedTimeHasBeenSet; }
155 inline void SetImportDeletedTime(const Aws::Utils::DateTime& value) { m_importDeletedTimeHasBeenSet = true; m_importDeletedTime = value; }
156 inline void SetImportDeletedTime(Aws::Utils::DateTime&& value) { m_importDeletedTimeHasBeenSet = true; m_importDeletedTime = std::move(value); }
157 inline ImportTask& WithImportDeletedTime(const Aws::Utils::DateTime& value) { SetImportDeletedTime(value); return *this;}
158 inline ImportTask& WithImportDeletedTime(Aws::Utils::DateTime&& value) { SetImportDeletedTime(std::move(value)); return *this;}
160
162
166 inline int GetServerImportSuccess() const{ return m_serverImportSuccess; }
167 inline bool ServerImportSuccessHasBeenSet() const { return m_serverImportSuccessHasBeenSet; }
168 inline void SetServerImportSuccess(int value) { m_serverImportSuccessHasBeenSet = true; m_serverImportSuccess = value; }
169 inline ImportTask& WithServerImportSuccess(int value) { SetServerImportSuccess(value); return *this;}
171
173
177 inline int GetServerImportFailure() const{ return m_serverImportFailure; }
178 inline bool ServerImportFailureHasBeenSet() const { return m_serverImportFailureHasBeenSet; }
179 inline void SetServerImportFailure(int value) { m_serverImportFailureHasBeenSet = true; m_serverImportFailure = value; }
180 inline ImportTask& WithServerImportFailure(int value) { SetServerImportFailure(value); return *this;}
182
184
188 inline int GetApplicationImportSuccess() const{ return m_applicationImportSuccess; }
189 inline bool ApplicationImportSuccessHasBeenSet() const { return m_applicationImportSuccessHasBeenSet; }
190 inline void SetApplicationImportSuccess(int value) { m_applicationImportSuccessHasBeenSet = true; m_applicationImportSuccess = value; }
191 inline ImportTask& WithApplicationImportSuccess(int value) { SetApplicationImportSuccess(value); return *this;}
193
195
199 inline int GetApplicationImportFailure() const{ return m_applicationImportFailure; }
200 inline bool ApplicationImportFailureHasBeenSet() const { return m_applicationImportFailureHasBeenSet; }
201 inline void SetApplicationImportFailure(int value) { m_applicationImportFailureHasBeenSet = true; m_applicationImportFailure = value; }
202 inline ImportTask& WithApplicationImportFailure(int value) { SetApplicationImportFailure(value); return *this;}
204
206
218 inline const Aws::String& GetErrorsAndFailedEntriesZip() const{ return m_errorsAndFailedEntriesZip; }
219 inline bool ErrorsAndFailedEntriesZipHasBeenSet() const { return m_errorsAndFailedEntriesZipHasBeenSet; }
220 inline void SetErrorsAndFailedEntriesZip(const Aws::String& value) { m_errorsAndFailedEntriesZipHasBeenSet = true; m_errorsAndFailedEntriesZip = value; }
221 inline void SetErrorsAndFailedEntriesZip(Aws::String&& value) { m_errorsAndFailedEntriesZipHasBeenSet = true; m_errorsAndFailedEntriesZip = std::move(value); }
222 inline void SetErrorsAndFailedEntriesZip(const char* value) { m_errorsAndFailedEntriesZipHasBeenSet = true; m_errorsAndFailedEntriesZip.assign(value); }
224 inline ImportTask& WithErrorsAndFailedEntriesZip(Aws::String&& value) { SetErrorsAndFailedEntriesZip(std::move(value)); return *this;}
225 inline ImportTask& WithErrorsAndFailedEntriesZip(const char* value) { SetErrorsAndFailedEntriesZip(value); return *this;}
227 private:
228
229 Aws::String m_importTaskId;
230 bool m_importTaskIdHasBeenSet = false;
231
232 Aws::String m_clientRequestToken;
233 bool m_clientRequestTokenHasBeenSet = false;
234
235 Aws::String m_name;
236 bool m_nameHasBeenSet = false;
237
238 Aws::String m_importUrl;
239 bool m_importUrlHasBeenSet = false;
240
241 ImportStatus m_status;
242 bool m_statusHasBeenSet = false;
243
244 Aws::Utils::DateTime m_importRequestTime;
245 bool m_importRequestTimeHasBeenSet = false;
246
247 Aws::Utils::DateTime m_importCompletionTime;
248 bool m_importCompletionTimeHasBeenSet = false;
249
250 Aws::Utils::DateTime m_importDeletedTime;
251 bool m_importDeletedTimeHasBeenSet = false;
252
253 int m_serverImportSuccess;
254 bool m_serverImportSuccessHasBeenSet = false;
255
256 int m_serverImportFailure;
257 bool m_serverImportFailureHasBeenSet = false;
258
259 int m_applicationImportSuccess;
260 bool m_applicationImportSuccessHasBeenSet = false;
261
262 int m_applicationImportFailure;
263 bool m_applicationImportFailureHasBeenSet = false;
264
265 Aws::String m_errorsAndFailedEntriesZip;
266 bool m_errorsAndFailedEntriesZipHasBeenSet = false;
267 };
268
269} // namespace Model
270} // namespace ApplicationDiscoveryService
271} // namespace Aws
void SetImportUrl(const Aws::String &value)
Definition ImportTask.h:98
ImportTask & WithErrorsAndFailedEntriesZip(Aws::String &&value)
Definition ImportTask.h:224
const Aws::String & GetErrorsAndFailedEntriesZip() const
Definition ImportTask.h:218
void SetImportTaskId(const Aws::String &value)
Definition ImportTask.h:51
ImportTask & WithImportDeletedTime(const Aws::Utils::DateTime &value)
Definition ImportTask.h:157
ImportTask & WithImportDeletedTime(Aws::Utils::DateTime &&value)
Definition ImportTask.h:158
void SetImportRequestTime(Aws::Utils::DateTime &&value)
Definition ImportTask.h:130
AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask()
ImportTask & WithImportTaskId(const char *value)
Definition ImportTask.h:56
void SetErrorsAndFailedEntriesZip(Aws::String &&value)
Definition ImportTask.h:221
AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportTask & WithImportTaskId(const Aws::String &value)
Definition ImportTask.h:54
ImportTask & WithImportRequestTime(Aws::Utils::DateTime &&value)
Definition ImportTask.h:132
ImportTask & WithImportCompletionTime(Aws::Utils::DateTime &&value)
Definition ImportTask.h:145
void SetImportDeletedTime(const Aws::Utils::DateTime &value)
Definition ImportTask.h:155
ImportTask & WithClientRequestToken(const char *value)
Definition ImportTask.h:72
ImportTask & WithImportCompletionTime(const Aws::Utils::DateTime &value)
Definition ImportTask.h:144
const Aws::String & GetClientRequestToken() const
Definition ImportTask.h:65
ImportTask & WithErrorsAndFailedEntriesZip(const Aws::String &value)
Definition ImportTask.h:223
const Aws::Utils::DateTime & GetImportCompletionTime() const
Definition ImportTask.h:140
ImportTask & WithImportUrl(const Aws::String &value)
Definition ImportTask.h:101
ImportTask & WithName(Aws::String &&value)
Definition ImportTask.h:88
ImportTask & WithImportUrl(const char *value)
Definition ImportTask.h:103
void SetImportCompletionTime(const Aws::Utils::DateTime &value)
Definition ImportTask.h:142
void SetStatus(const ImportStatus &value)
Definition ImportTask.h:116
ImportTask & WithErrorsAndFailedEntriesZip(const char *value)
Definition ImportTask.h:225
ImportTask & WithClientRequestToken(Aws::String &&value)
Definition ImportTask.h:71
ImportTask & WithImportUrl(Aws::String &&value)
Definition ImportTask.h:102
void SetImportCompletionTime(Aws::Utils::DateTime &&value)
Definition ImportTask.h:143
const Aws::Utils::DateTime & GetImportDeletedTime() const
Definition ImportTask.h:153
void SetErrorsAndFailedEntriesZip(const Aws::String &value)
Definition ImportTask.h:220
ImportTask & WithName(const char *value)
Definition ImportTask.h:89
ImportTask & WithClientRequestToken(const Aws::String &value)
Definition ImportTask.h:70
AWS_APPLICATIONDISCOVERYSERVICE_API ImportTask(Aws::Utils::Json::JsonView jsonValue)
void SetImportRequestTime(const Aws::Utils::DateTime &value)
Definition ImportTask.h:129
void SetClientRequestToken(const Aws::String &value)
Definition ImportTask.h:67
ImportTask & WithStatus(ImportStatus &&value)
Definition ImportTask.h:119
ImportTask & WithStatus(const ImportStatus &value)
Definition ImportTask.h:118
ImportTask & WithImportRequestTime(const Aws::Utils::DateTime &value)
Definition ImportTask.h:131
void SetImportDeletedTime(Aws::Utils::DateTime &&value)
Definition ImportTask.h:156
ImportTask & WithImportTaskId(Aws::String &&value)
Definition ImportTask.h:55
const Aws::Utils::DateTime & GetImportRequestTime() const
Definition ImportTask.h:127
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ImportTask & WithName(const Aws::String &value)
Definition ImportTask.h:87
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue