AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
BatchGetStepError.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/BatchGetStepErrorCode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
30 public:
31 AWS_DEADLINE_API BatchGetStepError() = default;
32 AWS_DEADLINE_API BatchGetStepError(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFarmId() const { return m_farmId; }
41 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
42 template <typename FarmIdT = Aws::String>
43 void SetFarmId(FarmIdT&& value) {
44 m_farmIdHasBeenSet = true;
45 m_farmId = std::forward<FarmIdT>(value);
46 }
47 template <typename FarmIdT = Aws::String>
48 BatchGetStepError& WithFarmId(FarmIdT&& value) {
49 SetFarmId(std::forward<FarmIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetQueueId() const { return m_queueId; }
59 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
60 template <typename QueueIdT = Aws::String>
61 void SetQueueId(QueueIdT&& value) {
62 m_queueIdHasBeenSet = true;
63 m_queueId = std::forward<QueueIdT>(value);
64 }
65 template <typename QueueIdT = Aws::String>
66 BatchGetStepError& WithQueueId(QueueIdT&& value) {
67 SetQueueId(std::forward<QueueIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetJobId() const { return m_jobId; }
77 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
78 template <typename JobIdT = Aws::String>
79 void SetJobId(JobIdT&& value) {
80 m_jobIdHasBeenSet = true;
81 m_jobId = std::forward<JobIdT>(value);
82 }
83 template <typename JobIdT = Aws::String>
84 BatchGetStepError& WithJobId(JobIdT&& value) {
85 SetJobId(std::forward<JobIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetStepId() const { return m_stepId; }
95 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
96 template <typename StepIdT = Aws::String>
97 void SetStepId(StepIdT&& value) {
98 m_stepIdHasBeenSet = true;
99 m_stepId = std::forward<StepIdT>(value);
100 }
101 template <typename StepIdT = Aws::String>
102 BatchGetStepError& WithStepId(StepIdT&& value) {
103 SetStepId(std::forward<StepIdT>(value));
104 return *this;
105 }
107
109
112 inline BatchGetStepErrorCode GetCode() const { return m_code; }
113 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
114 inline void SetCode(BatchGetStepErrorCode value) {
115 m_codeHasBeenSet = true;
116 m_code = value;
117 }
119 SetCode(value);
120 return *this;
121 }
123
125
128 inline const Aws::String& GetMessage() const { return m_message; }
129 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
130 template <typename MessageT = Aws::String>
131 void SetMessage(MessageT&& value) {
132 m_messageHasBeenSet = true;
133 m_message = std::forward<MessageT>(value);
134 }
135 template <typename MessageT = Aws::String>
136 BatchGetStepError& WithMessage(MessageT&& value) {
137 SetMessage(std::forward<MessageT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_farmId;
143
144 Aws::String m_queueId;
145
146 Aws::String m_jobId;
147
148 Aws::String m_stepId;
149
151
152 Aws::String m_message;
153 bool m_farmIdHasBeenSet = false;
154 bool m_queueIdHasBeenSet = false;
155 bool m_jobIdHasBeenSet = false;
156 bool m_stepIdHasBeenSet = false;
157 bool m_codeHasBeenSet = false;
158 bool m_messageHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace deadline
163} // namespace Aws
const Aws::String & GetStepId() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchGetStepError & WithStepId(StepIdT &&value)
BatchGetStepError & WithMessage(MessageT &&value)
BatchGetStepError & WithJobId(JobIdT &&value)
BatchGetStepError & WithFarmId(FarmIdT &&value)
const Aws::String & GetQueueId() const
void SetCode(BatchGetStepErrorCode value)
BatchGetStepError & WithQueueId(QueueIdT &&value)
BatchGetStepErrorCode GetCode() const
AWS_DEADLINE_API BatchGetStepError(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFarmId() const
AWS_DEADLINE_API BatchGetStepError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetStepError & WithCode(BatchGetStepErrorCode value)
AWS_DEADLINE_API BatchGetStepError()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue