/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about endpoints and the events that they're associated
* with.See Also:
AWS
* API Reference
A map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline const Aws::MapA map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; } /** *A map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline void SetResults(const Aws::MapA map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline void SetResults(Aws::MapA map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline EventsResponse& WithResults(const Aws::MapA map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline EventsResponse& WithResults(Aws::MapA map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline EventsResponse& AddResults(const Aws::String& key, const ItemResponse& value) { m_resultsHasBeenSet = true; m_results.emplace(key, value); return *this; } /** *A map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline EventsResponse& AddResults(Aws::String&& key, const ItemResponse& value) { m_resultsHasBeenSet = true; m_results.emplace(std::move(key), value); return *this; } /** *A map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline EventsResponse& AddResults(const Aws::String& key, ItemResponse&& value) { m_resultsHasBeenSet = true; m_results.emplace(key, std::move(value)); return *this; } /** *A map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline EventsResponse& AddResults(Aws::String&& key, ItemResponse&& value) { m_resultsHasBeenSet = true; m_results.emplace(std::move(key), std::move(value)); return *this; } /** *A map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline EventsResponse& AddResults(const char* key, ItemResponse&& value) { m_resultsHasBeenSet = true; m_results.emplace(key, std::move(value)); return *this; } /** *A map that contains a multipart response for each endpoint. For each item in * this object, the endpoint ID is the key and the item response is the value. If * no item response exists, the value can also be one of the following: 202, the * request was processed successfully; or 400, the payload wasn't valid or required * fields were missing.
*/ inline EventsResponse& AddResults(const char* key, const ItemResponse& value) { m_resultsHasBeenSet = true; m_results.emplace(key, value); return *this; } private: Aws::Map