AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchStopJobRunError.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ErrorDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API BatchStopJobRunError() = default;
40
41
43
46 inline const Aws::String& GetJobName() const { return m_jobName; }
47 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
48 template<typename JobNameT = Aws::String>
49 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
50 template<typename JobNameT = Aws::String>
51 BatchStopJobRunError& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetJobRunId() const { return m_jobRunId; }
59 inline bool JobRunIdHasBeenSet() const { return m_jobRunIdHasBeenSet; }
60 template<typename JobRunIdT = Aws::String>
61 void SetJobRunId(JobRunIdT&& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = std::forward<JobRunIdT>(value); }
62 template<typename JobRunIdT = Aws::String>
63 BatchStopJobRunError& WithJobRunId(JobRunIdT&& value) { SetJobRunId(std::forward<JobRunIdT>(value)); return *this;}
65
67
70 inline const ErrorDetail& GetErrorDetail() const { return m_errorDetail; }
71 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
72 template<typename ErrorDetailT = ErrorDetail>
73 void SetErrorDetail(ErrorDetailT&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::forward<ErrorDetailT>(value); }
74 template<typename ErrorDetailT = ErrorDetail>
75 BatchStopJobRunError& WithErrorDetail(ErrorDetailT&& value) { SetErrorDetail(std::forward<ErrorDetailT>(value)); return *this;}
77 private:
78
79 Aws::String m_jobName;
80 bool m_jobNameHasBeenSet = false;
81
82 Aws::String m_jobRunId;
83 bool m_jobRunIdHasBeenSet = false;
84
85 ErrorDetail m_errorDetail;
86 bool m_errorDetailHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Glue
91} // namespace Aws
AWS_GLUE_API BatchStopJobRunError(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API BatchStopJobRunError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchStopJobRunError & WithJobRunId(JobRunIdT &&value)
const ErrorDetail & GetErrorDetail() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchStopJobRunError & WithErrorDetail(ErrorDetailT &&value)
BatchStopJobRunError & WithJobName(JobNameT &&value)
AWS_GLUE_API BatchStopJobRunError()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue