AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
GetQueueEnvironmentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/Deadline_EXPORTS.h>
11#include <aws/deadline/model/EnvironmentTemplateType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace deadline {
25namespace Model {
27 public:
28 AWS_DEADLINE_API GetQueueEnvironmentResult() = default;
31
33
36 inline const Aws::String& GetQueueEnvironmentId() const { return m_queueEnvironmentId; }
37 template <typename QueueEnvironmentIdT = Aws::String>
38 void SetQueueEnvironmentId(QueueEnvironmentIdT&& value) {
39 m_queueEnvironmentIdHasBeenSet = true;
40 m_queueEnvironmentId = std::forward<QueueEnvironmentIdT>(value);
41 }
42 template <typename QueueEnvironmentIdT = Aws::String>
43 GetQueueEnvironmentResult& WithQueueEnvironmentId(QueueEnvironmentIdT&& value) {
44 SetQueueEnvironmentId(std::forward<QueueEnvironmentIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
70 inline int GetPriority() const { return m_priority; }
71 inline void SetPriority(int value) {
72 m_priorityHasBeenSet = true;
73 m_priority = value;
74 }
76 SetPriority(value);
77 return *this;
78 }
80
82
85 inline EnvironmentTemplateType GetTemplateType() const { return m_templateType; }
87 m_templateTypeHasBeenSet = true;
88 m_templateType = value;
89 }
91 SetTemplateType(value);
92 return *this;
93 }
95
97
100 inline const Aws::String& GetTemplate() const { return m_template; }
101 template <typename TemplateT = Aws::String>
102 void SetTemplate(TemplateT&& value) {
103 m_templateHasBeenSet = true;
104 m_template = std::forward<TemplateT>(value);
105 }
106 template <typename TemplateT = Aws::String>
108 SetTemplate(std::forward<TemplateT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
118 template <typename CreatedAtT = Aws::Utils::DateTime>
119 void SetCreatedAt(CreatedAtT&& value) {
120 m_createdAtHasBeenSet = true;
121 m_createdAt = std::forward<CreatedAtT>(value);
122 }
123 template <typename CreatedAtT = Aws::Utils::DateTime>
125 SetCreatedAt(std::forward<CreatedAtT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
135 template <typename CreatedByT = Aws::String>
136 void SetCreatedBy(CreatedByT&& value) {
137 m_createdByHasBeenSet = true;
138 m_createdBy = std::forward<CreatedByT>(value);
139 }
140 template <typename CreatedByT = Aws::String>
142 SetCreatedBy(std::forward<CreatedByT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
152 template <typename UpdatedAtT = Aws::Utils::DateTime>
153 void SetUpdatedAt(UpdatedAtT&& value) {
154 m_updatedAtHasBeenSet = true;
155 m_updatedAt = std::forward<UpdatedAtT>(value);
156 }
157 template <typename UpdatedAtT = Aws::Utils::DateTime>
159 SetUpdatedAt(std::forward<UpdatedAtT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
169 template <typename UpdatedByT = Aws::String>
170 void SetUpdatedBy(UpdatedByT&& value) {
171 m_updatedByHasBeenSet = true;
172 m_updatedBy = std::forward<UpdatedByT>(value);
173 }
174 template <typename UpdatedByT = Aws::String>
176 SetUpdatedBy(std::forward<UpdatedByT>(value));
177 return *this;
178 }
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template <typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) {
186 m_requestIdHasBeenSet = true;
187 m_requestId = std::forward<RequestIdT>(value);
188 }
189 template <typename RequestIdT = Aws::String>
191 SetRequestId(std::forward<RequestIdT>(value));
192 return *this;
193 }
195 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
196
197 private:
198 Aws::String m_queueEnvironmentId;
199
200 Aws::String m_name;
201
202 int m_priority{0};
203
205
206 Aws::String m_template;
207
208 Aws::Utils::DateTime m_createdAt{};
209
210 Aws::String m_createdBy;
211
212 Aws::Utils::DateTime m_updatedAt{};
213
214 Aws::String m_updatedBy;
215
216 Aws::String m_requestId;
217 Aws::Http::HttpResponseCode m_HttpResponseCode;
218 bool m_queueEnvironmentIdHasBeenSet = false;
219 bool m_nameHasBeenSet = false;
220 bool m_priorityHasBeenSet = false;
221 bool m_templateTypeHasBeenSet = false;
222 bool m_templateHasBeenSet = false;
223 bool m_createdAtHasBeenSet = false;
224 bool m_createdByHasBeenSet = false;
225 bool m_updatedAtHasBeenSet = false;
226 bool m_updatedByHasBeenSet = false;
227 bool m_requestIdHasBeenSet = false;
228};
229
230} // namespace Model
231} // namespace deadline
232} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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