/** * 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 all the endpoints that are associated with a user * ID.

See Also:

AWS * API Reference

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

An array of responses, one for each endpoint that's associated with the user * ID.

*/ inline const Aws::Vector& GetItem() const{ return m_item; } /** *

An array of responses, one for each endpoint that's associated with the user * ID.

*/ inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; } /** *

An array of responses, one for each endpoint that's associated with the user * ID.

*/ inline void SetItem(const Aws::Vector& value) { m_itemHasBeenSet = true; m_item = value; } /** *

An array of responses, one for each endpoint that's associated with the user * ID.

*/ inline void SetItem(Aws::Vector&& value) { m_itemHasBeenSet = true; m_item = std::move(value); } /** *

An array of responses, one for each endpoint that's associated with the user * ID.

*/ inline EndpointsResponse& WithItem(const Aws::Vector& value) { SetItem(value); return *this;} /** *

An array of responses, one for each endpoint that's associated with the user * ID.

*/ inline EndpointsResponse& WithItem(Aws::Vector&& value) { SetItem(std::move(value)); return *this;} /** *

An array of responses, one for each endpoint that's associated with the user * ID.

*/ inline EndpointsResponse& AddItem(const EndpointResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; } /** *

An array of responses, one for each endpoint that's associated with the user * ID.

*/ inline EndpointsResponse& AddItem(EndpointResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; } private: Aws::Vector m_item; bool m_itemHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws