AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabelGroupName(const Aws::String& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = value; }
49 inline void SetLabelGroupName(Aws::String&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::move(value); }
50 inline void SetLabelGroupName(const char* value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName.assign(value); }
51 inline LabelSummary& WithLabelGroupName(const Aws::String& value) { SetLabelGroupName(value); return *this;}
52 inline LabelSummary& WithLabelGroupName(Aws::String&& value) { SetLabelGroupName(std::move(value)); return *this;}
53 inline LabelSummary& WithLabelGroupName(const char* value) { SetLabelGroupName(value); return *this;}
55
57
60 inline const Aws::String& GetLabelId() const{ return m_labelId; }
61 inline bool LabelIdHasBeenSet() const { return m_labelIdHasBeenSet; }
62 inline void SetLabelId(const Aws::String& value) { m_labelIdHasBeenSet = true; m_labelId = value; }
63 inline void SetLabelId(Aws::String&& value) { m_labelIdHasBeenSet = true; m_labelId = std::move(value); }
64 inline void SetLabelId(const char* value) { m_labelIdHasBeenSet = true; m_labelId.assign(value); }
65 inline LabelSummary& WithLabelId(const Aws::String& value) { SetLabelId(value); return *this;}
66 inline LabelSummary& WithLabelId(Aws::String&& value) { SetLabelId(std::move(value)); return *this;}
67 inline LabelSummary& WithLabelId(const char* value) { SetLabelId(value); return *this;}
69
71
74 inline const Aws::String& GetLabelGroupArn() const{ return m_labelGroupArn; }
75 inline bool LabelGroupArnHasBeenSet() const { return m_labelGroupArnHasBeenSet; }
76 inline void SetLabelGroupArn(const Aws::String& value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn = value; }
77 inline void SetLabelGroupArn(Aws::String&& value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn = std::move(value); }
78 inline void SetLabelGroupArn(const char* value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn.assign(value); }
79 inline LabelSummary& WithLabelGroupArn(const Aws::String& value) { SetLabelGroupArn(value); return *this;}
80 inline LabelSummary& WithLabelGroupArn(Aws::String&& value) { SetLabelGroupArn(std::move(value)); return *this;}
81 inline LabelSummary& WithLabelGroupArn(const char* value) { SetLabelGroupArn(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
89 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
90 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
91 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
92 inline LabelSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
93 inline LabelSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
101 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
102 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
103 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
104 inline LabelSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
105 inline LabelSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
107
109
112 inline const LabelRating& GetRating() const{ return m_rating; }
113 inline bool RatingHasBeenSet() const { return m_ratingHasBeenSet; }
114 inline void SetRating(const LabelRating& value) { m_ratingHasBeenSet = true; m_rating = value; }
115 inline void SetRating(LabelRating&& value) { m_ratingHasBeenSet = true; m_rating = std::move(value); }
116 inline LabelSummary& WithRating(const LabelRating& value) { SetRating(value); return *this;}
117 inline LabelSummary& WithRating(LabelRating&& value) { SetRating(std::move(value)); return *this;}
119
121
126 inline const Aws::String& GetFaultCode() const{ return m_faultCode; }
127 inline bool FaultCodeHasBeenSet() const { return m_faultCodeHasBeenSet; }
128 inline void SetFaultCode(const Aws::String& value) { m_faultCodeHasBeenSet = true; m_faultCode = value; }
129 inline void SetFaultCode(Aws::String&& value) { m_faultCodeHasBeenSet = true; m_faultCode = std::move(value); }
130 inline void SetFaultCode(const char* value) { m_faultCodeHasBeenSet = true; m_faultCode.assign(value); }
131 inline LabelSummary& WithFaultCode(const Aws::String& value) { SetFaultCode(value); return *this;}
132 inline LabelSummary& WithFaultCode(Aws::String&& value) { SetFaultCode(std::move(value)); return *this;}
133 inline LabelSummary& WithFaultCode(const char* value) { SetFaultCode(value); return *this;}
135
137
140 inline const Aws::String& GetEquipment() const{ return m_equipment; }
141 inline bool EquipmentHasBeenSet() const { return m_equipmentHasBeenSet; }
142 inline void SetEquipment(const Aws::String& value) { m_equipmentHasBeenSet = true; m_equipment = value; }
143 inline void SetEquipment(Aws::String&& value) { m_equipmentHasBeenSet = true; m_equipment = std::move(value); }
144 inline void SetEquipment(const char* value) { m_equipmentHasBeenSet = true; m_equipment.assign(value); }
145 inline LabelSummary& WithEquipment(const Aws::String& value) { SetEquipment(value); return *this;}
146 inline LabelSummary& WithEquipment(Aws::String&& value) { SetEquipment(std::move(value)); return *this;}
147 inline LabelSummary& WithEquipment(const char* value) { SetEquipment(value); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
155 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
156 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
157 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
158 inline LabelSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
159 inline LabelSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
161 private:
162
163 Aws::String m_labelGroupName;
164 bool m_labelGroupNameHasBeenSet = false;
165
166 Aws::String m_labelId;
167 bool m_labelIdHasBeenSet = false;
168
169 Aws::String m_labelGroupArn;
170 bool m_labelGroupArnHasBeenSet = false;
171
172 Aws::Utils::DateTime m_startTime;
173 bool m_startTimeHasBeenSet = false;
174
175 Aws::Utils::DateTime m_endTime;
176 bool m_endTimeHasBeenSet = false;
177
178 LabelRating m_rating;
179 bool m_ratingHasBeenSet = false;
180
181 Aws::String m_faultCode;
182 bool m_faultCodeHasBeenSet = false;
183
184 Aws::String m_equipment;
185 bool m_equipmentHasBeenSet = false;
186
187 Aws::Utils::DateTime m_createdAt;
188 bool m_createdAtHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace LookoutEquipment
193} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
LabelSummary & WithFaultCode(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_LOOKOUTEQUIPMENT_API LabelSummary()
LabelSummary & WithLabelId(const Aws::String &value)
LabelSummary & WithLabelId(const char *value)
LabelSummary & WithRating(const LabelRating &value)
void SetLabelGroupArn(Aws::String &&value)
void SetLabelId(const Aws::String &value)
const LabelRating & GetRating() const
const Aws::String & GetEquipment() const
LabelSummary & WithFaultCode(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetFaultCode() const
LabelSummary & WithLabelGroupArn(const char *value)
AWS_LOOKOUTEQUIPMENT_API LabelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LabelSummary & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetRating(const LabelRating &value)
const Aws::String & GetLabelId() const
LabelSummary & WithStartTime(const Aws::Utils::DateTime &value)
LabelSummary & WithEndTime(Aws::Utils::DateTime &&value)
LabelSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
LabelSummary & WithLabelGroupName(const Aws::String &value)
void SetLabelGroupArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetLabelGroupName(const Aws::String &value)
void SetEquipment(const Aws::String &value)
void SetFaultCode(const Aws::String &value)
LabelSummary & WithLabelGroupArn(const Aws::String &value)
LabelSummary & WithLabelGroupName(Aws::String &&value)
LabelSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
LabelSummary & WithFaultCode(const char *value)
LabelSummary & WithLabelGroupName(const char *value)
LabelSummary & WithEquipment(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetLabelGroupName(const char *value)
LabelSummary & WithRating(LabelRating &&value)
const Aws::String & GetLabelGroupArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
LabelSummary & WithEquipment(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetLabelGroupName(Aws::String &&value)
LabelSummary & WithEndTime(const Aws::Utils::DateTime &value)
void SetEndTime(Aws::Utils::DateTime &&value)
LabelSummary & WithLabelGroupArn(Aws::String &&value)
LabelSummary & WithLabelId(Aws::String &&value)
LabelSummary & WithEquipment(Aws::String &&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