/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pinpoint { namespace Model { /** *

Provides information about the type and the names of attributes that were * removed from all the endpoints that are associated with an * application.

See Also:

AWS * API Reference

*/ class AttributesResource { public: AWS_PINPOINT_API AttributesResource(); AWS_PINPOINT_API AttributesResource(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API AttributesResource& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier for the application.

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

The unique identifier for the application.

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

The unique identifier for the application.

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

The unique identifier for the application.

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

The unique identifier for the application.

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

The unique identifier for the application.

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

The unique identifier for the application.

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

The unique identifier for the application.

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

The type of attribute or attributes that were removed from the endpoints. * Valid values are:

  • endpoint-custom-attributes - Custom attributes * that describe endpoints.

  • endpoint-metric-attributes - Custom * metrics that your app reports to Amazon Pinpoint for endpoints.

  • *
  • endpoint-user-attributes - Custom attributes that describe * users.

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

The type of attribute or attributes that were removed from the endpoints. * Valid values are:

  • endpoint-custom-attributes - Custom attributes * that describe endpoints.

  • endpoint-metric-attributes - Custom * metrics that your app reports to Amazon Pinpoint for endpoints.

  • *
  • endpoint-user-attributes - Custom attributes that describe * users.

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

The type of attribute or attributes that were removed from the endpoints. * Valid values are:

  • endpoint-custom-attributes - Custom attributes * that describe endpoints.

  • endpoint-metric-attributes - Custom * metrics that your app reports to Amazon Pinpoint for endpoints.

  • *
  • endpoint-user-attributes - Custom attributes that describe * users.

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

The type of attribute or attributes that were removed from the endpoints. * Valid values are:

  • endpoint-custom-attributes - Custom attributes * that describe endpoints.

  • endpoint-metric-attributes - Custom * metrics that your app reports to Amazon Pinpoint for endpoints.

  • *
  • endpoint-user-attributes - Custom attributes that describe * users.

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

The type of attribute or attributes that were removed from the endpoints. * Valid values are:

  • endpoint-custom-attributes - Custom attributes * that describe endpoints.

  • endpoint-metric-attributes - Custom * metrics that your app reports to Amazon Pinpoint for endpoints.

  • *
  • endpoint-user-attributes - Custom attributes that describe * users.

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

The type of attribute or attributes that were removed from the endpoints. * Valid values are:

  • endpoint-custom-attributes - Custom attributes * that describe endpoints.

  • endpoint-metric-attributes - Custom * metrics that your app reports to Amazon Pinpoint for endpoints.

  • *
  • endpoint-user-attributes - Custom attributes that describe * users.

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

The type of attribute or attributes that were removed from the endpoints. * Valid values are:

  • endpoint-custom-attributes - Custom attributes * that describe endpoints.

  • endpoint-metric-attributes - Custom * metrics that your app reports to Amazon Pinpoint for endpoints.

  • *
  • endpoint-user-attributes - Custom attributes that describe * users.

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

The type of attribute or attributes that were removed from the endpoints. * Valid values are:

  • endpoint-custom-attributes - Custom attributes * that describe endpoints.

  • endpoint-metric-attributes - Custom * metrics that your app reports to Amazon Pinpoint for endpoints.

  • *
  • endpoint-user-attributes - Custom attributes that describe * users.

*/ inline AttributesResource& WithAttributeType(const char* value) { SetAttributeType(value); return *this;} /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline const Aws::Vector& GetAttributes() const{ return m_attributes; } /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; } /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline AttributesResource& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline AttributesResource& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline AttributesResource& AddAttributes(const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline AttributesResource& AddAttributes(Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } /** *

An array that specifies the names of the attributes that were removed from * the endpoints.

*/ inline AttributesResource& AddAttributes(const char* value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_attributeType; bool m_attributeTypeHasBeenSet = false; Aws::Vector m_attributes; bool m_attributesHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws