AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
GetQueueLimitAssociationResult.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/QueueLimitAssociationStatus.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 {
33 public:
34 AWS_DEADLINE_API GetQueueLimitAssociationResult() = default;
37
39
42 inline const Aws::String& GetQueueId() const { return m_queueId; }
43 template <typename QueueIdT = Aws::String>
44 void SetQueueId(QueueIdT&& value) {
45 m_queueIdHasBeenSet = true;
46 m_queueId = std::forward<QueueIdT>(value);
47 }
48 template <typename QueueIdT = Aws::String>
50 SetQueueId(std::forward<QueueIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetLimitId() const { return m_limitId; }
60 template <typename LimitIdT = Aws::String>
61 void SetLimitId(LimitIdT&& value) {
62 m_limitIdHasBeenSet = true;
63 m_limitId = std::forward<LimitIdT>(value);
64 }
65 template <typename LimitIdT = Aws::String>
67 SetLimitId(std::forward<LimitIdT>(value));
68 return *this;
69 }
71
73
76 inline QueueLimitAssociationStatus GetStatus() const { return m_status; }
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86
88
91 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
92 template <typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) {
94 m_createdAtHasBeenSet = true;
95 m_createdAt = std::forward<CreatedAtT>(value);
96 }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
99 SetCreatedAt(std::forward<CreatedAtT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
109 template <typename CreatedByT = Aws::String>
110 void SetCreatedBy(CreatedByT&& value) {
111 m_createdByHasBeenSet = true;
112 m_createdBy = std::forward<CreatedByT>(value);
113 }
114 template <typename CreatedByT = Aws::String>
116 SetCreatedBy(std::forward<CreatedByT>(value));
117 return *this;
118 }
120
122
126 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
127 template <typename UpdatedAtT = Aws::Utils::DateTime>
128 void SetUpdatedAt(UpdatedAtT&& value) {
129 m_updatedAtHasBeenSet = true;
130 m_updatedAt = std::forward<UpdatedAtT>(value);
131 }
132 template <typename UpdatedAtT = Aws::Utils::DateTime>
134 SetUpdatedAt(std::forward<UpdatedAtT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
144 template <typename UpdatedByT = Aws::String>
145 void SetUpdatedBy(UpdatedByT&& value) {
146 m_updatedByHasBeenSet = true;
147 m_updatedBy = std::forward<UpdatedByT>(value);
148 }
149 template <typename UpdatedByT = Aws::String>
151 SetUpdatedBy(std::forward<UpdatedByT>(value));
152 return *this;
153 }
155
157
158 inline const Aws::String& GetRequestId() const { return m_requestId; }
159 template <typename RequestIdT = Aws::String>
160 void SetRequestId(RequestIdT&& value) {
161 m_requestIdHasBeenSet = true;
162 m_requestId = std::forward<RequestIdT>(value);
163 }
164 template <typename RequestIdT = Aws::String>
166 SetRequestId(std::forward<RequestIdT>(value));
167 return *this;
168 }
170 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
171
172 private:
173 Aws::String m_queueId;
174
175 Aws::String m_limitId;
176
178
179 Aws::Utils::DateTime m_createdAt{};
180
181 Aws::String m_createdBy;
182
183 Aws::Utils::DateTime m_updatedAt{};
184
185 Aws::String m_updatedBy;
186
187 Aws::String m_requestId;
188 Aws::Http::HttpResponseCode m_HttpResponseCode;
189 bool m_queueIdHasBeenSet = false;
190 bool m_limitIdHasBeenSet = false;
191 bool m_statusHasBeenSet = false;
192 bool m_createdAtHasBeenSet = false;
193 bool m_createdByHasBeenSet = false;
194 bool m_updatedAtHasBeenSet = false;
195 bool m_updatedByHasBeenSet = false;
196 bool m_requestIdHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace deadline
201} // namespace Aws
GetQueueLimitAssociationResult & WithLimitId(LimitIdT &&value)
GetQueueLimitAssociationResult & WithRequestId(RequestIdT &&value)
GetQueueLimitAssociationResult & WithUpdatedAt(UpdatedAtT &&value)
GetQueueLimitAssociationResult & WithQueueId(QueueIdT &&value)
GetQueueLimitAssociationResult & WithUpdatedBy(UpdatedByT &&value)
AWS_DEADLINE_API GetQueueLimitAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueueLimitAssociationResult & WithCreatedAt(CreatedAtT &&value)
AWS_DEADLINE_API GetQueueLimitAssociationResult()=default
AWS_DEADLINE_API GetQueueLimitAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueueLimitAssociationResult & WithStatus(QueueLimitAssociationStatus value)
GetQueueLimitAssociationResult & WithCreatedBy(CreatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue