7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
43 template<
typename DisplayNameT = Aws::String>
44 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
45 template<
typename DisplayNameT = Aws::String>
56 template<
typename AmountRequirementNameT = Aws::String>
57 void SetAmountRequirementName(AmountRequirementNameT&& value) { m_amountRequirementNameHasBeenSet =
true; m_amountRequirementName = std::forward<AmountRequirementNameT>(value); }
58 template<
typename AmountRequirementNameT = Aws::String>
71 inline void SetMaxCount(
int value) { m_maxCountHasBeenSet =
true; m_maxCount = value; }
80 template<
typename CreatedAtT = Aws::Utils::DateTime>
81 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
82 template<
typename CreatedAtT = Aws::Utils::DateTime>
91 template<
typename CreatedByT = Aws::String>
92 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
93 template<
typename CreatedByT = Aws::String>
102 template<
typename UpdatedAtT = Aws::Utils::DateTime>
103 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
104 template<
typename UpdatedAtT = Aws::Utils::DateTime>
113 template<
typename UpdatedByT = Aws::String>
114 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
115 template<
typename UpdatedByT = Aws::String>
124 template<
typename FarmIdT = Aws::String>
125 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet =
true; m_farmId = std::forward<FarmIdT>(value); }
126 template<
typename FarmIdT = Aws::String>
135 template<
typename LimitIdT = Aws::String>
136 void SetLimitId(LimitIdT&& value) { m_limitIdHasBeenSet =
true; m_limitId = std::forward<LimitIdT>(value); }
137 template<
typename LimitIdT = Aws::String>
148 inline void SetCurrentCount(
int value) { m_currentCountHasBeenSet =
true; m_currentCount = value; }
160 template<
typename DescriptionT = Aws::String>
161 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
162 template<
typename DescriptionT = Aws::String>
169 template<
typename RequestIdT = Aws::String>
170 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
171 template<
typename RequestIdT = Aws::String>
177 bool m_displayNameHasBeenSet =
false;
180 bool m_amountRequirementNameHasBeenSet =
false;
183 bool m_maxCountHasBeenSet =
false;
186 bool m_createdAtHasBeenSet =
false;
189 bool m_createdByHasBeenSet =
false;
192 bool m_updatedAtHasBeenSet =
false;
195 bool m_updatedByHasBeenSet =
false;
198 bool m_farmIdHasBeenSet =
false;
201 bool m_limitIdHasBeenSet =
false;
203 int m_currentCount{0};
204 bool m_currentCountHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
210 bool m_requestIdHasBeenSet =
false;
void SetUpdatedBy(UpdatedByT &&value)
GetLimitResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetLimitId() const
void SetFarmId(FarmIdT &&value)
const Aws::String & GetAmountRequirementName() const
const Aws::String & GetUpdatedBy() const
GetLimitResult & WithCurrentCount(int value)
GetLimitResult & WithMaxCount(int value)
void SetCurrentCount(int value)
int GetCurrentCount() const
const Aws::String & GetRequestId() const
GetLimitResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetDisplayName() const
AWS_DEADLINE_API GetLimitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEADLINE_API GetLimitResult()=default
GetLimitResult & WithCreatedBy(CreatedByT &&value)
AWS_DEADLINE_API GetLimitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
void SetRequestId(RequestIdT &&value)
GetLimitResult & WithDisplayName(DisplayNameT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetMaxCount(int value)
const Aws::String & GetFarmId() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetCreatedBy() const
GetLimitResult & WithLimitId(LimitIdT &&value)
void SetCreatedBy(CreatedByT &&value)
GetLimitResult & WithDescription(DescriptionT &&value)
void SetLimitId(LimitIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAmountRequirementName(AmountRequirementNameT &&value)
GetLimitResult & WithCreatedAt(CreatedAtT &&value)
GetLimitResult & WithAmountRequirementName(AmountRequirementNameT &&value)
GetLimitResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetDescription() const
GetLimitResult & WithFarmId(FarmIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue