/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LookoutEquipment { namespace Model { class DescribeLabelResult { public: AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult(); AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult(const Aws::AmazonWebServiceResult& result); AWS_LOOKOUTEQUIPMENT_API DescribeLabelResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the requested label group.

*/ inline const Aws::String& GetLabelGroupName() const{ return m_labelGroupName; } /** *

The name of the requested label group.

*/ inline void SetLabelGroupName(const Aws::String& value) { m_labelGroupName = value; } /** *

The name of the requested label group.

*/ inline void SetLabelGroupName(Aws::String&& value) { m_labelGroupName = std::move(value); } /** *

The name of the requested label group.

*/ inline void SetLabelGroupName(const char* value) { m_labelGroupName.assign(value); } /** *

The name of the requested label group.

*/ inline DescribeLabelResult& WithLabelGroupName(const Aws::String& value) { SetLabelGroupName(value); return *this;} /** *

The name of the requested label group.

*/ inline DescribeLabelResult& WithLabelGroupName(Aws::String&& value) { SetLabelGroupName(std::move(value)); return *this;} /** *

The name of the requested label group.

*/ inline DescribeLabelResult& WithLabelGroupName(const char* value) { SetLabelGroupName(value); return *this;} /** *

The ARN of the requested label group.

*/ inline const Aws::String& GetLabelGroupArn() const{ return m_labelGroupArn; } /** *

The ARN of the requested label group.

*/ inline void SetLabelGroupArn(const Aws::String& value) { m_labelGroupArn = value; } /** *

The ARN of the requested label group.

*/ inline void SetLabelGroupArn(Aws::String&& value) { m_labelGroupArn = std::move(value); } /** *

The ARN of the requested label group.

*/ inline void SetLabelGroupArn(const char* value) { m_labelGroupArn.assign(value); } /** *

The ARN of the requested label group.

*/ inline DescribeLabelResult& WithLabelGroupArn(const Aws::String& value) { SetLabelGroupArn(value); return *this;} /** *

The ARN of the requested label group.

*/ inline DescribeLabelResult& WithLabelGroupArn(Aws::String&& value) { SetLabelGroupArn(std::move(value)); return *this;} /** *

The ARN of the requested label group.

*/ inline DescribeLabelResult& WithLabelGroupArn(const char* value) { SetLabelGroupArn(value); return *this;} /** *

The ID of the requested label.

*/ inline const Aws::String& GetLabelId() const{ return m_labelId; } /** *

The ID of the requested label.

*/ inline void SetLabelId(const Aws::String& value) { m_labelId = value; } /** *

The ID of the requested label.

*/ inline void SetLabelId(Aws::String&& value) { m_labelId = std::move(value); } /** *

The ID of the requested label.

*/ inline void SetLabelId(const char* value) { m_labelId.assign(value); } /** *

The ID of the requested label.

*/ inline DescribeLabelResult& WithLabelId(const Aws::String& value) { SetLabelId(value); return *this;} /** *

The ID of the requested label.

*/ inline DescribeLabelResult& WithLabelId(Aws::String&& value) { SetLabelId(std::move(value)); return *this;} /** *

The ID of the requested label.

*/ inline DescribeLabelResult& WithLabelId(const char* value) { SetLabelId(value); return *this;} /** *

The start time of the requested label.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The start time of the requested label.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** *

The start time of the requested label.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } /** *

The start time of the requested label.

*/ inline DescribeLabelResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The start time of the requested label.

*/ inline DescribeLabelResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The end time of the requested label.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The end time of the requested label.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } /** *

The end time of the requested label.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); } /** *

The end time of the requested label.

*/ inline DescribeLabelResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The end time of the requested label.

*/ inline DescribeLabelResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

Indicates whether a labeled event represents an anomaly.

*/ inline const LabelRating& GetRating() const{ return m_rating; } /** *

Indicates whether a labeled event represents an anomaly.

*/ inline void SetRating(const LabelRating& value) { m_rating = value; } /** *

Indicates whether a labeled event represents an anomaly.

*/ inline void SetRating(LabelRating&& value) { m_rating = std::move(value); } /** *

Indicates whether a labeled event represents an anomaly.

*/ inline DescribeLabelResult& WithRating(const LabelRating& value) { SetRating(value); return *this;} /** *

Indicates whether a labeled event represents an anomaly.

*/ inline DescribeLabelResult& WithRating(LabelRating&& value) { SetRating(std::move(value)); return *this;} /** *

Indicates the type of anomaly associated with the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline const Aws::String& GetFaultCode() const{ return m_faultCode; } /** *

Indicates the type of anomaly associated with the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline void SetFaultCode(const Aws::String& value) { m_faultCode = value; } /** *

Indicates the type of anomaly associated with the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline void SetFaultCode(Aws::String&& value) { m_faultCode = std::move(value); } /** *

Indicates the type of anomaly associated with the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline void SetFaultCode(const char* value) { m_faultCode.assign(value); } /** *

Indicates the type of anomaly associated with the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline DescribeLabelResult& WithFaultCode(const Aws::String& value) { SetFaultCode(value); return *this;} /** *

Indicates the type of anomaly associated with the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline DescribeLabelResult& WithFaultCode(Aws::String&& value) { SetFaultCode(std::move(value)); return *this;} /** *

Indicates the type of anomaly associated with the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline DescribeLabelResult& WithFaultCode(const char* value) { SetFaultCode(value); return *this;} /** *

Metadata providing additional information about the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline const Aws::String& GetNotes() const{ return m_notes; } /** *

Metadata providing additional information about the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline void SetNotes(const Aws::String& value) { m_notes = value; } /** *

Metadata providing additional information about the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline void SetNotes(Aws::String&& value) { m_notes = std::move(value); } /** *

Metadata providing additional information about the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline void SetNotes(const char* value) { m_notes.assign(value); } /** *

Metadata providing additional information about the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline DescribeLabelResult& WithNotes(const Aws::String& value) { SetNotes(value); return *this;} /** *

Metadata providing additional information about the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline DescribeLabelResult& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;} /** *

Metadata providing additional information about the label.

Data in * this field will be retained for service usage. Follow best practices for the * security of your data.

*/ inline DescribeLabelResult& WithNotes(const char* value) { SetNotes(value); return *this;} /** *

Indicates that a label pertains to a particular piece of equipment.

*/ inline const Aws::String& GetEquipment() const{ return m_equipment; } /** *

Indicates that a label pertains to a particular piece of equipment.

*/ inline void SetEquipment(const Aws::String& value) { m_equipment = value; } /** *

Indicates that a label pertains to a particular piece of equipment.

*/ inline void SetEquipment(Aws::String&& value) { m_equipment = std::move(value); } /** *

Indicates that a label pertains to a particular piece of equipment.

*/ inline void SetEquipment(const char* value) { m_equipment.assign(value); } /** *

Indicates that a label pertains to a particular piece of equipment.

*/ inline DescribeLabelResult& WithEquipment(const Aws::String& value) { SetEquipment(value); return *this;} /** *

Indicates that a label pertains to a particular piece of equipment.

*/ inline DescribeLabelResult& WithEquipment(Aws::String&& value) { SetEquipment(std::move(value)); return *this;} /** *

Indicates that a label pertains to a particular piece of equipment.

*/ inline DescribeLabelResult& WithEquipment(const char* value) { SetEquipment(value); return *this;} /** *

The time at which the label was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The time at which the label was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The time at which the label was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The time at which the label was created.

*/ inline DescribeLabelResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time at which the label was created.

*/ inline DescribeLabelResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeLabelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLabelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLabelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_labelGroupName; Aws::String m_labelGroupArn; Aws::String m_labelId; Aws::Utils::DateTime m_startTime; Aws::Utils::DateTime m_endTime; LabelRating m_rating; Aws::String m_faultCode; Aws::String m_notes; Aws::String m_equipment; Aws::Utils::DateTime m_createdAt; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws