AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetJobName() const{ return m_jobName; }
47 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
48 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
49 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
50 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
51 inline BatchStopJobRunError& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
52 inline BatchStopJobRunError& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
53 inline BatchStopJobRunError& WithJobName(const char* value) { SetJobName(value); return *this;}
55
57
60 inline const Aws::String& GetJobRunId() const{ return m_jobRunId; }
61 inline bool JobRunIdHasBeenSet() const { return m_jobRunIdHasBeenSet; }
62 inline void SetJobRunId(const Aws::String& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = value; }
63 inline void SetJobRunId(Aws::String&& value) { m_jobRunIdHasBeenSet = true; m_jobRunId = std::move(value); }
64 inline void SetJobRunId(const char* value) { m_jobRunIdHasBeenSet = true; m_jobRunId.assign(value); }
65 inline BatchStopJobRunError& WithJobRunId(const Aws::String& value) { SetJobRunId(value); return *this;}
66 inline BatchStopJobRunError& WithJobRunId(Aws::String&& value) { SetJobRunId(std::move(value)); return *this;}
67 inline BatchStopJobRunError& WithJobRunId(const char* value) { SetJobRunId(value); return *this;}
69
71
74 inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; }
75 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
76 inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; }
77 inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); }
78 inline BatchStopJobRunError& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;}
79 inline BatchStopJobRunError& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_jobName;
84 bool m_jobNameHasBeenSet = false;
85
86 Aws::String m_jobRunId;
87 bool m_jobRunIdHasBeenSet = false;
88
89 ErrorDetail m_errorDetail;
90 bool m_errorDetailHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
BatchStopJobRunError & WithJobName(const Aws::String &value)
BatchStopJobRunError & WithErrorDetail(ErrorDetail &&value)
BatchStopJobRunError & WithJobRunId(const char *value)
BatchStopJobRunError & WithErrorDetail(const ErrorDetail &value)
BatchStopJobRunError & WithJobName(const char *value)
void SetJobRunId(const Aws::String &value)
AWS_GLUE_API BatchStopJobRunError(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API BatchStopJobRunError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchStopJobRunError & WithJobRunId(const Aws::String &value)
BatchStopJobRunError & WithJobRunId(Aws::String &&value)
void SetJobName(const Aws::String &value)
void SetErrorDetail(const ErrorDetail &value)
BatchStopJobRunError & WithJobName(Aws::String &&value)
const ErrorDetail & GetErrorDetail() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue