AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeClusterSchedulerConfigResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/SchedulerConfig.h>
11#include <aws/sagemaker/model/SchedulerResourceStatus.h>
12#include <aws/sagemaker/model/UserContext.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
28 public:
29 AWS_SAGEMAKER_API DescribeClusterSchedulerConfigResult() = default;
32
34
37 inline const Aws::String& GetClusterSchedulerConfigArn() const { return m_clusterSchedulerConfigArn; }
38 template <typename ClusterSchedulerConfigArnT = Aws::String>
39 void SetClusterSchedulerConfigArn(ClusterSchedulerConfigArnT&& value) {
40 m_clusterSchedulerConfigArnHasBeenSet = true;
41 m_clusterSchedulerConfigArn = std::forward<ClusterSchedulerConfigArnT>(value);
42 }
43 template <typename ClusterSchedulerConfigArnT = Aws::String>
45 SetClusterSchedulerConfigArn(std::forward<ClusterSchedulerConfigArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetClusterSchedulerConfigId() const { return m_clusterSchedulerConfigId; }
55 template <typename ClusterSchedulerConfigIdT = Aws::String>
56 void SetClusterSchedulerConfigId(ClusterSchedulerConfigIdT&& value) {
57 m_clusterSchedulerConfigIdHasBeenSet = true;
58 m_clusterSchedulerConfigId = std::forward<ClusterSchedulerConfigIdT>(value);
59 }
60 template <typename ClusterSchedulerConfigIdT = Aws::String>
62 SetClusterSchedulerConfigId(std::forward<ClusterSchedulerConfigIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 template <typename NameT = Aws::String>
73 void SetName(NameT&& value) {
74 m_nameHasBeenSet = true;
75 m_name = std::forward<NameT>(value);
76 }
77 template <typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
80 return *this;
81 }
83
85
88 inline int GetClusterSchedulerConfigVersion() const { return m_clusterSchedulerConfigVersion; }
89 inline void SetClusterSchedulerConfigVersion(int value) {
90 m_clusterSchedulerConfigVersionHasBeenSet = true;
91 m_clusterSchedulerConfigVersion = value;
92 }
95 return *this;
96 }
98
100
103 inline SchedulerResourceStatus GetStatus() const { return m_status; }
105 m_statusHasBeenSet = true;
106 m_status = value;
107 }
109 SetStatus(value);
110 return *this;
111 }
113
115
118 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
119 template <typename FailureReasonT = Aws::String>
120 void SetFailureReason(FailureReasonT&& value) {
121 m_failureReasonHasBeenSet = true;
122 m_failureReason = std::forward<FailureReasonT>(value);
123 }
124 template <typename FailureReasonT = Aws::String>
126 SetFailureReason(std::forward<FailureReasonT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
136 template <typename ClusterArnT = Aws::String>
137 void SetClusterArn(ClusterArnT&& value) {
138 m_clusterArnHasBeenSet = true;
139 m_clusterArn = std::forward<ClusterArnT>(value);
140 }
141 template <typename ClusterArnT = Aws::String>
143 SetClusterArn(std::forward<ClusterArnT>(value));
144 return *this;
145 }
147
149
154 inline const SchedulerConfig& GetSchedulerConfig() const { return m_schedulerConfig; }
155 template <typename SchedulerConfigT = SchedulerConfig>
156 void SetSchedulerConfig(SchedulerConfigT&& value) {
157 m_schedulerConfigHasBeenSet = true;
158 m_schedulerConfig = std::forward<SchedulerConfigT>(value);
159 }
160 template <typename SchedulerConfigT = SchedulerConfig>
162 SetSchedulerConfig(std::forward<SchedulerConfigT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetDescription() const { return m_description; }
172 template <typename DescriptionT = Aws::String>
173 void SetDescription(DescriptionT&& value) {
174 m_descriptionHasBeenSet = true;
175 m_description = std::forward<DescriptionT>(value);
176 }
177 template <typename DescriptionT = Aws::String>
179 SetDescription(std::forward<DescriptionT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
189 template <typename CreationTimeT = Aws::Utils::DateTime>
190 void SetCreationTime(CreationTimeT&& value) {
191 m_creationTimeHasBeenSet = true;
192 m_creationTime = std::forward<CreationTimeT>(value);
193 }
194 template <typename CreationTimeT = Aws::Utils::DateTime>
196 SetCreationTime(std::forward<CreationTimeT>(value));
197 return *this;
198 }
200
202
203 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
204 template <typename CreatedByT = UserContext>
205 void SetCreatedBy(CreatedByT&& value) {
206 m_createdByHasBeenSet = true;
207 m_createdBy = std::forward<CreatedByT>(value);
208 }
209 template <typename CreatedByT = UserContext>
211 SetCreatedBy(std::forward<CreatedByT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
221 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
222 void SetLastModifiedTime(LastModifiedTimeT&& value) {
223 m_lastModifiedTimeHasBeenSet = true;
224 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
225 }
226 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
228 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
229 return *this;
230 }
232
234
235 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
236 template <typename LastModifiedByT = UserContext>
237 void SetLastModifiedBy(LastModifiedByT&& value) {
238 m_lastModifiedByHasBeenSet = true;
239 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
240 }
241 template <typename LastModifiedByT = UserContext>
243 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
244 return *this;
245 }
247
249
250 inline const Aws::String& GetRequestId() const { return m_requestId; }
251 template <typename RequestIdT = Aws::String>
252 void SetRequestId(RequestIdT&& value) {
253 m_requestIdHasBeenSet = true;
254 m_requestId = std::forward<RequestIdT>(value);
255 }
256 template <typename RequestIdT = Aws::String>
258 SetRequestId(std::forward<RequestIdT>(value));
259 return *this;
260 }
262 private:
263 Aws::String m_clusterSchedulerConfigArn;
264
265 Aws::String m_clusterSchedulerConfigId;
266
267 Aws::String m_name;
268
269 int m_clusterSchedulerConfigVersion{0};
270
272
273 Aws::String m_failureReason;
274
275 Aws::String m_clusterArn;
276
277 SchedulerConfig m_schedulerConfig;
278
279 Aws::String m_description;
280
281 Aws::Utils::DateTime m_creationTime{};
282
283 UserContext m_createdBy;
284
285 Aws::Utils::DateTime m_lastModifiedTime{};
286
287 UserContext m_lastModifiedBy;
288
289 Aws::String m_requestId;
290 bool m_clusterSchedulerConfigArnHasBeenSet = false;
291 bool m_clusterSchedulerConfigIdHasBeenSet = false;
292 bool m_nameHasBeenSet = false;
293 bool m_clusterSchedulerConfigVersionHasBeenSet = false;
294 bool m_statusHasBeenSet = false;
295 bool m_failureReasonHasBeenSet = false;
296 bool m_clusterArnHasBeenSet = false;
297 bool m_schedulerConfigHasBeenSet = false;
298 bool m_descriptionHasBeenSet = false;
299 bool m_creationTimeHasBeenSet = false;
300 bool m_createdByHasBeenSet = false;
301 bool m_lastModifiedTimeHasBeenSet = false;
302 bool m_lastModifiedByHasBeenSet = false;
303 bool m_requestIdHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace SageMaker
308} // namespace Aws
DescribeClusterSchedulerConfigResult & WithSchedulerConfig(SchedulerConfigT &&value)
DescribeClusterSchedulerConfigResult & WithStatus(SchedulerResourceStatus value)
DescribeClusterSchedulerConfigResult & WithClusterSchedulerConfigArn(ClusterSchedulerConfigArnT &&value)
DescribeClusterSchedulerConfigResult & WithCreationTime(CreationTimeT &&value)
DescribeClusterSchedulerConfigResult & WithClusterSchedulerConfigVersion(int value)
DescribeClusterSchedulerConfigResult & WithCreatedBy(CreatedByT &&value)
DescribeClusterSchedulerConfigResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeClusterSchedulerConfigResult & WithRequestId(RequestIdT &&value)
DescribeClusterSchedulerConfigResult & WithDescription(DescriptionT &&value)
DescribeClusterSchedulerConfigResult & WithFailureReason(FailureReasonT &&value)
DescribeClusterSchedulerConfigResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeClusterSchedulerConfigResult & WithClusterArn(ClusterArnT &&value)
AWS_SAGEMAKER_API DescribeClusterSchedulerConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeClusterSchedulerConfigResult & WithClusterSchedulerConfigId(ClusterSchedulerConfigIdT &&value)
AWS_SAGEMAKER_API DescribeClusterSchedulerConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue