AWS SDK for C++

AWS SDK for C++ Version 1.11.834

Loading...
Searching...
No Matches
DescribeJobRequest.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 DescribeJobRequest() = 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 "DescribeJob"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetJobName() const { return m_jobName; }
39 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
40 template <typename JobNameT = Aws::String>
41 void SetJobName(JobNameT&& value) {
42 m_jobNameHasBeenSet = true;
43 m_jobName = std::forward<JobNameT>(value);
44 }
45 template <typename JobNameT = Aws::String>
46 DescribeJobRequest& WithJobName(JobNameT&& value) {
47 SetJobName(std::forward<JobNameT>(value));
48 return *this;
49 }
51
53
56 inline JobCategory GetJobCategory() const { return m_jobCategory; }
57 inline bool JobCategoryHasBeenSet() const { return m_jobCategoryHasBeenSet; }
58 inline void SetJobCategory(JobCategory value) {
59 m_jobCategoryHasBeenSet = true;
60 m_jobCategory = value;
61 }
63 SetJobCategory(value);
64 return *this;
65 }
67 private:
68 Aws::String m_jobName;
69
70 JobCategory m_jobCategory{JobCategory::NOT_SET};
71 bool m_jobNameHasBeenSet = false;
72 bool m_jobCategoryHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
AWS_SAGEMAKER_API DescribeJobRequest()=default
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeJobRequest & WithJobCategory(JobCategory value)
virtual const char * GetServiceRequestName() const override
DescribeJobRequest & WithJobName(JobNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String