AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename JobIdT = Aws::String>
48 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
49 template<typename JobIdT = Aws::String>
50 StepDetailsError& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetStepId() const { return m_stepId; }
58 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
59 template<typename StepIdT = Aws::String>
60 void SetStepId(StepIdT&& value) { m_stepIdHasBeenSet = true; m_stepId = std::forward<StepIdT>(value); }
61 template<typename StepIdT = Aws::String>
62 StepDetailsError& WithStepId(StepIdT&& value) { SetStepId(std::forward<StepIdT>(value)); return *this;}
64
66
69 inline JobEntityErrorCode GetCode() const { return m_code; }
70 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
71 inline void SetCode(JobEntityErrorCode value) { m_codeHasBeenSet = true; m_code = value; }
72 inline StepDetailsError& WithCode(JobEntityErrorCode value) { SetCode(value); return *this;}
74
76
79 inline const Aws::String& GetMessage() const { return m_message; }
80 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
81 template<typename MessageT = Aws::String>
82 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
83 template<typename MessageT = Aws::String>
84 StepDetailsError& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
86 private:
87
88 Aws::String m_jobId;
89 bool m_jobIdHasBeenSet = false;
90
91 Aws::String m_stepId;
92 bool m_stepIdHasBeenSet = false;
93
95 bool m_codeHasBeenSet = false;
96
97 Aws::String m_message;
98 bool m_messageHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace deadline
103} // namespace Aws
const Aws::String & GetMessage() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCode(JobEntityErrorCode value)
AWS_DEADLINE_API StepDetailsError & operator=(Aws::Utils::Json::JsonView jsonValue)
StepDetailsError & WithJobId(JobIdT &&value)
StepDetailsError & WithCode(JobEntityErrorCode value)
const Aws::String & GetJobId() const
StepDetailsError & WithStepId(StepIdT &&value)
AWS_DEADLINE_API StepDetailsError(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStepId() const
AWS_DEADLINE_API StepDetailsError()=default
StepDetailsError & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue