AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 JobAttachmentDetailsEntity& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
52
54
57 inline const Attachments& GetAttachments() const { return m_attachments; }
58 inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
59 template<typename AttachmentsT = Attachments>
60 void SetAttachments(AttachmentsT&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::forward<AttachmentsT>(value); }
61 template<typename AttachmentsT = Attachments>
62 JobAttachmentDetailsEntity& WithAttachments(AttachmentsT&& value) { SetAttachments(std::forward<AttachmentsT>(value)); return *this;}
64 private:
65
66 Aws::String m_jobId;
67 bool m_jobIdHasBeenSet = false;
68
69 Attachments m_attachments;
70 bool m_attachmentsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace deadline
75} // namespace Aws
AWS_DEADLINE_API JobAttachmentDetailsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
JobAttachmentDetailsEntity & WithJobId(JobIdT &&value)
JobAttachmentDetailsEntity & WithAttachments(AttachmentsT &&value)
AWS_DEADLINE_API JobAttachmentDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API JobAttachmentDetailsEntity()=default
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue