AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
QueueLimitAssociationSummary.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 {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace deadline {
22namespace Model {
23
31 public:
32 AWS_DEADLINE_API QueueLimitAssociationSummary() = default;
35 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetQueueId() const { return m_queueId; }
42 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
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 inline bool LimitIdHasBeenSet() const { return m_limitIdHasBeenSet; }
61 template <typename LimitIdT = Aws::String>
62 void SetLimitId(LimitIdT&& value) {
63 m_limitIdHasBeenSet = true;
64 m_limitId = std::forward<LimitIdT>(value);
65 }
66 template <typename LimitIdT = Aws::String>
68 SetLimitId(std::forward<LimitIdT>(value));
69 return *this;
70 }
72
74
83 inline QueueLimitAssociationStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 m_statusHasBeenSet = true;
87 m_status = value;
88 }
90 SetStatus(value);
91 return *this;
92 }
94
96
99 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
100 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
101 template <typename CreatedAtT = Aws::Utils::DateTime>
102 void SetCreatedAt(CreatedAtT&& value) {
103 m_createdAtHasBeenSet = true;
104 m_createdAt = std::forward<CreatedAtT>(value);
105 }
106 template <typename CreatedAtT = Aws::Utils::DateTime>
108 SetCreatedAt(std::forward<CreatedAtT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
118 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
119 template <typename CreatedByT = Aws::String>
120 void SetCreatedBy(CreatedByT&& value) {
121 m_createdByHasBeenSet = true;
122 m_createdBy = std::forward<CreatedByT>(value);
123 }
124 template <typename CreatedByT = Aws::String>
126 SetCreatedBy(std::forward<CreatedByT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
137 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
138 template <typename UpdatedAtT = Aws::Utils::DateTime>
139 void SetUpdatedAt(UpdatedAtT&& value) {
140 m_updatedAtHasBeenSet = true;
141 m_updatedAt = std::forward<UpdatedAtT>(value);
142 }
143 template <typename UpdatedAtT = Aws::Utils::DateTime>
145 SetUpdatedAt(std::forward<UpdatedAtT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
155 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
156 template <typename UpdatedByT = Aws::String>
157 void SetUpdatedBy(UpdatedByT&& value) {
158 m_updatedByHasBeenSet = true;
159 m_updatedBy = std::forward<UpdatedByT>(value);
160 }
161 template <typename UpdatedByT = Aws::String>
163 SetUpdatedBy(std::forward<UpdatedByT>(value));
164 return *this;
165 }
167 private:
168 Aws::String m_queueId;
169
170 Aws::String m_limitId;
171
173
174 Aws::Utils::DateTime m_createdAt{};
175
176 Aws::String m_createdBy;
177
178 Aws::Utils::DateTime m_updatedAt{};
179
180 Aws::String m_updatedBy;
181 bool m_queueIdHasBeenSet = false;
182 bool m_limitIdHasBeenSet = false;
183 bool m_statusHasBeenSet = false;
184 bool m_createdAtHasBeenSet = false;
185 bool m_createdByHasBeenSet = false;
186 bool m_updatedAtHasBeenSet = false;
187 bool m_updatedByHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace deadline
192} // namespace Aws
QueueLimitAssociationSummary & WithCreatedBy(CreatedByT &&value)
AWS_DEADLINE_API QueueLimitAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
QueueLimitAssociationSummary & WithStatus(QueueLimitAssociationStatus value)
QueueLimitAssociationSummary & WithCreatedAt(CreatedAtT &&value)
QueueLimitAssociationSummary & WithLimitId(LimitIdT &&value)
QueueLimitAssociationSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_DEADLINE_API QueueLimitAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API QueueLimitAssociationSummary()=default
QueueLimitAssociationSummary & WithUpdatedBy(UpdatedByT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
QueueLimitAssociationSummary & WithQueueId(QueueIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue