AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBulkImportJobResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/JobStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotsitewise/model/ErrorReportLocation.h>
12#include <aws/iotsitewise/model/JobConfiguration.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/iotsitewise/model/File.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace IoTSiteWise
30{
31namespace Model
32{
34 {
35 public:
36 AWS_IOTSITEWISE_API DescribeBulkImportJobResult();
39
40
42
45 inline const Aws::String& GetJobId() const{ return m_jobId; }
46 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
47 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
48 inline void SetJobId(const char* value) { m_jobId.assign(value); }
49 inline DescribeBulkImportJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
50 inline DescribeBulkImportJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
51 inline DescribeBulkImportJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
53
55
58 inline const Aws::String& GetJobName() const{ return m_jobName; }
59 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
60 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
61 inline void SetJobName(const char* value) { m_jobName.assign(value); }
62 inline DescribeBulkImportJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
63 inline DescribeBulkImportJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
64 inline DescribeBulkImportJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
66
68
83 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
84 inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
85 inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
86 inline DescribeBulkImportJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
87 inline DescribeBulkImportJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
89
91
96 inline const Aws::String& GetJobRoleArn() const{ return m_jobRoleArn; }
97 inline void SetJobRoleArn(const Aws::String& value) { m_jobRoleArn = value; }
98 inline void SetJobRoleArn(Aws::String&& value) { m_jobRoleArn = std::move(value); }
99 inline void SetJobRoleArn(const char* value) { m_jobRoleArn.assign(value); }
100 inline DescribeBulkImportJobResult& WithJobRoleArn(const Aws::String& value) { SetJobRoleArn(value); return *this;}
101 inline DescribeBulkImportJobResult& WithJobRoleArn(Aws::String&& value) { SetJobRoleArn(std::move(value)); return *this;}
102 inline DescribeBulkImportJobResult& WithJobRoleArn(const char* value) { SetJobRoleArn(value); return *this;}
104
106
109 inline const Aws::Vector<File>& GetFiles() const{ return m_files; }
110 inline void SetFiles(const Aws::Vector<File>& value) { m_files = value; }
111 inline void SetFiles(Aws::Vector<File>&& value) { m_files = std::move(value); }
112 inline DescribeBulkImportJobResult& WithFiles(const Aws::Vector<File>& value) { SetFiles(value); return *this;}
113 inline DescribeBulkImportJobResult& WithFiles(Aws::Vector<File>&& value) { SetFiles(std::move(value)); return *this;}
114 inline DescribeBulkImportJobResult& AddFiles(const File& value) { m_files.push_back(value); return *this; }
115 inline DescribeBulkImportJobResult& AddFiles(File&& value) { m_files.push_back(std::move(value)); return *this; }
117
119
123 inline const ErrorReportLocation& GetErrorReportLocation() const{ return m_errorReportLocation; }
124 inline void SetErrorReportLocation(const ErrorReportLocation& value) { m_errorReportLocation = value; }
125 inline void SetErrorReportLocation(ErrorReportLocation&& value) { m_errorReportLocation = std::move(value); }
129
131
135 inline const JobConfiguration& GetJobConfiguration() const{ return m_jobConfiguration; }
136 inline void SetJobConfiguration(const JobConfiguration& value) { m_jobConfiguration = value; }
137 inline void SetJobConfiguration(JobConfiguration&& value) { m_jobConfiguration = std::move(value); }
141
143
146 inline const Aws::Utils::DateTime& GetJobCreationDate() const{ return m_jobCreationDate; }
147 inline void SetJobCreationDate(const Aws::Utils::DateTime& value) { m_jobCreationDate = value; }
148 inline void SetJobCreationDate(Aws::Utils::DateTime&& value) { m_jobCreationDate = std::move(value); }
152
154
157 inline const Aws::Utils::DateTime& GetJobLastUpdateDate() const{ return m_jobLastUpdateDate; }
158 inline void SetJobLastUpdateDate(const Aws::Utils::DateTime& value) { m_jobLastUpdateDate = value; }
159 inline void SetJobLastUpdateDate(Aws::Utils::DateTime&& value) { m_jobLastUpdateDate = std::move(value); }
163
165
170 inline bool GetAdaptiveIngestion() const{ return m_adaptiveIngestion; }
171 inline void SetAdaptiveIngestion(bool value) { m_adaptiveIngestion = value; }
172 inline DescribeBulkImportJobResult& WithAdaptiveIngestion(bool value) { SetAdaptiveIngestion(value); return *this;}
174
176
180 inline bool GetDeleteFilesAfterImport() const{ return m_deleteFilesAfterImport; }
181 inline void SetDeleteFilesAfterImport(bool value) { m_deleteFilesAfterImport = value; }
184
186
187 inline const Aws::String& GetRequestId() const{ return m_requestId; }
188 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
189 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
190 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
191 inline DescribeBulkImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
192 inline DescribeBulkImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
193 inline DescribeBulkImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
195 private:
196
197 Aws::String m_jobId;
198
199 Aws::String m_jobName;
200
201 JobStatus m_jobStatus;
202
203 Aws::String m_jobRoleArn;
204
205 Aws::Vector<File> m_files;
206
207 ErrorReportLocation m_errorReportLocation;
208
209 JobConfiguration m_jobConfiguration;
210
211 Aws::Utils::DateTime m_jobCreationDate;
212
213 Aws::Utils::DateTime m_jobLastUpdateDate;
214
215 bool m_adaptiveIngestion;
216
217 bool m_deleteFilesAfterImport;
218
219 Aws::String m_requestId;
220 };
221
222} // namespace Model
223} // namespace IoTSiteWise
224} // namespace Aws
DescribeBulkImportJobResult & WithJobId(const Aws::String &value)
DescribeBulkImportJobResult & WithJobStatus(JobStatus &&value)
DescribeBulkImportJobResult & WithJobName(const char *value)
DescribeBulkImportJobResult & WithJobCreationDate(const Aws::Utils::DateTime &value)
DescribeBulkImportJobResult & WithJobRoleArn(const Aws::String &value)
DescribeBulkImportJobResult & WithJobStatus(const JobStatus &value)
DescribeBulkImportJobResult & WithJobRoleArn(Aws::String &&value)
DescribeBulkImportJobResult & WithErrorReportLocation(ErrorReportLocation &&value)
DescribeBulkImportJobResult & WithFiles(Aws::Vector< File > &&value)
DescribeBulkImportJobResult & WithRequestId(const char *value)
DescribeBulkImportJobResult & WithJobConfiguration(JobConfiguration &&value)
DescribeBulkImportJobResult & WithRequestId(const Aws::String &value)
AWS_IOTSITEWISE_API DescribeBulkImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBulkImportJobResult & WithJobConfiguration(const JobConfiguration &value)
DescribeBulkImportJobResult & WithJobName(Aws::String &&value)
DescribeBulkImportJobResult & WithRequestId(Aws::String &&value)
DescribeBulkImportJobResult & WithJobRoleArn(const char *value)
DescribeBulkImportJobResult & WithJobLastUpdateDate(const Aws::Utils::DateTime &value)
DescribeBulkImportJobResult & WithJobCreationDate(Aws::Utils::DateTime &&value)
DescribeBulkImportJobResult & WithErrorReportLocation(const ErrorReportLocation &value)
DescribeBulkImportJobResult & WithAdaptiveIngestion(bool value)
DescribeBulkImportJobResult & WithJobId(const char *value)
DescribeBulkImportJobResult & WithFiles(const Aws::Vector< File > &value)
DescribeBulkImportJobResult & WithJobLastUpdateDate(Aws::Utils::DateTime &&value)
AWS_IOTSITEWISE_API DescribeBulkImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBulkImportJobResult & WithJobId(Aws::String &&value)
DescribeBulkImportJobResult & AddFiles(const File &value)
DescribeBulkImportJobResult & WithJobName(const Aws::String &value)
DescribeBulkImportJobResult & WithDeleteFilesAfterImport(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue