AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StepDetailsError.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/JobEntityErrorCode.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 deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API StepDetailsError();
36 AWS_DEADLINE_API StepDetailsError(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetJobId() const{ return m_jobId; }
46 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
47 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
48 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
49 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
50 inline StepDetailsError& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline StepDetailsError& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline StepDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;}
54
56
59 inline const Aws::String& GetStepId() const{ return m_stepId; }
60 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
61 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
62 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
63 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
64 inline StepDetailsError& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
65 inline StepDetailsError& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
66 inline StepDetailsError& WithStepId(const char* value) { SetStepId(value); return *this;}
68
70
73 inline const JobEntityErrorCode& GetCode() const{ return m_code; }
74 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
75 inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; }
76 inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
77 inline StepDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;}
78 inline StepDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetMessage() const{ return m_message; }
86 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
87 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
88 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
89 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
90 inline StepDetailsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
91 inline StepDetailsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
92 inline StepDetailsError& WithMessage(const char* value) { SetMessage(value); return *this;}
94 private:
95
96 Aws::String m_jobId;
97 bool m_jobIdHasBeenSet = false;
98
99 Aws::String m_stepId;
100 bool m_stepIdHasBeenSet = false;
101
102 JobEntityErrorCode m_code;
103 bool m_codeHasBeenSet = false;
104
105 Aws::String m_message;
106 bool m_messageHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace deadline
111} // namespace Aws
const Aws::String & GetMessage() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCode(JobEntityErrorCode &&value)
StepDetailsError & WithJobId(const Aws::String &value)
StepDetailsError & WithMessage(const char *value)
const JobEntityErrorCode & GetCode() const
AWS_DEADLINE_API StepDetailsError & operator=(Aws::Utils::Json::JsonView jsonValue)
StepDetailsError & WithCode(const JobEntityErrorCode &value)
StepDetailsError & WithJobId(Aws::String &&value)
void SetStepId(const Aws::String &value)
const Aws::String & GetJobId() const
StepDetailsError & WithStepId(const char *value)
AWS_DEADLINE_API StepDetailsError(Aws::Utils::Json::JsonView jsonValue)
StepDetailsError & WithMessage(const Aws::String &value)
StepDetailsError & WithCode(JobEntityErrorCode &&value)
void SetCode(const JobEntityErrorCode &value)
StepDetailsError & WithStepId(Aws::String &&value)
StepDetailsError & WithMessage(Aws::String &&value)
StepDetailsError & WithStepId(const Aws::String &value)
void SetJobId(const Aws::String &value)
const Aws::String & GetStepId() const
StepDetailsError & WithJobId(const char *value)
void SetMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue