AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DescribeLabelResult.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lookoutequipment/model/LabelRating.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LookoutEquipment
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult() = default;
35
36
38
41 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
42 template<typename LabelGroupNameT = Aws::String>
43 void SetLabelGroupName(LabelGroupNameT&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::forward<LabelGroupNameT>(value); }
44 template<typename LabelGroupNameT = Aws::String>
45 DescribeLabelResult& WithLabelGroupName(LabelGroupNameT&& value) { SetLabelGroupName(std::forward<LabelGroupNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetLabelGroupArn() const { return m_labelGroupArn; }
53 template<typename LabelGroupArnT = Aws::String>
54 void SetLabelGroupArn(LabelGroupArnT&& value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn = std::forward<LabelGroupArnT>(value); }
55 template<typename LabelGroupArnT = Aws::String>
56 DescribeLabelResult& WithLabelGroupArn(LabelGroupArnT&& value) { SetLabelGroupArn(std::forward<LabelGroupArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetLabelId() const { return m_labelId; }
64 template<typename LabelIdT = Aws::String>
65 void SetLabelId(LabelIdT&& value) { m_labelIdHasBeenSet = true; m_labelId = std::forward<LabelIdT>(value); }
66 template<typename LabelIdT = Aws::String>
67 DescribeLabelResult& WithLabelId(LabelIdT&& value) { SetLabelId(std::forward<LabelIdT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
75 template<typename StartTimeT = Aws::Utils::DateTime>
76 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
77 template<typename StartTimeT = Aws::Utils::DateTime>
78 DescribeLabelResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
86 template<typename EndTimeT = Aws::Utils::DateTime>
87 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
88 template<typename EndTimeT = Aws::Utils::DateTime>
89 DescribeLabelResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
91
93
96 inline LabelRating GetRating() const { return m_rating; }
97 inline void SetRating(LabelRating value) { m_ratingHasBeenSet = true; m_rating = value; }
98 inline DescribeLabelResult& WithRating(LabelRating value) { SetRating(value); return *this;}
100
102
107 inline const Aws::String& GetFaultCode() const { return m_faultCode; }
108 template<typename FaultCodeT = Aws::String>
109 void SetFaultCode(FaultCodeT&& value) { m_faultCodeHasBeenSet = true; m_faultCode = std::forward<FaultCodeT>(value); }
110 template<typename FaultCodeT = Aws::String>
111 DescribeLabelResult& WithFaultCode(FaultCodeT&& value) { SetFaultCode(std::forward<FaultCodeT>(value)); return *this;}
113
115
120 inline const Aws::String& GetNotes() const { return m_notes; }
121 template<typename NotesT = Aws::String>
122 void SetNotes(NotesT&& value) { m_notesHasBeenSet = true; m_notes = std::forward<NotesT>(value); }
123 template<typename NotesT = Aws::String>
124 DescribeLabelResult& WithNotes(NotesT&& value) { SetNotes(std::forward<NotesT>(value)); return *this;}
126
128
131 inline const Aws::String& GetEquipment() const { return m_equipment; }
132 template<typename EquipmentT = Aws::String>
133 void SetEquipment(EquipmentT&& value) { m_equipmentHasBeenSet = true; m_equipment = std::forward<EquipmentT>(value); }
134 template<typename EquipmentT = Aws::String>
135 DescribeLabelResult& WithEquipment(EquipmentT&& value) { SetEquipment(std::forward<EquipmentT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
143 template<typename CreatedAtT = Aws::Utils::DateTime>
144 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
145 template<typename CreatedAtT = Aws::Utils::DateTime>
146 DescribeLabelResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template<typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
154 template<typename RequestIdT = Aws::String>
155 DescribeLabelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
157 private:
158
159 Aws::String m_labelGroupName;
160 bool m_labelGroupNameHasBeenSet = false;
161
162 Aws::String m_labelGroupArn;
163 bool m_labelGroupArnHasBeenSet = false;
164
165 Aws::String m_labelId;
166 bool m_labelIdHasBeenSet = false;
167
168 Aws::Utils::DateTime m_startTime{};
169 bool m_startTimeHasBeenSet = false;
170
171 Aws::Utils::DateTime m_endTime{};
172 bool m_endTimeHasBeenSet = false;
173
175 bool m_ratingHasBeenSet = false;
176
177 Aws::String m_faultCode;
178 bool m_faultCodeHasBeenSet = false;
179
180 Aws::String m_notes;
181 bool m_notesHasBeenSet = false;
182
183 Aws::String m_equipment;
184 bool m_equipmentHasBeenSet = false;
185
186 Aws::Utils::DateTime m_createdAt{};
187 bool m_createdAtHasBeenSet = false;
188
189 Aws::String m_requestId;
190 bool m_requestIdHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace LookoutEquipment
195} // 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