AWS SDK for C++

AWS SDK for C++ Version 1.11.835

Loading...
Searching...
No Matches
DescribeJobSchemaVersionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/JobCategory.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker {
24namespace Model {
26 public:
27 AWS_SAGEMAKER_API DescribeJobSchemaVersionResult() = default;
30
32
35 inline JobCategory GetJobCategory() const { return m_jobCategory; }
36 inline void SetJobCategory(JobCategory value) {
37 m_jobCategoryHasBeenSet = true;
38 m_jobCategory = value;
39 }
41 SetJobCategory(value);
42 return *this;
43 }
45
47
50 inline const Aws::String& GetJobConfigSchemaVersion() const { return m_jobConfigSchemaVersion; }
51 template <typename JobConfigSchemaVersionT = Aws::String>
52 void SetJobConfigSchemaVersion(JobConfigSchemaVersionT&& value) {
53 m_jobConfigSchemaVersionHasBeenSet = true;
54 m_jobConfigSchemaVersion = std::forward<JobConfigSchemaVersionT>(value);
55 }
56 template <typename JobConfigSchemaVersionT = Aws::String>
58 SetJobConfigSchemaVersion(std::forward<JobConfigSchemaVersionT>(value));
59 return *this;
60 }
62
64
68 inline const Aws::String& GetJobConfigSchema() const { return m_jobConfigSchema; }
69 template <typename JobConfigSchemaT = Aws::String>
70 void SetJobConfigSchema(JobConfigSchemaT&& value) {
71 m_jobConfigSchemaHasBeenSet = true;
72 m_jobConfigSchema = std::forward<JobConfigSchemaT>(value);
73 }
74 template <typename JobConfigSchemaT = Aws::String>
76 SetJobConfigSchema(std::forward<JobConfigSchemaT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 JobCategory m_jobCategory{JobCategory::NOT_SET};
99
100 Aws::String m_jobConfigSchemaVersion;
101
102 Aws::String m_jobConfigSchema;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_jobCategoryHasBeenSet = false;
107 bool m_jobConfigSchemaVersionHasBeenSet = false;
108 bool m_jobConfigSchemaHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace SageMaker
114} // namespace Aws
DescribeJobSchemaVersionResult & WithRequestId(RequestIdT &&value)
DescribeJobSchemaVersionResult & WithJobConfigSchema(JobConfigSchemaT &&value)
AWS_SAGEMAKER_API DescribeJobSchemaVersionResult()=default
AWS_SAGEMAKER_API DescribeJobSchemaVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeJobSchemaVersionResult & WithJobCategory(JobCategory value)
AWS_SAGEMAKER_API DescribeJobSchemaVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeJobSchemaVersionResult & WithJobConfigSchemaVersion(JobConfigSchemaVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue