AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetQueueLimitAssociationResult.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/QueueLimitAssociationStatus.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 GetQueueLimitAssociationResult() = default;
30
32
35 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
36 template <typename CreatedAtT = Aws::Utils::DateTime>
37 void SetCreatedAt(CreatedAtT&& value) {
38 m_createdAtHasBeenSet = true;
39 m_createdAt = std::forward<CreatedAtT>(value);
40 }
41 template <typename CreatedAtT = Aws::Utils::DateTime>
43 SetCreatedAt(std::forward<CreatedAtT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
53 template <typename CreatedByT = Aws::String>
54 void SetCreatedBy(CreatedByT&& value) {
55 m_createdByHasBeenSet = true;
56 m_createdBy = std::forward<CreatedByT>(value);
57 }
58 template <typename CreatedByT = Aws::String>
60 SetCreatedBy(std::forward<CreatedByT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
71 template <typename UpdatedAtT = Aws::Utils::DateTime>
72 void SetUpdatedAt(UpdatedAtT&& value) {
73 m_updatedAtHasBeenSet = true;
74 m_updatedAt = std::forward<UpdatedAtT>(value);
75 }
76 template <typename UpdatedAtT = Aws::Utils::DateTime>
78 SetUpdatedAt(std::forward<UpdatedAtT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
88 template <typename UpdatedByT = Aws::String>
89 void SetUpdatedBy(UpdatedByT&& value) {
90 m_updatedByHasBeenSet = true;
91 m_updatedBy = std::forward<UpdatedByT>(value);
92 }
93 template <typename UpdatedByT = Aws::String>
95 SetUpdatedBy(std::forward<UpdatedByT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetQueueId() const { return m_queueId; }
105 template <typename QueueIdT = Aws::String>
106 void SetQueueId(QueueIdT&& value) {
107 m_queueIdHasBeenSet = true;
108 m_queueId = std::forward<QueueIdT>(value);
109 }
110 template <typename QueueIdT = Aws::String>
112 SetQueueId(std::forward<QueueIdT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetLimitId() const { return m_limitId; }
122 template <typename LimitIdT = Aws::String>
123 void SetLimitId(LimitIdT&& value) {
124 m_limitIdHasBeenSet = true;
125 m_limitId = std::forward<LimitIdT>(value);
126 }
127 template <typename LimitIdT = Aws::String>
129 SetLimitId(std::forward<LimitIdT>(value));
130 return *this;
131 }
133
135
138 inline QueueLimitAssociationStatus GetStatus() const { return m_status; }
140 m_statusHasBeenSet = true;
141 m_status = value;
142 }
144 SetStatus(value);
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 private:
164 Aws::Utils::DateTime m_createdAt{};
165
166 Aws::String m_createdBy;
167
168 Aws::Utils::DateTime m_updatedAt{};
169
170 Aws::String m_updatedBy;
171
172 Aws::String m_queueId;
173
174 Aws::String m_limitId;
175
177
178 Aws::String m_requestId;
179 bool m_createdAtHasBeenSet = false;
180 bool m_createdByHasBeenSet = false;
181 bool m_updatedAtHasBeenSet = false;
182 bool m_updatedByHasBeenSet = false;
183 bool m_queueIdHasBeenSet = false;
184 bool m_limitIdHasBeenSet = false;
185 bool m_statusHasBeenSet = false;
186 bool m_requestIdHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace deadline
191} // 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