AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
DescribeLabelResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
10#include <aws/lookoutequipment/model/LabelRating.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LookoutEquipment {
24namespace Model {
26 public:
27 AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult() = default;
30
32
35 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
36 template <typename LabelGroupNameT = Aws::String>
37 void SetLabelGroupName(LabelGroupNameT&& value) {
38 m_labelGroupNameHasBeenSet = true;
39 m_labelGroupName = std::forward<LabelGroupNameT>(value);
40 }
41 template <typename LabelGroupNameT = Aws::String>
42 DescribeLabelResult& WithLabelGroupName(LabelGroupNameT&& value) {
43 SetLabelGroupName(std::forward<LabelGroupNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetLabelGroupArn() const { return m_labelGroupArn; }
53 template <typename LabelGroupArnT = Aws::String>
54 void SetLabelGroupArn(LabelGroupArnT&& value) {
55 m_labelGroupArnHasBeenSet = true;
56 m_labelGroupArn = std::forward<LabelGroupArnT>(value);
57 }
58 template <typename LabelGroupArnT = Aws::String>
59 DescribeLabelResult& WithLabelGroupArn(LabelGroupArnT&& value) {
60 SetLabelGroupArn(std::forward<LabelGroupArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetLabelId() const { return m_labelId; }
70 template <typename LabelIdT = Aws::String>
71 void SetLabelId(LabelIdT&& value) {
72 m_labelIdHasBeenSet = true;
73 m_labelId = std::forward<LabelIdT>(value);
74 }
75 template <typename LabelIdT = Aws::String>
76 DescribeLabelResult& WithLabelId(LabelIdT&& value) {
77 SetLabelId(std::forward<LabelIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
87 template <typename StartTimeT = Aws::Utils::DateTime>
88 void SetStartTime(StartTimeT&& value) {
89 m_startTimeHasBeenSet = true;
90 m_startTime = std::forward<StartTimeT>(value);
91 }
92 template <typename StartTimeT = Aws::Utils::DateTime>
93 DescribeLabelResult& WithStartTime(StartTimeT&& value) {
94 SetStartTime(std::forward<StartTimeT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
104 template <typename EndTimeT = Aws::Utils::DateTime>
105 void SetEndTime(EndTimeT&& value) {
106 m_endTimeHasBeenSet = true;
107 m_endTime = std::forward<EndTimeT>(value);
108 }
109 template <typename EndTimeT = Aws::Utils::DateTime>
110 DescribeLabelResult& WithEndTime(EndTimeT&& value) {
111 SetEndTime(std::forward<EndTimeT>(value));
112 return *this;
113 }
115
117
120 inline LabelRating GetRating() const { return m_rating; }
121 inline void SetRating(LabelRating value) {
122 m_ratingHasBeenSet = true;
123 m_rating = value;
124 }
126 SetRating(value);
127 return *this;
128 }
130
132
137 inline const Aws::String& GetFaultCode() const { return m_faultCode; }
138 template <typename FaultCodeT = Aws::String>
139 void SetFaultCode(FaultCodeT&& value) {
140 m_faultCodeHasBeenSet = true;
141 m_faultCode = std::forward<FaultCodeT>(value);
142 }
143 template <typename FaultCodeT = Aws::String>
144 DescribeLabelResult& WithFaultCode(FaultCodeT&& value) {
145 SetFaultCode(std::forward<FaultCodeT>(value));
146 return *this;
147 }
149
151
156 inline const Aws::String& GetNotes() const { return m_notes; }
157 template <typename NotesT = Aws::String>
158 void SetNotes(NotesT&& value) {
159 m_notesHasBeenSet = true;
160 m_notes = std::forward<NotesT>(value);
161 }
162 template <typename NotesT = Aws::String>
164 SetNotes(std::forward<NotesT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetEquipment() const { return m_equipment; }
174 template <typename EquipmentT = Aws::String>
175 void SetEquipment(EquipmentT&& value) {
176 m_equipmentHasBeenSet = true;
177 m_equipment = std::forward<EquipmentT>(value);
178 }
179 template <typename EquipmentT = Aws::String>
180 DescribeLabelResult& WithEquipment(EquipmentT&& value) {
181 SetEquipment(std::forward<EquipmentT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
191 template <typename CreatedAtT = Aws::Utils::DateTime>
192 void SetCreatedAt(CreatedAtT&& value) {
193 m_createdAtHasBeenSet = true;
194 m_createdAt = std::forward<CreatedAtT>(value);
195 }
196 template <typename CreatedAtT = Aws::Utils::DateTime>
197 DescribeLabelResult& WithCreatedAt(CreatedAtT&& value) {
198 SetCreatedAt(std::forward<CreatedAtT>(value));
199 return *this;
200 }
202
204
205 inline const Aws::String& GetRequestId() const { return m_requestId; }
206 template <typename RequestIdT = Aws::String>
207 void SetRequestId(RequestIdT&& value) {
208 m_requestIdHasBeenSet = true;
209 m_requestId = std::forward<RequestIdT>(value);
210 }
211 template <typename RequestIdT = Aws::String>
212 DescribeLabelResult& WithRequestId(RequestIdT&& value) {
213 SetRequestId(std::forward<RequestIdT>(value));
214 return *this;
215 }
217 private:
218 Aws::String m_labelGroupName;
219 bool m_labelGroupNameHasBeenSet = false;
220
221 Aws::String m_labelGroupArn;
222 bool m_labelGroupArnHasBeenSet = false;
223
224 Aws::String m_labelId;
225 bool m_labelIdHasBeenSet = false;
226
227 Aws::Utils::DateTime m_startTime{};
228 bool m_startTimeHasBeenSet = false;
229
230 Aws::Utils::DateTime m_endTime{};
231 bool m_endTimeHasBeenSet = false;
232
234 bool m_ratingHasBeenSet = false;
235
236 Aws::String m_faultCode;
237 bool m_faultCodeHasBeenSet = false;
238
239 Aws::String m_notes;
240 bool m_notesHasBeenSet = false;
241
242 Aws::String m_equipment;
243 bool m_equipmentHasBeenSet = false;
244
245 Aws::Utils::DateTime m_createdAt{};
246 bool m_createdAtHasBeenSet = false;
247
248 Aws::String m_requestId;
249 bool m_requestIdHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace LookoutEquipment
254} // 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)
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