AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
42 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
43 template <typename CreatedAtT = Aws::Utils::DateTime>
44 void SetCreatedAt(CreatedAtT&& value) {
45 m_createdAtHasBeenSet = true;
46 m_createdAt = std::forward<CreatedAtT>(value);
47 }
48 template <typename CreatedAtT = Aws::Utils::DateTime>
50 SetCreatedAt(std::forward<CreatedAtT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
60 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
61 template <typename CreatedByT = Aws::String>
62 void SetCreatedBy(CreatedByT&& value) {
63 m_createdByHasBeenSet = true;
64 m_createdBy = std::forward<CreatedByT>(value);
65 }
66 template <typename CreatedByT = Aws::String>
68 SetCreatedBy(std::forward<CreatedByT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
79 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
80 template <typename UpdatedAtT = Aws::Utils::DateTime>
81 void SetUpdatedAt(UpdatedAtT&& value) {
82 m_updatedAtHasBeenSet = true;
83 m_updatedAt = std::forward<UpdatedAtT>(value);
84 }
85 template <typename UpdatedAtT = Aws::Utils::DateTime>
87 SetUpdatedAt(std::forward<UpdatedAtT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
97 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
98 template <typename UpdatedByT = Aws::String>
99 void SetUpdatedBy(UpdatedByT&& value) {
100 m_updatedByHasBeenSet = true;
101 m_updatedBy = std::forward<UpdatedByT>(value);
102 }
103 template <typename UpdatedByT = Aws::String>
105 SetUpdatedBy(std::forward<UpdatedByT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetQueueId() const { return m_queueId; }
115 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
116 template <typename QueueIdT = Aws::String>
117 void SetQueueId(QueueIdT&& value) {
118 m_queueIdHasBeenSet = true;
119 m_queueId = std::forward<QueueIdT>(value);
120 }
121 template <typename QueueIdT = Aws::String>
123 SetQueueId(std::forward<QueueIdT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetLimitId() const { return m_limitId; }
133 inline bool LimitIdHasBeenSet() const { return m_limitIdHasBeenSet; }
134 template <typename LimitIdT = Aws::String>
135 void SetLimitId(LimitIdT&& value) {
136 m_limitIdHasBeenSet = true;
137 m_limitId = std::forward<LimitIdT>(value);
138 }
139 template <typename LimitIdT = Aws::String>
141 SetLimitId(std::forward<LimitIdT>(value));
142 return *this;
143 }
145
147
156 inline QueueLimitAssociationStatus GetStatus() const { return m_status; }
157 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
159 m_statusHasBeenSet = true;
160 m_status = value;
161 }
163 SetStatus(value);
164 return *this;
165 }
167 private:
168 Aws::Utils::DateTime m_createdAt{};
169
170 Aws::String m_createdBy;
171
172 Aws::Utils::DateTime m_updatedAt{};
173
174 Aws::String m_updatedBy;
175
176 Aws::String m_queueId;
177
178 Aws::String m_limitId;
179
181 bool m_createdAtHasBeenSet = false;
182 bool m_createdByHasBeenSet = false;
183 bool m_updatedAtHasBeenSet = false;
184 bool m_updatedByHasBeenSet = false;
185 bool m_queueIdHasBeenSet = false;
186 bool m_limitIdHasBeenSet = false;
187 bool m_statusHasBeenSet = 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