/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the results of a request to create or update an
* endpoint that's associated with an event.See Also:
AWS
* API Reference
The response that was received after the endpoint data was accepted.
*/ inline const EndpointItemResponse& GetEndpointItemResponse() const{ return m_endpointItemResponse; } /** *The response that was received after the endpoint data was accepted.
*/ inline bool EndpointItemResponseHasBeenSet() const { return m_endpointItemResponseHasBeenSet; } /** *The response that was received after the endpoint data was accepted.
*/ inline void SetEndpointItemResponse(const EndpointItemResponse& value) { m_endpointItemResponseHasBeenSet = true; m_endpointItemResponse = value; } /** *The response that was received after the endpoint data was accepted.
*/ inline void SetEndpointItemResponse(EndpointItemResponse&& value) { m_endpointItemResponseHasBeenSet = true; m_endpointItemResponse = std::move(value); } /** *The response that was received after the endpoint data was accepted.
*/ inline ItemResponse& WithEndpointItemResponse(const EndpointItemResponse& value) { SetEndpointItemResponse(value); return *this;} /** *The response that was received after the endpoint data was accepted.
*/ inline ItemResponse& WithEndpointItemResponse(EndpointItemResponse&& value) { SetEndpointItemResponse(std::move(value)); return *this;} /** *A multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline const Aws::MapA multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline bool EventsItemResponseHasBeenSet() const { return m_eventsItemResponseHasBeenSet; } /** *A multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline void SetEventsItemResponse(const Aws::MapA multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline void SetEventsItemResponse(Aws::MapA multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline ItemResponse& WithEventsItemResponse(const Aws::MapA multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline ItemResponse& WithEventsItemResponse(Aws::MapA multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline ItemResponse& AddEventsItemResponse(const Aws::String& key, const EventItemResponse& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(key, value); return *this; } /** *A multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline ItemResponse& AddEventsItemResponse(Aws::String&& key, const EventItemResponse& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(std::move(key), value); return *this; } /** *A multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline ItemResponse& AddEventsItemResponse(const Aws::String& key, EventItemResponse&& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(key, std::move(value)); return *this; } /** *A multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline ItemResponse& AddEventsItemResponse(Aws::String&& key, EventItemResponse&& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(std::move(key), std::move(value)); return *this; } /** *A multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline ItemResponse& AddEventsItemResponse(const char* key, EventItemResponse&& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(key, std::move(value)); return *this; } /** *A multipart response object that contains a key and a value for each event in * the request. In each object, the event ID is the key and an EventItemResponse * object is the value.
*/ inline ItemResponse& AddEventsItemResponse(const char* key, const EventItemResponse& value) { m_eventsItemResponseHasBeenSet = true; m_eventsItemResponse.emplace(key, value); return *this; } private: EndpointItemResponse m_endpointItemResponse; bool m_endpointItemResponseHasBeenSet = false; Aws::Map