AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
LabelSummary.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutEquipment
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LOOKOUTEQUIPMENT_API LabelSummary() = default;
37 AWS_LOOKOUTEQUIPMENT_API LabelSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTEQUIPMENT_API LabelSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
47 inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; }
48 template<typename LabelGroupNameT = Aws::String>
49 void SetLabelGroupName(LabelGroupNameT&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::forward<LabelGroupNameT>(value); }
50 template<typename LabelGroupNameT = Aws::String>
51 LabelSummary& WithLabelGroupName(LabelGroupNameT&& value) { SetLabelGroupName(std::forward<LabelGroupNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetLabelId() const { return m_labelId; }
59 inline bool LabelIdHasBeenSet() const { return m_labelIdHasBeenSet; }
60 template<typename LabelIdT = Aws::String>
61 void SetLabelId(LabelIdT&& value) { m_labelIdHasBeenSet = true; m_labelId = std::forward<LabelIdT>(value); }
62 template<typename LabelIdT = Aws::String>
63 LabelSummary& WithLabelId(LabelIdT&& value) { SetLabelId(std::forward<LabelIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetLabelGroupArn() const { return m_labelGroupArn; }
71 inline bool LabelGroupArnHasBeenSet() const { return m_labelGroupArnHasBeenSet; }
72 template<typename LabelGroupArnT = Aws::String>
73 void SetLabelGroupArn(LabelGroupArnT&& value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn = std::forward<LabelGroupArnT>(value); }
74 template<typename LabelGroupArnT = Aws::String>
75 LabelSummary& WithLabelGroupArn(LabelGroupArnT&& value) { SetLabelGroupArn(std::forward<LabelGroupArnT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
83 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
84 template<typename StartTimeT = Aws::Utils::DateTime>
85 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
86 template<typename StartTimeT = Aws::Utils::DateTime>
87 LabelSummary& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
95 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
96 template<typename EndTimeT = Aws::Utils::DateTime>
97 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
98 template<typename EndTimeT = Aws::Utils::DateTime>
99 LabelSummary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
101
103
106 inline LabelRating GetRating() const { return m_rating; }
107 inline bool RatingHasBeenSet() const { return m_ratingHasBeenSet; }
108 inline void SetRating(LabelRating value) { m_ratingHasBeenSet = true; m_rating = value; }
109 inline LabelSummary& WithRating(LabelRating value) { SetRating(value); return *this;}
111
113
118 inline const Aws::String& GetFaultCode() const { return m_faultCode; }
119 inline bool FaultCodeHasBeenSet() const { return m_faultCodeHasBeenSet; }
120 template<typename FaultCodeT = Aws::String>
121 void SetFaultCode(FaultCodeT&& value) { m_faultCodeHasBeenSet = true; m_faultCode = std::forward<FaultCodeT>(value); }
122 template<typename FaultCodeT = Aws::String>
123 LabelSummary& WithFaultCode(FaultCodeT&& value) { SetFaultCode(std::forward<FaultCodeT>(value)); return *this;}
125
127
130 inline const Aws::String& GetEquipment() const { return m_equipment; }
131 inline bool EquipmentHasBeenSet() const { return m_equipmentHasBeenSet; }
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 LabelSummary& WithEquipment(EquipmentT&& value) { SetEquipment(std::forward<EquipmentT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
143 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
144 template<typename CreatedAtT = Aws::Utils::DateTime>
145 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
146 template<typename CreatedAtT = Aws::Utils::DateTime>
147 LabelSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
149 private:
150
151 Aws::String m_labelGroupName;
152 bool m_labelGroupNameHasBeenSet = false;
153
154 Aws::String m_labelId;
155 bool m_labelIdHasBeenSet = false;
156
157 Aws::String m_labelGroupArn;
158 bool m_labelGroupArnHasBeenSet = false;
159
160 Aws::Utils::DateTime m_startTime{};
161 bool m_startTimeHasBeenSet = false;
162
163 Aws::Utils::DateTime m_endTime{};
164 bool m_endTimeHasBeenSet = false;
165
167 bool m_ratingHasBeenSet = false;
168
169 Aws::String m_faultCode;
170 bool m_faultCodeHasBeenSet = false;
171
172 Aws::String m_equipment;
173 bool m_equipmentHasBeenSet = false;
174
175 Aws::Utils::DateTime m_createdAt{};
176 bool m_createdAtHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace LookoutEquipment
181} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
LabelSummary & WithLabelGroupName(LabelGroupNameT &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetEquipment() const
void SetLabelGroupArn(LabelGroupArnT &&value)
const Aws::String & GetFaultCode() const
AWS_LOOKOUTEQUIPMENT_API LabelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetLabelId() const
LabelSummary & WithEndTime(EndTimeT &&value)
LabelSummary & WithEquipment(EquipmentT &&value)
LabelSummary & WithCreatedAt(CreatedAtT &&value)
void SetLabelGroupName(LabelGroupNameT &&value)
AWS_LOOKOUTEQUIPMENT_API LabelSummary()=default
LabelSummary & WithFaultCode(FaultCodeT &&value)
const Aws::String & GetLabelGroupArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
LabelSummary & WithStartTime(StartTimeT &&value)
LabelSummary & WithRating(LabelRating value)
LabelSummary & WithLabelId(LabelIdT &&value)
LabelSummary & WithLabelGroupArn(LabelGroupArnT &&value)
const Aws::String & GetLabelGroupName() const
AWS_LOOKOUTEQUIPMENT_API LabelSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue