AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetLimitResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace deadline
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DEADLINE_API GetLimitResult() = default;
34
35
37
42 inline const Aws::String& GetDisplayName() const { return m_displayName; }
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>
46 GetLimitResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
48
50
55 inline const Aws::String& GetAmountRequirementName() const { return m_amountRequirementName; }
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>
59 GetLimitResult& WithAmountRequirementName(AmountRequirementNameT&& value) { SetAmountRequirementName(std::forward<AmountRequirementNameT>(value)); return *this;}
61
63
70 inline int GetMaxCount() const { return m_maxCount; }
71 inline void SetMaxCount(int value) { m_maxCountHasBeenSet = true; m_maxCount = value; }
72 inline GetLimitResult& WithMaxCount(int value) { SetMaxCount(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
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>
83 GetLimitResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
85
87
90 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
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>
94 GetLimitResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
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>
105 GetLimitResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
107
109
112 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
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>
116 GetLimitResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
118
120
123 inline const Aws::String& GetFarmId() const { return m_farmId; }
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>
127 GetLimitResult& WithFarmId(FarmIdT&& value) { SetFarmId(std::forward<FarmIdT>(value)); return *this;}
129
131
134 inline const Aws::String& GetLimitId() const { return m_limitId; }
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>
138 GetLimitResult& WithLimitId(LimitIdT&& value) { SetLimitId(std::forward<LimitIdT>(value)); return *this;}
140
142
147 inline int GetCurrentCount() const { return m_currentCount; }
148 inline void SetCurrentCount(int value) { m_currentCountHasBeenSet = true; m_currentCount = value; }
149 inline GetLimitResult& WithCurrentCount(int value) { SetCurrentCount(value); return *this;}
151
153
159 inline const Aws::String& GetDescription() const { return m_description; }
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>
163 GetLimitResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
165
167
168 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
172 GetLimitResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
174 private:
175
176 Aws::String m_displayName;
177 bool m_displayNameHasBeenSet = false;
178
179 Aws::String m_amountRequirementName;
180 bool m_amountRequirementNameHasBeenSet = false;
181
182 int m_maxCount{0};
183 bool m_maxCountHasBeenSet = false;
184
185 Aws::Utils::DateTime m_createdAt{};
186 bool m_createdAtHasBeenSet = false;
187
188 Aws::String m_createdBy;
189 bool m_createdByHasBeenSet = false;
190
191 Aws::Utils::DateTime m_updatedAt{};
192 bool m_updatedAtHasBeenSet = false;
193
194 Aws::String m_updatedBy;
195 bool m_updatedByHasBeenSet = false;
196
197 Aws::String m_farmId;
198 bool m_farmIdHasBeenSet = false;
199
200 Aws::String m_limitId;
201 bool m_limitIdHasBeenSet = false;
202
203 int m_currentCount{0};
204 bool m_currentCountHasBeenSet = false;
205
206 Aws::String m_description;
207 bool m_descriptionHasBeenSet = false;
208
209 Aws::String m_requestId;
210 bool m_requestIdHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace deadline
215} // namespace Aws
void SetUpdatedBy(UpdatedByT &&value)
GetLimitResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetLimitId() const
const Aws::String & GetAmountRequirementName() const
const Aws::String & GetUpdatedBy() const
GetLimitResult & WithCurrentCount(int value)
GetLimitResult & WithMaxCount(int value)
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)
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)
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