This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-pinpoint/include/aws/pinpoint/model/EndpointsResponse.h

99 lines
2.9 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/pinpoint/Pinpoint_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/pinpoint/model/EndpointResponse.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Pinpoint
{
namespace Model
{
/**
* <p>Provides information about all the endpoints that are associated with a user
* ID.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointsResponse">AWS
* API Reference</a></p>
*/
class AWS_PINPOINT_API EndpointsResponse
{
public:
EndpointsResponse();
EndpointsResponse(Aws::Utils::Json::JsonView jsonValue);
EndpointsResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>An array of responses, one for each endpoint that's associated with the user
* ID.</p>
*/
inline const Aws::Vector<EndpointResponse>& GetItem() const{ return m_item; }
/**
* <p>An array of responses, one for each endpoint that's associated with the user
* ID.</p>
*/
inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; }
/**
* <p>An array of responses, one for each endpoint that's associated with the user
* ID.</p>
*/
inline void SetItem(const Aws::Vector<EndpointResponse>& value) { m_itemHasBeenSet = true; m_item = value; }
/**
* <p>An array of responses, one for each endpoint that's associated with the user
* ID.</p>
*/
inline void SetItem(Aws::Vector<EndpointResponse>&& value) { m_itemHasBeenSet = true; m_item = std::move(value); }
/**
* <p>An array of responses, one for each endpoint that's associated with the user
* ID.</p>
*/
inline EndpointsResponse& WithItem(const Aws::Vector<EndpointResponse>& value) { SetItem(value); return *this;}
/**
* <p>An array of responses, one for each endpoint that's associated with the user
* ID.</p>
*/
inline EndpointsResponse& WithItem(Aws::Vector<EndpointResponse>&& value) { SetItem(std::move(value)); return *this;}
/**
* <p>An array of responses, one for each endpoint that's associated with the user
* ID.</p>
*/
inline EndpointsResponse& AddItem(const EndpointResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; }
/**
* <p>An array of responses, one for each endpoint that's associated with the user
* ID.</p>
*/
inline EndpointsResponse& AddItem(EndpointResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; }
private:
Aws::Vector<EndpointResponse> m_item;
bool m_itemHasBeenSet;
};
} // namespace Model
} // namespace Pinpoint
} // namespace Aws