/** * 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 DescribeLabelGroupResult { public: AWS_LOOKOUTEQUIPMENT_API DescribeLabelGroupResult(); AWS_LOOKOUTEQUIPMENT_API DescribeLabelGroupResult(const Aws::AmazonWebServiceResult& result); AWS_LOOKOUTEQUIPMENT_API DescribeLabelGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the label group.

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

The name of the label group.

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

The name of the label group.

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

The name of the label group.

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

The name of the label group.

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

The name of the label group.

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

The name of the label group.

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

The ARN of the label group.

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

The ARN of the label group.

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

The ARN of the label group.

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

The ARN of the label group.

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

The ARN of the label group.

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

The ARN of the label group.

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

The ARN of the label group.

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

Codes indicating the type of anomaly associated with the labels in the * lagbel group.

*/ inline const Aws::Vector& GetFaultCodes() const{ return m_faultCodes; } /** *

Codes indicating the type of anomaly associated with the labels in the * lagbel group.

*/ inline void SetFaultCodes(const Aws::Vector& value) { m_faultCodes = value; } /** *

Codes indicating the type of anomaly associated with the labels in the * lagbel group.

*/ inline void SetFaultCodes(Aws::Vector&& value) { m_faultCodes = std::move(value); } /** *

Codes indicating the type of anomaly associated with the labels in the * lagbel group.

*/ inline DescribeLabelGroupResult& WithFaultCodes(const Aws::Vector& value) { SetFaultCodes(value); return *this;} /** *

Codes indicating the type of anomaly associated with the labels in the * lagbel group.

*/ inline DescribeLabelGroupResult& WithFaultCodes(Aws::Vector&& value) { SetFaultCodes(std::move(value)); return *this;} /** *

Codes indicating the type of anomaly associated with the labels in the * lagbel group.

*/ inline DescribeLabelGroupResult& AddFaultCodes(const Aws::String& value) { m_faultCodes.push_back(value); return *this; } /** *

Codes indicating the type of anomaly associated with the labels in the * lagbel group.

*/ inline DescribeLabelGroupResult& AddFaultCodes(Aws::String&& value) { m_faultCodes.push_back(std::move(value)); return *this; } /** *

Codes indicating the type of anomaly associated with the labels in the * lagbel group.

*/ inline DescribeLabelGroupResult& AddFaultCodes(const char* value) { m_faultCodes.push_back(value); return *this; } /** *

The time at which the label group was created.

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

The time at which the label group was created.

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

The time at which the label group was created.

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

The time at which the label group was created.

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

The time at which the label group was created.

*/ inline DescribeLabelGroupResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The time at which the label group was updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The time at which the label group was updated.

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

The time at which the label group was updated.

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

The time at which the label group was updated.

*/ inline DescribeLabelGroupResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The time at which the label group was updated.

*/ inline DescribeLabelGroupResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(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 DescribeLabelGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLabelGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLabelGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_labelGroupName; Aws::String m_labelGroupArn; Aws::Vector m_faultCodes; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_updatedAt; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws