AWS SDK for C++

AWS SDK for C++ Version 1.11.834

Loading...
Searching...
No Matches
DescribeJobSchemaVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/JobCategory.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API DescribeJobSchemaVersionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeJobSchemaVersion"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
38 inline JobCategory GetJobCategory() const { return m_jobCategory; }
39 inline bool JobCategoryHasBeenSet() const { return m_jobCategoryHasBeenSet; }
40 inline void SetJobCategory(JobCategory value) {
41 m_jobCategoryHasBeenSet = true;
42 m_jobCategory = value;
43 }
45 SetJobCategory(value);
46 return *this;
47 }
49
51
55 inline const Aws::String& GetJobConfigSchemaVersion() const { return m_jobConfigSchemaVersion; }
56 inline bool JobConfigSchemaVersionHasBeenSet() const { return m_jobConfigSchemaVersionHasBeenSet; }
57 template <typename JobConfigSchemaVersionT = Aws::String>
58 void SetJobConfigSchemaVersion(JobConfigSchemaVersionT&& value) {
59 m_jobConfigSchemaVersionHasBeenSet = true;
60 m_jobConfigSchemaVersion = std::forward<JobConfigSchemaVersionT>(value);
61 }
62 template <typename JobConfigSchemaVersionT = Aws::String>
64 SetJobConfigSchemaVersion(std::forward<JobConfigSchemaVersionT>(value));
65 return *this;
66 }
68 private:
69 JobCategory m_jobCategory{JobCategory::NOT_SET};
70
71 Aws::String m_jobConfigSchemaVersion;
72 bool m_jobCategoryHasBeenSet = false;
73 bool m_jobConfigSchemaVersionHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace SageMaker
78} // namespace Aws
AWS_SAGEMAKER_API DescribeJobSchemaVersionRequest()=default
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeJobSchemaVersionRequest & WithJobCategory(JobCategory value)
DescribeJobSchemaVersionRequest & WithJobConfigSchemaVersion(JobConfigSchemaVersionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String