/** * 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 { namespace Pinpoint { namespace Model { /** */ class RemoveAttributesRequest : public PinpointRequest { public: AWS_PINPOINT_API RemoveAttributesRequest(); // 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 "RemoveAttributes"; } AWS_PINPOINT_API Aws::String SerializePayload() const override; /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline RemoveAttributesRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline RemoveAttributesRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique identifier for the application. This identifier is displayed as * the Project ID on the Amazon Pinpoint console.

*/ inline RemoveAttributesRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The type of attribute or attributes to remove. Valid values are:

*
  • endpoint-custom-attributes - Custom attributes that describe * endpoints, such as the date when an associated user opted in or out of receiving * communications from you through a specific type of channel.

  • *
  • endpoint-metric-attributes - Custom metrics that your app reports to * Amazon Pinpoint for endpoints, such as the number of app sessions or the number * of items left in a cart.

  • endpoint-user-attributes - Custom * attributes that describe users, such as first name, last name, and * age.

*/ inline const Aws::String& GetAttributeType() const{ return m_attributeType; } /** *

The type of attribute or attributes to remove. Valid values are:

*
  • endpoint-custom-attributes - Custom attributes that describe * endpoints, such as the date when an associated user opted in or out of receiving * communications from you through a specific type of channel.

  • *
  • endpoint-metric-attributes - Custom metrics that your app reports to * Amazon Pinpoint for endpoints, such as the number of app sessions or the number * of items left in a cart.

  • endpoint-user-attributes - Custom * attributes that describe users, such as first name, last name, and * age.

*/ inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; } /** *

The type of attribute or attributes to remove. Valid values are:

*
  • endpoint-custom-attributes - Custom attributes that describe * endpoints, such as the date when an associated user opted in or out of receiving * communications from you through a specific type of channel.

  • *
  • endpoint-metric-attributes - Custom metrics that your app reports to * Amazon Pinpoint for endpoints, such as the number of app sessions or the number * of items left in a cart.

  • endpoint-user-attributes - Custom * attributes that describe users, such as first name, last name, and * age.

*/ inline void SetAttributeType(const Aws::String& value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; } /** *

The type of attribute or attributes to remove. Valid values are:

*
  • endpoint-custom-attributes - Custom attributes that describe * endpoints, such as the date when an associated user opted in or out of receiving * communications from you through a specific type of channel.

  • *
  • endpoint-metric-attributes - Custom metrics that your app reports to * Amazon Pinpoint for endpoints, such as the number of app sessions or the number * of items left in a cart.

  • endpoint-user-attributes - Custom * attributes that describe users, such as first name, last name, and * age.

*/ inline void SetAttributeType(Aws::String&& value) { m_attributeTypeHasBeenSet = true; m_attributeType = std::move(value); } /** *

The type of attribute or attributes to remove. Valid values are:

*
  • endpoint-custom-attributes - Custom attributes that describe * endpoints, such as the date when an associated user opted in or out of receiving * communications from you through a specific type of channel.

  • *
  • endpoint-metric-attributes - Custom metrics that your app reports to * Amazon Pinpoint for endpoints, such as the number of app sessions or the number * of items left in a cart.

  • endpoint-user-attributes - Custom * attributes that describe users, such as first name, last name, and * age.

*/ inline void SetAttributeType(const char* value) { m_attributeTypeHasBeenSet = true; m_attributeType.assign(value); } /** *

The type of attribute or attributes to remove. Valid values are:

*
  • endpoint-custom-attributes - Custom attributes that describe * endpoints, such as the date when an associated user opted in or out of receiving * communications from you through a specific type of channel.

  • *
  • endpoint-metric-attributes - Custom metrics that your app reports to * Amazon Pinpoint for endpoints, such as the number of app sessions or the number * of items left in a cart.

  • endpoint-user-attributes - Custom * attributes that describe users, such as first name, last name, and * age.

*/ inline RemoveAttributesRequest& WithAttributeType(const Aws::String& value) { SetAttributeType(value); return *this;} /** *

The type of attribute or attributes to remove. Valid values are:

*
  • endpoint-custom-attributes - Custom attributes that describe * endpoints, such as the date when an associated user opted in or out of receiving * communications from you through a specific type of channel.

  • *
  • endpoint-metric-attributes - Custom metrics that your app reports to * Amazon Pinpoint for endpoints, such as the number of app sessions or the number * of items left in a cart.

  • endpoint-user-attributes - Custom * attributes that describe users, such as first name, last name, and * age.

*/ inline RemoveAttributesRequest& WithAttributeType(Aws::String&& value) { SetAttributeType(std::move(value)); return *this;} /** *

The type of attribute or attributes to remove. Valid values are:

*
  • endpoint-custom-attributes - Custom attributes that describe * endpoints, such as the date when an associated user opted in or out of receiving * communications from you through a specific type of channel.

  • *
  • endpoint-metric-attributes - Custom metrics that your app reports to * Amazon Pinpoint for endpoints, such as the number of app sessions or the number * of items left in a cart.

  • endpoint-user-attributes - Custom * attributes that describe users, such as first name, last name, and * age.

*/ inline RemoveAttributesRequest& WithAttributeType(const char* value) { SetAttributeType(value); return *this;} inline const UpdateAttributesRequest& GetUpdateAttributesRequest() const{ return m_updateAttributesRequest; } inline bool UpdateAttributesRequestHasBeenSet() const { return m_updateAttributesRequestHasBeenSet; } inline void SetUpdateAttributesRequest(const UpdateAttributesRequest& value) { m_updateAttributesRequestHasBeenSet = true; m_updateAttributesRequest = value; } inline void SetUpdateAttributesRequest(UpdateAttributesRequest&& value) { m_updateAttributesRequestHasBeenSet = true; m_updateAttributesRequest = std::move(value); } inline RemoveAttributesRequest& WithUpdateAttributesRequest(const UpdateAttributesRequest& value) { SetUpdateAttributesRequest(value); return *this;} inline RemoveAttributesRequest& WithUpdateAttributesRequest(UpdateAttributesRequest&& value) { SetUpdateAttributesRequest(std::move(value)); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_attributeType; bool m_attributeTypeHasBeenSet = false; UpdateAttributesRequest m_updateAttributesRequest; bool m_updateAttributesRequestHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws