AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
ExportJobProperties.h
1
6#pragma once
7#include <aws/healthlake/HealthLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/healthlake/model/JobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/healthlake/model/OutputDataConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace HealthLake
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_HEALTHLAKE_API ExportJobProperties() = default;
38 AWS_HEALTHLAKE_API ExportJobProperties(Aws::Utils::Json::JsonView jsonValue);
40 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetJobId() const { return m_jobId; }
48 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
49 template<typename JobIdT = Aws::String>
50 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
51 template<typename JobIdT = Aws::String>
52 ExportJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetJobName() const { return m_jobName; }
60 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
61 template<typename JobNameT = Aws::String>
62 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
63 template<typename JobNameT = Aws::String>
64 ExportJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
66
68
71 inline JobStatus GetJobStatus() const { return m_jobStatus; }
72 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
73 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
74 inline ExportJobProperties& WithJobStatus(JobStatus value) { SetJobStatus(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
82 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
83 template<typename SubmitTimeT = Aws::Utils::DateTime>
84 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
85 template<typename SubmitTimeT = Aws::Utils::DateTime>
86 ExportJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
94 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
95 template<typename EndTimeT = Aws::Utils::DateTime>
96 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
97 template<typename EndTimeT = Aws::Utils::DateTime>
98 ExportJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
100
102
105 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
106 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
107 template<typename DatastoreIdT = Aws::String>
108 void SetDatastoreId(DatastoreIdT&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::forward<DatastoreIdT>(value); }
109 template<typename DatastoreIdT = Aws::String>
110 ExportJobProperties& WithDatastoreId(DatastoreIdT&& value) { SetDatastoreId(std::forward<DatastoreIdT>(value)); return *this;}
112
114
117 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
118 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
119 template<typename OutputDataConfigT = OutputDataConfig>
120 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
121 template<typename OutputDataConfigT = OutputDataConfig>
122 ExportJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
124
126
130 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
131 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
132 template<typename DataAccessRoleArnT = Aws::String>
133 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
134 template<typename DataAccessRoleArnT = Aws::String>
135 ExportJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
137
139
143 inline const Aws::String& GetMessage() const { return m_message; }
144 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
145 template<typename MessageT = Aws::String>
146 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
147 template<typename MessageT = Aws::String>
148 ExportJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
150 private:
151
152 Aws::String m_jobId;
153 bool m_jobIdHasBeenSet = false;
154
155 Aws::String m_jobName;
156 bool m_jobNameHasBeenSet = false;
157
158 JobStatus m_jobStatus{JobStatus::NOT_SET};
159 bool m_jobStatusHasBeenSet = false;
160
161 Aws::Utils::DateTime m_submitTime{};
162 bool m_submitTimeHasBeenSet = false;
163
164 Aws::Utils::DateTime m_endTime{};
165 bool m_endTimeHasBeenSet = false;
166
167 Aws::String m_datastoreId;
168 bool m_datastoreIdHasBeenSet = false;
169
170 OutputDataConfig m_outputDataConfig;
171 bool m_outputDataConfigHasBeenSet = false;
172
173 Aws::String m_dataAccessRoleArn;
174 bool m_dataAccessRoleArnHasBeenSet = false;
175
176 Aws::String m_message;
177 bool m_messageHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace HealthLake
182} // namespace Aws
ExportJobProperties & WithMessage(MessageT &&value)
ExportJobProperties & WithDatastoreId(DatastoreIdT &&value)
ExportJobProperties & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
ExportJobProperties & WithJobName(JobNameT &&value)
ExportJobProperties & WithEndTime(EndTimeT &&value)
ExportJobProperties & WithOutputDataConfig(OutputDataConfigT &&value)
ExportJobProperties & WithJobStatus(JobStatus value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Utils::DateTime & GetSubmitTime() const
AWS_HEALTHLAKE_API ExportJobProperties()=default
void SetOutputDataConfig(OutputDataConfigT &&value)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_HEALTHLAKE_API ExportJobProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const OutputDataConfig & GetOutputDataConfig() const
AWS_HEALTHLAKE_API ExportJobProperties(Aws::Utils::Json::JsonView jsonValue)
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
ExportJobProperties & WithJobId(JobIdT &&value)
ExportJobProperties & WithSubmitTime(SubmitTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue