AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobAttachmentDetailsError.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 JobAttachmentDetailsError();
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 JobAttachmentDetailsError& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline JobAttachmentDetailsError& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline JobAttachmentDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;}
54
56
59 inline const JobEntityErrorCode& GetCode() const{ return m_code; }
60 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
61 inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; }
62 inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
63 inline JobAttachmentDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;}
64 inline JobAttachmentDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetMessage() const{ return m_message; }
72 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
73 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
74 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
75 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
76 inline JobAttachmentDetailsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
77 inline JobAttachmentDetailsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
78 inline JobAttachmentDetailsError& WithMessage(const char* value) { SetMessage(value); return *this;}
80 private:
81
82 Aws::String m_jobId;
83 bool m_jobIdHasBeenSet = false;
84
85 JobEntityErrorCode m_code;
86 bool m_codeHasBeenSet = false;
87
88 Aws::String m_message;
89 bool m_messageHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace deadline
94} // namespace Aws
JobAttachmentDetailsError & WithCode(const JobEntityErrorCode &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobAttachmentDetailsError & WithCode(JobEntityErrorCode &&value)
JobAttachmentDetailsError & WithJobId(const Aws::String &value)
JobAttachmentDetailsError & WithJobId(const char *value)
JobAttachmentDetailsError & WithMessage(Aws::String &&value)
JobAttachmentDetailsError & WithMessage(const char *value)
JobAttachmentDetailsError & WithJobId(Aws::String &&value)
JobAttachmentDetailsError & WithMessage(const Aws::String &value)
AWS_DEADLINE_API JobAttachmentDetailsError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API JobAttachmentDetailsError(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue