AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetQueueEnvironmentResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/EnvironmentTemplateType.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace deadline {
24namespace Model {
26 public:
27 AWS_DEADLINE_API GetQueueEnvironmentResult() = default;
30
32
35 inline const Aws::String& GetQueueEnvironmentId() const { return m_queueEnvironmentId; }
36 template <typename QueueEnvironmentIdT = Aws::String>
37 void SetQueueEnvironmentId(QueueEnvironmentIdT&& value) {
38 m_queueEnvironmentIdHasBeenSet = true;
39 m_queueEnvironmentId = std::forward<QueueEnvironmentIdT>(value);
40 }
41 template <typename QueueEnvironmentIdT = Aws::String>
42 GetQueueEnvironmentResult& WithQueueEnvironmentId(QueueEnvironmentIdT&& value) {
43 SetQueueEnvironmentId(std::forward<QueueEnvironmentIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline int GetPriority() const { return m_priority; }
70 inline void SetPriority(int value) {
71 m_priorityHasBeenSet = true;
72 m_priority = value;
73 }
75 SetPriority(value);
76 return *this;
77 }
79
81
84 inline EnvironmentTemplateType GetTemplateType() const { return m_templateType; }
86 m_templateTypeHasBeenSet = true;
87 m_templateType = value;
88 }
90 SetTemplateType(value);
91 return *this;
92 }
94
96
99 inline const Aws::String& GetTemplate() const { return m_template; }
100 template <typename TemplateT = Aws::String>
101 void SetTemplate(TemplateT&& value) {
102 m_templateHasBeenSet = true;
103 m_template = std::forward<TemplateT>(value);
104 }
105 template <typename TemplateT = Aws::String>
107 SetTemplate(std::forward<TemplateT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
117 template <typename CreatedAtT = Aws::Utils::DateTime>
118 void SetCreatedAt(CreatedAtT&& value) {
119 m_createdAtHasBeenSet = true;
120 m_createdAt = std::forward<CreatedAtT>(value);
121 }
122 template <typename CreatedAtT = Aws::Utils::DateTime>
124 SetCreatedAt(std::forward<CreatedAtT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
134 template <typename CreatedByT = Aws::String>
135 void SetCreatedBy(CreatedByT&& value) {
136 m_createdByHasBeenSet = true;
137 m_createdBy = std::forward<CreatedByT>(value);
138 }
139 template <typename CreatedByT = Aws::String>
141 SetCreatedBy(std::forward<CreatedByT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
151 template <typename UpdatedAtT = Aws::Utils::DateTime>
152 void SetUpdatedAt(UpdatedAtT&& value) {
153 m_updatedAtHasBeenSet = true;
154 m_updatedAt = std::forward<UpdatedAtT>(value);
155 }
156 template <typename UpdatedAtT = Aws::Utils::DateTime>
158 SetUpdatedAt(std::forward<UpdatedAtT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
168 template <typename UpdatedByT = Aws::String>
169 void SetUpdatedBy(UpdatedByT&& value) {
170 m_updatedByHasBeenSet = true;
171 m_updatedBy = std::forward<UpdatedByT>(value);
172 }
173 template <typename UpdatedByT = Aws::String>
175 SetUpdatedBy(std::forward<UpdatedByT>(value));
176 return *this;
177 }
179
181
182 inline const Aws::String& GetRequestId() const { return m_requestId; }
183 template <typename RequestIdT = Aws::String>
184 void SetRequestId(RequestIdT&& value) {
185 m_requestIdHasBeenSet = true;
186 m_requestId = std::forward<RequestIdT>(value);
187 }
188 template <typename RequestIdT = Aws::String>
190 SetRequestId(std::forward<RequestIdT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_queueEnvironmentId;
196
197 Aws::String m_name;
198
199 int m_priority{0};
200
202
203 Aws::String m_template;
204
205 Aws::Utils::DateTime m_createdAt{};
206
207 Aws::String m_createdBy;
208
209 Aws::Utils::DateTime m_updatedAt{};
210
211 Aws::String m_updatedBy;
212
213 Aws::String m_requestId;
214 bool m_queueEnvironmentIdHasBeenSet = false;
215 bool m_nameHasBeenSet = false;
216 bool m_priorityHasBeenSet = false;
217 bool m_templateTypeHasBeenSet = false;
218 bool m_templateHasBeenSet = false;
219 bool m_createdAtHasBeenSet = false;
220 bool m_createdByHasBeenSet = false;
221 bool m_updatedAtHasBeenSet = false;
222 bool m_updatedByHasBeenSet = false;
223 bool m_requestIdHasBeenSet = false;
224};
225
226} // namespace Model
227} // namespace deadline
228} // namespace Aws
AWS_DEADLINE_API GetQueueEnvironmentResult()=default
GetQueueEnvironmentResult & WithTemplateType(EnvironmentTemplateType value)
GetQueueEnvironmentResult & WithCreatedBy(CreatedByT &&value)
GetQueueEnvironmentResult & WithPriority(int value)
GetQueueEnvironmentResult & WithName(NameT &&value)
GetQueueEnvironmentResult & WithRequestId(RequestIdT &&value)
AWS_DEADLINE_API GetQueueEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueueEnvironmentResult & WithUpdatedAt(UpdatedAtT &&value)
GetQueueEnvironmentResult & WithTemplate(TemplateT &&value)
AWS_DEADLINE_API GetQueueEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueueEnvironmentResult & WithQueueEnvironmentId(QueueEnvironmentIdT &&value)
GetQueueEnvironmentResult & WithCreatedAt(CreatedAtT &&value)
GetQueueEnvironmentResult & WithUpdatedBy(UpdatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue