AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
DescribeLabelResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
11#include <aws/lookoutequipment/model/LabelRating.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LookoutEquipment {
25namespace Model {
27 public:
28 AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult() = default;
31
33
36 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
37 template <typename LabelGroupNameT = Aws::String>
38 void SetLabelGroupName(LabelGroupNameT&& value) {
39 m_labelGroupNameHasBeenSet = true;
40 m_labelGroupName = std::forward<LabelGroupNameT>(value);
41 }
42 template <typename LabelGroupNameT = Aws::String>
43 DescribeLabelResult& WithLabelGroupName(LabelGroupNameT&& value) {
44 SetLabelGroupName(std::forward<LabelGroupNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetLabelGroupArn() const { return m_labelGroupArn; }
54 template <typename LabelGroupArnT = Aws::String>
55 void SetLabelGroupArn(LabelGroupArnT&& value) {
56 m_labelGroupArnHasBeenSet = true;
57 m_labelGroupArn = std::forward<LabelGroupArnT>(value);
58 }
59 template <typename LabelGroupArnT = Aws::String>
60 DescribeLabelResult& WithLabelGroupArn(LabelGroupArnT&& value) {
61 SetLabelGroupArn(std::forward<LabelGroupArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetLabelId() const { return m_labelId; }
71 template <typename LabelIdT = Aws::String>
72 void SetLabelId(LabelIdT&& value) {
73 m_labelIdHasBeenSet = true;
74 m_labelId = std::forward<LabelIdT>(value);
75 }
76 template <typename LabelIdT = Aws::String>
77 DescribeLabelResult& WithLabelId(LabelIdT&& value) {
78 SetLabelId(std::forward<LabelIdT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
88 template <typename StartTimeT = Aws::Utils::DateTime>
89 void SetStartTime(StartTimeT&& value) {
90 m_startTimeHasBeenSet = true;
91 m_startTime = std::forward<StartTimeT>(value);
92 }
93 template <typename StartTimeT = Aws::Utils::DateTime>
94 DescribeLabelResult& WithStartTime(StartTimeT&& value) {
95 SetStartTime(std::forward<StartTimeT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
105 template <typename EndTimeT = Aws::Utils::DateTime>
106 void SetEndTime(EndTimeT&& value) {
107 m_endTimeHasBeenSet = true;
108 m_endTime = std::forward<EndTimeT>(value);
109 }
110 template <typename EndTimeT = Aws::Utils::DateTime>
111 DescribeLabelResult& WithEndTime(EndTimeT&& value) {
112 SetEndTime(std::forward<EndTimeT>(value));
113 return *this;
114 }
116
118
121 inline LabelRating GetRating() const { return m_rating; }
122 inline void SetRating(LabelRating value) {
123 m_ratingHasBeenSet = true;
124 m_rating = value;
125 }
127 SetRating(value);
128 return *this;
129 }
131
133
138 inline const Aws::String& GetFaultCode() const { return m_faultCode; }
139 template <typename FaultCodeT = Aws::String>
140 void SetFaultCode(FaultCodeT&& value) {
141 m_faultCodeHasBeenSet = true;
142 m_faultCode = std::forward<FaultCodeT>(value);
143 }
144 template <typename FaultCodeT = Aws::String>
145 DescribeLabelResult& WithFaultCode(FaultCodeT&& value) {
146 SetFaultCode(std::forward<FaultCodeT>(value));
147 return *this;
148 }
150
152
157 inline const Aws::String& GetNotes() const { return m_notes; }
158 template <typename NotesT = Aws::String>
159 void SetNotes(NotesT&& value) {
160 m_notesHasBeenSet = true;
161 m_notes = std::forward<NotesT>(value);
162 }
163 template <typename NotesT = Aws::String>
165 SetNotes(std::forward<NotesT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetEquipment() const { return m_equipment; }
175 template <typename EquipmentT = Aws::String>
176 void SetEquipment(EquipmentT&& value) {
177 m_equipmentHasBeenSet = true;
178 m_equipment = std::forward<EquipmentT>(value);
179 }
180 template <typename EquipmentT = Aws::String>
181 DescribeLabelResult& WithEquipment(EquipmentT&& value) {
182 SetEquipment(std::forward<EquipmentT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
192 template <typename CreatedAtT = Aws::Utils::DateTime>
193 void SetCreatedAt(CreatedAtT&& value) {
194 m_createdAtHasBeenSet = true;
195 m_createdAt = std::forward<CreatedAtT>(value);
196 }
197 template <typename CreatedAtT = Aws::Utils::DateTime>
198 DescribeLabelResult& WithCreatedAt(CreatedAtT&& value) {
199 SetCreatedAt(std::forward<CreatedAtT>(value));
200 return *this;
201 }
203
205
206 inline const Aws::String& GetRequestId() const { return m_requestId; }
207 template <typename RequestIdT = Aws::String>
208 void SetRequestId(RequestIdT&& value) {
209 m_requestIdHasBeenSet = true;
210 m_requestId = std::forward<RequestIdT>(value);
211 }
212 template <typename RequestIdT = Aws::String>
213 DescribeLabelResult& WithRequestId(RequestIdT&& value) {
214 SetRequestId(std::forward<RequestIdT>(value));
215 return *this;
216 }
218 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
219
220 private:
221 Aws::String m_labelGroupName;
222
223 Aws::String m_labelGroupArn;
224
225 Aws::String m_labelId;
226
227 Aws::Utils::DateTime m_startTime{};
228
229 Aws::Utils::DateTime m_endTime{};
230
232
233 Aws::String m_faultCode;
234
235 Aws::String m_notes;
236
237 Aws::String m_equipment;
238
239 Aws::Utils::DateTime m_createdAt{};
240
241 Aws::String m_requestId;
242 Aws::Http::HttpResponseCode m_HttpResponseCode;
243 bool m_labelGroupNameHasBeenSet = false;
244 bool m_labelGroupArnHasBeenSet = false;
245 bool m_labelIdHasBeenSet = false;
246 bool m_startTimeHasBeenSet = false;
247 bool m_endTimeHasBeenSet = false;
248 bool m_ratingHasBeenSet = false;
249 bool m_faultCodeHasBeenSet = false;
250 bool m_notesHasBeenSet = false;
251 bool m_equipmentHasBeenSet = false;
252 bool m_createdAtHasBeenSet = false;
253 bool m_requestIdHasBeenSet = false;
254};
255
256} // namespace Model
257} // namespace LookoutEquipment
258} // namespace Aws
DescribeLabelResult & WithEquipment(EquipmentT &&value)
AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult()=default
DescribeLabelResult & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLabelResult & WithEndTime(EndTimeT &&value)
DescribeLabelResult & WithRating(LabelRating value)
DescribeLabelResult & WithLabelId(LabelIdT &&value)
DescribeLabelResult & WithNotes(NotesT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DescribeLabelResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeLabelResult & WithFaultCode(FaultCodeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
DescribeLabelResult & WithLabelGroupArn(LabelGroupArnT &&value)
DescribeLabelResult & WithLabelGroupName(LabelGroupNameT &&value)
DescribeLabelResult & WithCreatedAt(CreatedAtT &&value)
AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue