AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetManifests(const Aws::Vector<ManifestProperties>& value) { m_manifestsHasBeenSet = true; m_manifests = value; }
49 inline void SetManifests(Aws::Vector<ManifestProperties>&& value) { m_manifestsHasBeenSet = true; m_manifests = std::move(value); }
50 inline Attachments& WithManifests(const Aws::Vector<ManifestProperties>& value) { SetManifests(value); return *this;}
51 inline Attachments& WithManifests(Aws::Vector<ManifestProperties>&& value) { SetManifests(std::move(value)); return *this;}
52 inline Attachments& AddManifests(const ManifestProperties& value) { m_manifestsHasBeenSet = true; m_manifests.push_back(value); return *this; }
53 inline Attachments& AddManifests(ManifestProperties&& value) { m_manifestsHasBeenSet = true; m_manifests.push_back(std::move(value)); return *this; }
55
57
60 inline const JobAttachmentsFileSystem& GetFileSystem() const{ return m_fileSystem; }
61 inline bool FileSystemHasBeenSet() const { return m_fileSystemHasBeenSet; }
62 inline void SetFileSystem(const JobAttachmentsFileSystem& value) { m_fileSystemHasBeenSet = true; m_fileSystem = value; }
63 inline void SetFileSystem(JobAttachmentsFileSystem&& value) { m_fileSystemHasBeenSet = true; m_fileSystem = std::move(value); }
64 inline Attachments& WithFileSystem(const JobAttachmentsFileSystem& value) { SetFileSystem(value); return *this;}
65 inline Attachments& WithFileSystem(JobAttachmentsFileSystem&& value) { SetFileSystem(std::move(value)); return *this;}
67 private:
68
70 bool m_manifestsHasBeenSet = false;
71
72 JobAttachmentsFileSystem m_fileSystem;
73 bool m_fileSystemHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace deadline
78} // namespace Aws
const JobAttachmentsFileSystem & GetFileSystem() const
Definition Attachments.h:60
AWS_DEADLINE_API Attachments(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ManifestProperties > & GetManifests() const
Definition Attachments.h:46
void SetManifests(const Aws::Vector< ManifestProperties > &value)
Definition Attachments.h:48
Attachments & WithManifests(Aws::Vector< ManifestProperties > &&value)
Definition Attachments.h:51
Attachments & WithFileSystem(JobAttachmentsFileSystem &&value)
Definition Attachments.h:65
Attachments & WithManifests(const Aws::Vector< ManifestProperties > &value)
Definition Attachments.h:50
AWS_DEADLINE_API Attachments & operator=(Aws::Utils::Json::JsonView jsonValue)
Attachments & WithFileSystem(const JobAttachmentsFileSystem &value)
Definition Attachments.h:64
void SetManifests(Aws::Vector< ManifestProperties > &&value)
Definition Attachments.h:49
void SetFileSystem(const JobAttachmentsFileSystem &value)
Definition Attachments.h:62
Attachments & AddManifests(const ManifestProperties &value)
Definition Attachments.h:52
void SetFileSystem(JobAttachmentsFileSystem &&value)
Definition Attachments.h:63
Attachments & AddManifests(ManifestProperties &&value)
Definition Attachments.h:53
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue