AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobAttachmentDetailsEntity.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/Attachments.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 JobAttachmentDetailsEntity();
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 JobAttachmentDetailsEntity& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline JobAttachmentDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline JobAttachmentDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;}
54
56
59 inline const Attachments& GetAttachments() const{ return m_attachments; }
60 inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
61 inline void SetAttachments(const Attachments& value) { m_attachmentsHasBeenSet = true; m_attachments = value; }
62 inline void SetAttachments(Attachments&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); }
63 inline JobAttachmentDetailsEntity& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;}
64 inline JobAttachmentDetailsEntity& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_jobId;
69 bool m_jobIdHasBeenSet = false;
70
71 Attachments m_attachments;
72 bool m_attachmentsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace deadline
77} // namespace Aws
AWS_DEADLINE_API JobAttachmentDetailsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API JobAttachmentDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
JobAttachmentDetailsEntity & WithJobId(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobAttachmentDetailsEntity & WithJobId(Aws::String &&value)
JobAttachmentDetailsEntity & WithAttachments(Attachments &&value)
JobAttachmentDetailsEntity & WithJobId(const char *value)
JobAttachmentDetailsEntity & WithAttachments(const Attachments &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue