AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetQueueEnvironmentResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/EnvironmentTemplateType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace deadline
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DEADLINE_API GetQueueEnvironmentResult() = default;
35
36
38
41 inline const Aws::String& GetQueueEnvironmentId() const { return m_queueEnvironmentId; }
42 template<typename QueueEnvironmentIdT = Aws::String>
43 void SetQueueEnvironmentId(QueueEnvironmentIdT&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::forward<QueueEnvironmentIdT>(value); }
44 template<typename QueueEnvironmentIdT = Aws::String>
45 GetQueueEnvironmentResult& WithQueueEnvironmentId(QueueEnvironmentIdT&& value) { SetQueueEnvironmentId(std::forward<QueueEnvironmentIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 GetQueueEnvironmentResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline int GetPriority() const { return m_priority; }
64 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
65 inline GetQueueEnvironmentResult& WithPriority(int value) { SetPriority(value); return *this;}
67
69
72 inline EnvironmentTemplateType GetTemplateType() const { return m_templateType; }
73 inline void SetTemplateType(EnvironmentTemplateType value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
76
78
81 inline const Aws::String& GetTemplate() const { return m_template; }
82 template<typename TemplateT = Aws::String>
83 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
84 template<typename TemplateT = Aws::String>
85 GetQueueEnvironmentResult& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
93 template<typename CreatedAtT = Aws::Utils::DateTime>
94 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
95 template<typename CreatedAtT = Aws::Utils::DateTime>
96 GetQueueEnvironmentResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
98
100
103 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
104 template<typename CreatedByT = Aws::String>
105 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
106 template<typename CreatedByT = Aws::String>
107 GetQueueEnvironmentResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
115 template<typename UpdatedAtT = Aws::Utils::DateTime>
116 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
117 template<typename UpdatedAtT = Aws::Utils::DateTime>
118 GetQueueEnvironmentResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
120
122
125 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
126 template<typename UpdatedByT = Aws::String>
127 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
128 template<typename UpdatedByT = Aws::String>
129 GetQueueEnvironmentResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 GetQueueEnvironmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::String m_queueEnvironmentId;
143 bool m_queueEnvironmentIdHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 int m_priority{0};
149 bool m_priorityHasBeenSet = false;
150
152 bool m_templateTypeHasBeenSet = false;
153
154 Aws::String m_template;
155 bool m_templateHasBeenSet = false;
156
157 Aws::Utils::DateTime m_createdAt{};
158 bool m_createdAtHasBeenSet = false;
159
160 Aws::String m_createdBy;
161 bool m_createdByHasBeenSet = false;
162
163 Aws::Utils::DateTime m_updatedAt{};
164 bool m_updatedAtHasBeenSet = false;
165
166 Aws::String m_updatedBy;
167 bool m_updatedByHasBeenSet = false;
168
169 Aws::String m_requestId;
170 bool m_requestIdHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace deadline
175} // 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