AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Attachments.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/deadline/model/JobAttachmentsFileSystem.h>
10#include <aws/deadline/model/ManifestProperties.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace deadline
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DEADLINE_API Attachments() = default;
37 AWS_DEADLINE_API Attachments(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API Attachments& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<ManifestProperties>& GetManifests() const { return m_manifests; }
47 inline bool ManifestsHasBeenSet() const { return m_manifestsHasBeenSet; }
48 template<typename ManifestsT = Aws::Vector<ManifestProperties>>
49 void SetManifests(ManifestsT&& value) { m_manifestsHasBeenSet = true; m_manifests = std::forward<ManifestsT>(value); }
50 template<typename ManifestsT = Aws::Vector<ManifestProperties>>
51 Attachments& WithManifests(ManifestsT&& value) { SetManifests(std::forward<ManifestsT>(value)); return *this;}
52 template<typename ManifestsT = ManifestProperties>
53 Attachments& AddManifests(ManifestsT&& value) { m_manifestsHasBeenSet = true; m_manifests.emplace_back(std::forward<ManifestsT>(value)); return *this; }
55
57
60 inline JobAttachmentsFileSystem GetFileSystem() const { return m_fileSystem; }
61 inline bool FileSystemHasBeenSet() const { return m_fileSystemHasBeenSet; }
62 inline void SetFileSystem(JobAttachmentsFileSystem value) { m_fileSystemHasBeenSet = true; m_fileSystem = value; }
63 inline Attachments& WithFileSystem(JobAttachmentsFileSystem value) { SetFileSystem(value); return *this;}
65 private:
66
68 bool m_manifestsHasBeenSet = false;
69
71 bool m_fileSystemHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace deadline
76} // namespace Aws
AWS_DEADLINE_API Attachments(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ManifestProperties > & GetManifests() const
Definition Attachments.h:46
JobAttachmentsFileSystem GetFileSystem() const
Definition Attachments.h:60
Attachments & AddManifests(ManifestsT &&value)
Definition Attachments.h:53
void SetManifests(ManifestsT &&value)
Definition Attachments.h:49
AWS_DEADLINE_API Attachments & operator=(Aws::Utils::Json::JsonView jsonValue)
Attachments & WithFileSystem(JobAttachmentsFileSystem value)
Definition Attachments.h:63
AWS_DEADLINE_API Attachments()=default
void SetFileSystem(JobAttachmentsFileSystem value)
Definition Attachments.h:62
Attachments & WithManifests(ManifestsT &&value)
Definition Attachments.h:51
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue