AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Attachments.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/JobAttachmentsFileSystem.h>
10#include <aws/deadline/model/ManifestProperties.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace deadline {
22namespace Model {
23
30 public:
31 AWS_DEADLINE_API Attachments() = default;
32 AWS_DEADLINE_API Attachments(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DEADLINE_API Attachments& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<ManifestProperties>& GetManifests() const { return m_manifests; }
41 inline bool ManifestsHasBeenSet() const { return m_manifestsHasBeenSet; }
42 template <typename ManifestsT = Aws::Vector<ManifestProperties>>
43 void SetManifests(ManifestsT&& value) {
44 m_manifestsHasBeenSet = true;
45 m_manifests = std::forward<ManifestsT>(value);
46 }
47 template <typename ManifestsT = Aws::Vector<ManifestProperties>>
48 Attachments& WithManifests(ManifestsT&& value) {
49 SetManifests(std::forward<ManifestsT>(value));
50 return *this;
51 }
52 template <typename ManifestsT = ManifestProperties>
53 Attachments& AddManifests(ManifestsT&& value) {
54 m_manifestsHasBeenSet = true;
55 m_manifests.emplace_back(std::forward<ManifestsT>(value));
56 return *this;
57 }
59
61
64 inline JobAttachmentsFileSystem GetFileSystem() const { return m_fileSystem; }
65 inline bool FileSystemHasBeenSet() const { return m_fileSystemHasBeenSet; }
67 m_fileSystemHasBeenSet = true;
68 m_fileSystem = value;
69 }
71 SetFileSystem(value);
72 return *this;
73 }
75 private:
77
79 bool m_manifestsHasBeenSet = false;
80 bool m_fileSystemHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace deadline
85} // namespace Aws
AWS_DEADLINE_API Attachments(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ManifestProperties > & GetManifests() const
Definition Attachments.h:40
JobAttachmentsFileSystem GetFileSystem() const
Definition Attachments.h:64
Attachments & AddManifests(ManifestsT &&value)
Definition Attachments.h:53
void SetManifests(ManifestsT &&value)
Definition Attachments.h:43
AWS_DEADLINE_API Attachments & operator=(Aws::Utils::Json::JsonView jsonValue)
Attachments & WithFileSystem(JobAttachmentsFileSystem value)
Definition Attachments.h:70
AWS_DEADLINE_API Attachments()=default
void SetFileSystem(JobAttachmentsFileSystem value)
Definition Attachments.h:66
Attachments & WithManifests(ManifestsT &&value)
Definition Attachments.h:48
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue