AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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/deadline/Deadline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
29 public:
30 AWS_DEADLINE_API EnvironmentDetailsEntity() = default;
33 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetJobId() const { return m_jobId; }
40 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
41 template <typename JobIdT = Aws::String>
42 void SetJobId(JobIdT&& value) {
43 m_jobIdHasBeenSet = true;
44 m_jobId = std::forward<JobIdT>(value);
45 }
46 template <typename JobIdT = Aws::String>
48 SetJobId(std::forward<JobIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
58 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
59 template <typename EnvironmentIdT = Aws::String>
60 void SetEnvironmentId(EnvironmentIdT&& value) {
61 m_environmentIdHasBeenSet = true;
62 m_environmentId = std::forward<EnvironmentIdT>(value);
63 }
64 template <typename EnvironmentIdT = Aws::String>
66 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
76 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
77 template <typename SchemaVersionT = Aws::String>
78 void SetSchemaVersion(SchemaVersionT&& value) {
79 m_schemaVersionHasBeenSet = true;
80 m_schemaVersion = std::forward<SchemaVersionT>(value);
81 }
82 template <typename SchemaVersionT = Aws::String>
84 SetSchemaVersion(std::forward<SchemaVersionT>(value));
85 return *this;
86 }
88
90
93 inline Aws::Utils::DocumentView GetTemplate() const { return m_template; }
94 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
95 template <typename TemplateT = Aws::Utils::Document>
96 void SetTemplate(TemplateT&& value) {
97 m_templateHasBeenSet = true;
98 m_template = std::forward<TemplateT>(value);
99 }
100 template <typename TemplateT = Aws::Utils::Document>
102 SetTemplate(std::forward<TemplateT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_jobId;
108
109 Aws::String m_environmentId;
110
111 Aws::String m_schemaVersion;
112
113 Aws::Utils::Document m_template;
114 bool m_jobIdHasBeenSet = false;
115 bool m_environmentIdHasBeenSet = false;
116 bool m_schemaVersionHasBeenSet = false;
117 bool m_templateHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace deadline
122} // namespace Aws
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API EnvironmentDetailsEntity()=default
EnvironmentDetailsEntity & WithSchemaVersion(SchemaVersionT &&value)
EnvironmentDetailsEntity & WithEnvironmentId(EnvironmentIdT &&value)
EnvironmentDetailsEntity & WithTemplate(TemplateT &&value)
AWS_DEADLINE_API EnvironmentDetailsEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API EnvironmentDetailsEntity(Aws::Utils::Json::JsonView jsonValue)
EnvironmentDetailsEntity & WithJobId(JobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue