AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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
36 {
37 public:
38 AWS_HEALTHLAKE_API ExportJobProperties() = default;
39 AWS_HEALTHLAKE_API ExportJobProperties(Aws::Utils::Json::JsonView jsonValue);
41 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetJobId() const { return m_jobId; }
49 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
50 template<typename JobIdT = Aws::String>
51 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
52 template<typename JobIdT = Aws::String>
53 ExportJobProperties& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetJobName() const { return m_jobName; }
61 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
62 template<typename JobNameT = Aws::String>
63 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
64 template<typename JobNameT = Aws::String>
65 ExportJobProperties& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
67
69
73 inline JobStatus GetJobStatus() const { return m_jobStatus; }
74 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
75 inline void SetJobStatus(JobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
76 inline ExportJobProperties& WithJobStatus(JobStatus value) { SetJobStatus(value); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
84 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
85 template<typename SubmitTimeT = Aws::Utils::DateTime>
86 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::forward<SubmitTimeT>(value); }
87 template<typename SubmitTimeT = Aws::Utils::DateTime>
88 ExportJobProperties& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
96 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
97 template<typename EndTimeT = Aws::Utils::DateTime>
98 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
99 template<typename EndTimeT = Aws::Utils::DateTime>
100 ExportJobProperties& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
102
104
108 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
109 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
110 template<typename DatastoreIdT = Aws::String>
111 void SetDatastoreId(DatastoreIdT&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::forward<DatastoreIdT>(value); }
112 template<typename DatastoreIdT = Aws::String>
113 ExportJobProperties& WithDatastoreId(DatastoreIdT&& value) { SetDatastoreId(std::forward<DatastoreIdT>(value)); return *this;}
115
117
121 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
122 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
123 template<typename OutputDataConfigT = OutputDataConfig>
124 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
125 template<typename OutputDataConfigT = OutputDataConfig>
126 ExportJobProperties& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
128
130
133 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
134 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
135 template<typename DataAccessRoleArnT = Aws::String>
136 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
137 template<typename DataAccessRoleArnT = Aws::String>
138 ExportJobProperties& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
140
142
146 inline const Aws::String& GetMessage() const { return m_message; }
147 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
148 template<typename MessageT = Aws::String>
149 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
150 template<typename MessageT = Aws::String>
151 ExportJobProperties& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
153 private:
154
155 Aws::String m_jobId;
156 bool m_jobIdHasBeenSet = false;
157
158 Aws::String m_jobName;
159 bool m_jobNameHasBeenSet = false;
160
161 JobStatus m_jobStatus{JobStatus::NOT_SET};
162 bool m_jobStatusHasBeenSet = false;
163
164 Aws::Utils::DateTime m_submitTime{};
165 bool m_submitTimeHasBeenSet = false;
166
167 Aws::Utils::DateTime m_endTime{};
168 bool m_endTimeHasBeenSet = false;
169
170 Aws::String m_datastoreId;
171 bool m_datastoreIdHasBeenSet = false;
172
173 OutputDataConfig m_outputDataConfig;
174 bool m_outputDataConfigHasBeenSet = false;
175
176 Aws::String m_dataAccessRoleArn;
177 bool m_dataAccessRoleArnHasBeenSet = false;
178
179 Aws::String m_message;
180 bool m_messageHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace HealthLake
185} // 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