7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 template<
typename DisplayNameT = Aws::String>
51 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
52 template<
typename DisplayNameT = Aws::String>
64 template<
typename AmountRequirementNameT = Aws::String>
65 void SetAmountRequirementName(AmountRequirementNameT&& value) { m_amountRequirementNameHasBeenSet =
true; m_amountRequirementName = std::forward<AmountRequirementNameT>(value); }
66 template<
typename AmountRequirementNameT = Aws::String>
80 inline void SetMaxCount(
int value) { m_maxCountHasBeenSet =
true; m_maxCount = value; }
90 template<
typename CreatedAtT = Aws::Utils::DateTime>
91 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
92 template<
typename CreatedAtT = Aws::Utils::DateTime>
102 template<
typename CreatedByT = Aws::String>
103 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
104 template<
typename CreatedByT = Aws::String>
114 template<
typename UpdatedAtT = Aws::Utils::DateTime>
115 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
116 template<
typename UpdatedAtT = Aws::Utils::DateTime>
126 template<
typename UpdatedByT = Aws::String>
127 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
128 template<
typename UpdatedByT = Aws::String>
138 template<
typename FarmIdT = Aws::String>
139 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet =
true; m_farmId = std::forward<FarmIdT>(value); }
140 template<
typename FarmIdT = Aws::String>
150 template<
typename LimitIdT = Aws::String>
151 void SetLimitId(LimitIdT&& value) { m_limitIdHasBeenSet =
true; m_limitId = std::forward<LimitIdT>(value); }
152 template<
typename LimitIdT = Aws::String>
164 inline void SetCurrentCount(
int value) { m_currentCountHasBeenSet =
true; m_currentCount = value; }
170 bool m_displayNameHasBeenSet =
false;
173 bool m_amountRequirementNameHasBeenSet =
false;
176 bool m_maxCountHasBeenSet =
false;
179 bool m_createdAtHasBeenSet =
false;
182 bool m_createdByHasBeenSet =
false;
185 bool m_updatedAtHasBeenSet =
false;
188 bool m_updatedByHasBeenSet =
false;
191 bool m_farmIdHasBeenSet =
false;
194 bool m_limitIdHasBeenSet =
false;
196 int m_currentCount{0};
197 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