/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace LookoutEquipment { namespace Model { /** */ class CreateLabelGroupRequest : public LookoutEquipmentRequest { public: AWS_LOOKOUTEQUIPMENT_API CreateLabelGroupRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateLabelGroup"; } AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override; AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Names a group of labels.

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

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

Names a group of labels.

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

*/ inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; } /** *

Names a group of labels.

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

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

Names a group of labels.

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

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

Names a group of labels.

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

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

Names a group of labels.

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

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

Names a group of labels.

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

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

Names a group of labels.

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

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

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

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

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

*/ inline bool FaultCodesHasBeenSet() const { return m_faultCodesHasBeenSet; } /** *

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

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

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

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

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

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

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

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

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

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

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

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

The acceptable fault codes (indicating the type of anomaly associated with * the label) that can be used with this label group.

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

*/ inline CreateLabelGroupRequest& AddFaultCodes(const char* value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(value); return *this; } /** *

A unique identifier for the request to create a label group. If you do not * set the client request token, Lookout for Equipment generates one.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A unique identifier for the request to create a label group. If you do not * set the client request token, Lookout for Equipment generates one.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A unique identifier for the request to create a label group. If you do not * set the client request token, Lookout for Equipment generates one.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A unique identifier for the request to create a label group. If you do not * set the client request token, Lookout for Equipment generates one.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A unique identifier for the request to create a label group. If you do not * set the client request token, Lookout for Equipment generates one.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A unique identifier for the request to create a label group. If you do not * set the client request token, Lookout for Equipment generates one.

*/ inline CreateLabelGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A unique identifier for the request to create a label group. If you do not * set the client request token, Lookout for Equipment generates one.

*/ inline CreateLabelGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A unique identifier for the request to create a label group. If you do not * set the client request token, Lookout for Equipment generates one.

*/ inline CreateLabelGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

Tags that provide metadata about the label group you are creating.

*

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

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Tags that provide metadata about the label group you are creating.

*

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

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags that provide metadata about the label group you are creating.

*

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

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags that provide metadata about the label group you are creating.

*

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

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags that provide metadata about the label group you are creating.

*

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

*/ inline CreateLabelGroupRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

Tags that provide metadata about the label group you are creating.

*

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

*/ inline CreateLabelGroupRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

Tags that provide metadata about the label group you are creating.

*

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

*/ inline CreateLabelGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Tags that provide metadata about the label group you are creating.

*

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

*/ inline CreateLabelGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_labelGroupName; bool m_labelGroupNameHasBeenSet = false; Aws::Vector m_faultCodes; bool m_faultCodesHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws