7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
44 template <
typename DisplayNameT = Aws::String>
46 m_displayNameHasBeenSet =
true;
47 m_displayName = std::forward<DisplayNameT>(value);
49 template <
typename DisplayNameT = Aws::String>
64 template <
typename AmountRequirementNameT = Aws::String>
66 m_amountRequirementNameHasBeenSet =
true;
67 m_amountRequirementName = std::forward<AmountRequirementNameT>(value);
69 template <
typename AmountRequirementNameT = Aws::String>
87 m_maxCountHasBeenSet =
true;
102 template <
typename CreatedAtT = Aws::Utils::DateTime>
104 m_createdAtHasBeenSet =
true;
105 m_createdAt = std::forward<CreatedAtT>(value);
107 template <
typename CreatedAtT = Aws::Utils::DateTime>
120 template <
typename CreatedByT = Aws::String>
122 m_createdByHasBeenSet =
true;
123 m_createdBy = std::forward<CreatedByT>(value);
125 template <
typename CreatedByT = Aws::String>
138 template <
typename UpdatedAtT = Aws::Utils::DateTime>
140 m_updatedAtHasBeenSet =
true;
141 m_updatedAt = std::forward<UpdatedAtT>(value);
143 template <
typename UpdatedAtT = Aws::Utils::DateTime>
156 template <
typename UpdatedByT = Aws::String>
158 m_updatedByHasBeenSet =
true;
159 m_updatedBy = std::forward<UpdatedByT>(value);
161 template <
typename UpdatedByT = Aws::String>
174 template <
typename FarmIdT = Aws::String>
176 m_farmIdHasBeenSet =
true;
177 m_farmId = std::forward<FarmIdT>(value);
179 template <
typename FarmIdT = Aws::String>
192 template <
typename LimitIdT = Aws::String>
194 m_limitIdHasBeenSet =
true;
195 m_limitId = std::forward<LimitIdT>(value);
197 template <
typename LimitIdT = Aws::String>
213 m_currentCountHasBeenSet =
true;
214 m_currentCount = value;
240 int m_currentCount{0};
241 bool m_displayNameHasBeenSet =
false;
242 bool m_amountRequirementNameHasBeenSet =
false;
243 bool m_maxCountHasBeenSet =
false;
244 bool m_createdAtHasBeenSet =
false;
245 bool m_createdByHasBeenSet =
false;
246 bool m_updatedAtHasBeenSet =
false;
247 bool m_updatedByHasBeenSet =
false;
248 bool m_farmIdHasBeenSet =
false;
249 bool m_limitIdHasBeenSet =
false;
250 bool m_currentCountHasBeenSet =
false;
bool FarmIdHasBeenSet() const
const Aws::String & GetAmountRequirementName() const
AWS_DEADLINE_API LimitSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LimitSummary & WithAmountRequirementName(AmountRequirementNameT &&value)
LimitSummary & WithUpdatedAt(UpdatedAtT &&value)
bool CreatedAtHasBeenSet() const
void SetLimitId(LimitIdT &&value)
LimitSummary & WithCreatedBy(CreatedByT &&value)
LimitSummary & WithMaxCount(int value)
void SetFarmId(FarmIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool MaxCountHasBeenSet() const
LimitSummary & WithCurrentCount(int value)
const Aws::String & GetFarmId() const
bool CreatedByHasBeenSet() const
LimitSummary & WithLimitId(LimitIdT &&value)
AWS_DEADLINE_API LimitSummary()=default
bool AmountRequirementNameHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool UpdatedByHasBeenSet() const
bool CurrentCountHasBeenSet() const
LimitSummary & WithFarmId(FarmIdT &&value)
int GetCurrentCount() const
void SetMaxCount(int value)
const Aws::Utils::DateTime & GetUpdatedAt() const
LimitSummary & WithDisplayName(DisplayNameT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetUpdatedBy(UpdatedByT &&value)
bool LimitIdHasBeenSet() const
const Aws::String & GetLimitId() const
void SetCreatedBy(CreatedByT &&value)
void SetAmountRequirementName(AmountRequirementNameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCurrentCount(int value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDisplayName() const
bool UpdatedAtHasBeenSet() const
LimitSummary & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetUpdatedBy() const
AWS_DEADLINE_API LimitSummary(Aws::Utils::Json::JsonView jsonValue)
LimitSummary & WithCreatedAt(CreatedAtT &&value)
bool DisplayNameHasBeenSet() const
const Aws::String & GetCreatedBy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue