AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ManifestProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/PathFormat.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
31 public:
32 AWS_DEADLINE_API ManifestProperties() = default;
35 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFileSystemLocationName() const { return m_fileSystemLocationName; }
42 inline bool FileSystemLocationNameHasBeenSet() const { return m_fileSystemLocationNameHasBeenSet; }
43 template <typename FileSystemLocationNameT = Aws::String>
44 void SetFileSystemLocationName(FileSystemLocationNameT&& value) {
45 m_fileSystemLocationNameHasBeenSet = true;
46 m_fileSystemLocationName = std::forward<FileSystemLocationNameT>(value);
47 }
48 template <typename FileSystemLocationNameT = Aws::String>
49 ManifestProperties& WithFileSystemLocationName(FileSystemLocationNameT&& value) {
50 SetFileSystemLocationName(std::forward<FileSystemLocationNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetRootPath() const { return m_rootPath; }
60 inline bool RootPathHasBeenSet() const { return m_rootPathHasBeenSet; }
61 template <typename RootPathT = Aws::String>
62 void SetRootPath(RootPathT&& value) {
63 m_rootPathHasBeenSet = true;
64 m_rootPath = std::forward<RootPathT>(value);
65 }
66 template <typename RootPathT = Aws::String>
67 ManifestProperties& WithRootPath(RootPathT&& value) {
68 SetRootPath(std::forward<RootPathT>(value));
69 return *this;
70 }
72
74
77 inline PathFormat GetRootPathFormat() const { return m_rootPathFormat; }
78 inline bool RootPathFormatHasBeenSet() const { return m_rootPathFormatHasBeenSet; }
79 inline void SetRootPathFormat(PathFormat value) {
80 m_rootPathFormatHasBeenSet = true;
81 m_rootPathFormat = value;
82 }
84 SetRootPathFormat(value);
85 return *this;
86 }
88
90
93 inline const Aws::Vector<Aws::String>& GetOutputRelativeDirectories() const { return m_outputRelativeDirectories; }
94 inline bool OutputRelativeDirectoriesHasBeenSet() const { return m_outputRelativeDirectoriesHasBeenSet; }
95 template <typename OutputRelativeDirectoriesT = Aws::Vector<Aws::String>>
96 void SetOutputRelativeDirectories(OutputRelativeDirectoriesT&& value) {
97 m_outputRelativeDirectoriesHasBeenSet = true;
98 m_outputRelativeDirectories = std::forward<OutputRelativeDirectoriesT>(value);
99 }
100 template <typename OutputRelativeDirectoriesT = Aws::Vector<Aws::String>>
101 ManifestProperties& WithOutputRelativeDirectories(OutputRelativeDirectoriesT&& value) {
102 SetOutputRelativeDirectories(std::forward<OutputRelativeDirectoriesT>(value));
103 return *this;
104 }
105 template <typename OutputRelativeDirectoriesT = Aws::String>
106 ManifestProperties& AddOutputRelativeDirectories(OutputRelativeDirectoriesT&& value) {
107 m_outputRelativeDirectoriesHasBeenSet = true;
108 m_outputRelativeDirectories.emplace_back(std::forward<OutputRelativeDirectoriesT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetInputManifestPath() const { return m_inputManifestPath; }
118 inline bool InputManifestPathHasBeenSet() const { return m_inputManifestPathHasBeenSet; }
119 template <typename InputManifestPathT = Aws::String>
120 void SetInputManifestPath(InputManifestPathT&& value) {
121 m_inputManifestPathHasBeenSet = true;
122 m_inputManifestPath = std::forward<InputManifestPathT>(value);
123 }
124 template <typename InputManifestPathT = Aws::String>
125 ManifestProperties& WithInputManifestPath(InputManifestPathT&& value) {
126 SetInputManifestPath(std::forward<InputManifestPathT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetInputManifestHash() const { return m_inputManifestHash; }
136 inline bool InputManifestHashHasBeenSet() const { return m_inputManifestHashHasBeenSet; }
137 template <typename InputManifestHashT = Aws::String>
138 void SetInputManifestHash(InputManifestHashT&& value) {
139 m_inputManifestHashHasBeenSet = true;
140 m_inputManifestHash = std::forward<InputManifestHashT>(value);
141 }
142 template <typename InputManifestHashT = Aws::String>
143 ManifestProperties& WithInputManifestHash(InputManifestHashT&& value) {
144 SetInputManifestHash(std::forward<InputManifestHashT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_fileSystemLocationName;
150
151 Aws::String m_rootPath;
152
153 PathFormat m_rootPathFormat{PathFormat::NOT_SET};
154
155 Aws::Vector<Aws::String> m_outputRelativeDirectories;
156
157 Aws::String m_inputManifestPath;
158
159 Aws::String m_inputManifestHash;
160 bool m_fileSystemLocationNameHasBeenSet = false;
161 bool m_rootPathHasBeenSet = false;
162 bool m_rootPathFormatHasBeenSet = false;
163 bool m_outputRelativeDirectoriesHasBeenSet = false;
164 bool m_inputManifestPathHasBeenSet = false;
165 bool m_inputManifestHashHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace deadline
170} // namespace Aws
ManifestProperties & WithFileSystemLocationName(FileSystemLocationNameT &&value)
void SetInputManifestPath(InputManifestPathT &&value)
const Aws::String & GetInputManifestPath() const
void SetFileSystemLocationName(FileSystemLocationNameT &&value)
AWS_DEADLINE_API ManifestProperties()=default
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
ManifestProperties & WithInputManifestPath(InputManifestPathT &&value)
ManifestProperties & WithRootPath(RootPathT &&value)
ManifestProperties & WithOutputRelativeDirectories(OutputRelativeDirectoriesT &&value)
const Aws::String & GetInputManifestHash() const
AWS_DEADLINE_API ManifestProperties(Aws::Utils::Json::JsonView jsonValue)
ManifestProperties & WithInputManifestHash(InputManifestHashT &&value)
void SetInputManifestHash(InputManifestHashT &&value)
void SetOutputRelativeDirectories(OutputRelativeDirectoriesT &&value)
const Aws::Vector< Aws::String > & GetOutputRelativeDirectories() const
ManifestProperties & WithRootPathFormat(PathFormat value)
const Aws::String & GetFileSystemLocationName() const
AWS_DEADLINE_API ManifestProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ManifestProperties & AddOutputRelativeDirectories(OutputRelativeDirectoriesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue