AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
EnvironmentDetailsEntity.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/deadline/Deadline_EXPORTS.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 EnvironmentDetailsEntity() = default;
34 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetJobId() const { return m_jobId; }
41 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
42 template <typename JobIdT = Aws::String>
43 void SetJobId(JobIdT&& value) {
44 m_jobIdHasBeenSet = true;
45 m_jobId = std::forward<JobIdT>(value);
46 }
47 template <typename JobIdT = Aws::String>
49 SetJobId(std::forward<JobIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
59 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
60 template <typename EnvironmentIdT = Aws::String>
61 void SetEnvironmentId(EnvironmentIdT&& value) {
62 m_environmentIdHasBeenSet = true;
63 m_environmentId = std::forward<EnvironmentIdT>(value);
64 }
65 template <typename EnvironmentIdT = Aws::String>
67 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
77 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
78 template <typename SchemaVersionT = Aws::String>
79 void SetSchemaVersion(SchemaVersionT&& value) {
80 m_schemaVersionHasBeenSet = true;
81 m_schemaVersion = std::forward<SchemaVersionT>(value);
82 }
83 template <typename SchemaVersionT = Aws::String>
85 SetSchemaVersion(std::forward<SchemaVersionT>(value));
86 return *this;
87 }
89
91
94 inline Aws::Utils::DocumentView GetTemplate() const { return m_template; }
95 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
96 template <typename TemplateT = Aws::Utils::Document>
97 void SetTemplate(TemplateT&& value) {
98 m_templateHasBeenSet = true;
99 m_template = std::forward<TemplateT>(value);
100 }
101 template <typename TemplateT = Aws::Utils::Document>
103 SetTemplate(std::forward<TemplateT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::Vector<Aws::String>& GetExtensions() const { return m_extensions; }
114 inline bool ExtensionsHasBeenSet() const { return m_extensionsHasBeenSet; }
115 template <typename ExtensionsT = Aws::Vector<Aws::String>>
116 void SetExtensions(ExtensionsT&& value) {
117 m_extensionsHasBeenSet = true;
118 m_extensions = std::forward<ExtensionsT>(value);
119 }
120 template <typename ExtensionsT = Aws::Vector<Aws::String>>
122 SetExtensions(std::forward<ExtensionsT>(value));
123 return *this;
124 }
125 template <typename ExtensionsT = Aws::String>
127 m_extensionsHasBeenSet = true;
128 m_extensions.emplace_back(std::forward<ExtensionsT>(value));
129 return *this;
130 }
132
134
138 inline const Aws::String& GetResolvedSymbolTable() const { return m_resolvedSymbolTable; }
139 inline bool ResolvedSymbolTableHasBeenSet() const { return m_resolvedSymbolTableHasBeenSet; }
140 template <typename ResolvedSymbolTableT = Aws::String>
141 void SetResolvedSymbolTable(ResolvedSymbolTableT&& value) {
142 m_resolvedSymbolTableHasBeenSet = true;
143 m_resolvedSymbolTable = std::forward<ResolvedSymbolTableT>(value);
144 }
145 template <typename ResolvedSymbolTableT = Aws::String>
146 EnvironmentDetailsEntity& WithResolvedSymbolTable(ResolvedSymbolTableT&& value) {
147 SetResolvedSymbolTable(std::forward<ResolvedSymbolTableT>(value));
148 return *this;
149 }
151 private:
152 Aws::String m_jobId;
153
154 Aws::String m_environmentId;
155
156 Aws::String m_schemaVersion;
157
158 Aws::Utils::Document m_template;
159
160 Aws::Vector<Aws::String> m_extensions;
161
162 Aws::String m_resolvedSymbolTable;
163 bool m_jobIdHasBeenSet = false;
164 bool m_environmentIdHasBeenSet = false;
165 bool m_schemaVersionHasBeenSet = false;
166 bool m_templateHasBeenSet = false;
167 bool m_extensionsHasBeenSet = false;
168 bool m_resolvedSymbolTableHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace deadline
173} // namespace Aws
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentDetailsEntity & AddExtensions(ExtensionsT &&value)
AWS_DEADLINE_API EnvironmentDetailsEntity()=default
EnvironmentDetailsEntity & WithSchemaVersion(SchemaVersionT &&value)
EnvironmentDetailsEntity & WithEnvironmentId(EnvironmentIdT &&value)
EnvironmentDetailsEntity & WithTemplate(TemplateT &&value)
EnvironmentDetailsEntity & WithResolvedSymbolTable(ResolvedSymbolTableT &&value)
AWS_DEADLINE_API EnvironmentDetailsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetExtensions() const
void SetResolvedSymbolTable(ResolvedSymbolTableT &&value)
AWS_DEADLINE_API EnvironmentDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
EnvironmentDetailsEntity & WithExtensions(ExtensionsT &&value)
EnvironmentDetailsEntity & WithJobId(JobIdT &&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