/** * 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 { /** *

Specifies one or more attributes to remove from all the endpoints that are * associated with an application.

See Also:

AWS * API Reference

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

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline const Aws::Vector& GetBlacklist() const{ return m_blacklist; } /** *

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline bool BlacklistHasBeenSet() const { return m_blacklistHasBeenSet; } /** *

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline void SetBlacklist(const Aws::Vector& value) { m_blacklistHasBeenSet = true; m_blacklist = value; } /** *

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline void SetBlacklist(Aws::Vector&& value) { m_blacklistHasBeenSet = true; m_blacklist = std::move(value); } /** *

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline UpdateAttributesRequest& WithBlacklist(const Aws::Vector& value) { SetBlacklist(value); return *this;} /** *

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline UpdateAttributesRequest& WithBlacklist(Aws::Vector&& value) { SetBlacklist(std::move(value)); return *this;} /** *

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline UpdateAttributesRequest& AddBlacklist(const Aws::String& value) { m_blacklistHasBeenSet = true; m_blacklist.push_back(value); return *this; } /** *

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline UpdateAttributesRequest& AddBlacklist(Aws::String&& value) { m_blacklistHasBeenSet = true; m_blacklist.push_back(std::move(value)); return *this; } /** *

An array of the attributes to remove from all the endpoints that are * associated with the application. The array can specify the complete, exact name * of each attribute to remove or it can specify a glob pattern that an attribute * name must match in order for the attribute to be removed.

*/ inline UpdateAttributesRequest& AddBlacklist(const char* value) { m_blacklistHasBeenSet = true; m_blacklist.push_back(value); return *this; } private: Aws::Vector m_blacklist; bool m_blacklistHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws