/**
* 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 send a message to an
* endpoint address.See Also:
AWS
* API Reference
The unique identifier for the application that was used to send the * message.
*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *The unique identifier for the application that was used to send the * message.
*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *The unique identifier for the application that was used to send the * message.
*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *The unique identifier for the application that was used to send the * message.
*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *The unique identifier for the application that was used to send the * message.
*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *The unique identifier for the application that was used to send the * message.
*/ inline MessageResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The unique identifier for the application that was used to send the * message.
*/ inline MessageResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The unique identifier for the application that was used to send the * message.
*/ inline MessageResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *A map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline const Aws::MapA map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline bool EndpointResultHasBeenSet() const { return m_endpointResultHasBeenSet; } /** *A map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline void SetEndpointResult(const Aws::MapA map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline void SetEndpointResult(Aws::MapA map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline MessageResponse& WithEndpointResult(const Aws::MapA map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline MessageResponse& WithEndpointResult(Aws::MapA map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline MessageResponse& AddEndpointResult(const Aws::String& key, const EndpointMessageResult& value) { m_endpointResultHasBeenSet = true; m_endpointResult.emplace(key, value); return *this; } /** *A map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline MessageResponse& AddEndpointResult(Aws::String&& key, const EndpointMessageResult& value) { m_endpointResultHasBeenSet = true; m_endpointResult.emplace(std::move(key), value); return *this; } /** *A map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline MessageResponse& AddEndpointResult(const Aws::String& key, EndpointMessageResult&& value) { m_endpointResultHasBeenSet = true; m_endpointResult.emplace(key, std::move(value)); return *this; } /** *A map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline MessageResponse& AddEndpointResult(Aws::String&& key, EndpointMessageResult&& value) { m_endpointResultHasBeenSet = true; m_endpointResult.emplace(std::move(key), std::move(value)); return *this; } /** *A map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline MessageResponse& AddEndpointResult(const char* key, EndpointMessageResult&& value) { m_endpointResultHasBeenSet = true; m_endpointResult.emplace(key, std::move(value)); return *this; } /** *A map that contains a multipart response for each address that the message * was sent to. In the map, the endpoint ID is the key and the result is the * value.
*/ inline MessageResponse& AddEndpointResult(const char* key, const EndpointMessageResult& value) { m_endpointResultHasBeenSet = true; m_endpointResult.emplace(key, value); return *this; } /** *The identifier for the original request that the message was delivered * for.
*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *The identifier for the original request that the message was delivered * for.
*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *The identifier for the original request that the message was delivered * for.
*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *The identifier for the original request that the message was delivered * for.
*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *The identifier for the original request that the message was delivered * for.
*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *The identifier for the original request that the message was delivered * for.
*/ inline MessageResponse& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *The identifier for the original request that the message was delivered * for.
*/ inline MessageResponse& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *The identifier for the original request that the message was delivered * for.
*/ inline MessageResponse& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *A map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline const Aws::MapA map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; } /** *A map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline void SetResult(const Aws::MapA map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline void SetResult(Aws::MapA map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline MessageResponse& WithResult(const Aws::MapA map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline MessageResponse& WithResult(Aws::MapA map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline MessageResponse& AddResult(const Aws::String& key, const MessageResult& value) { m_resultHasBeenSet = true; m_result.emplace(key, value); return *this; } /** *A map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline MessageResponse& AddResult(Aws::String&& key, const MessageResult& value) { m_resultHasBeenSet = true; m_result.emplace(std::move(key), value); return *this; } /** *A map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline MessageResponse& AddResult(const Aws::String& key, MessageResult&& value) { m_resultHasBeenSet = true; m_result.emplace(key, std::move(value)); return *this; } /** *A map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline MessageResponse& AddResult(Aws::String&& key, MessageResult&& value) { m_resultHasBeenSet = true; m_result.emplace(std::move(key), std::move(value)); return *this; } /** *A map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline MessageResponse& AddResult(const char* key, MessageResult&& value) { m_resultHasBeenSet = true; m_result.emplace(key, std::move(value)); return *this; } /** *A map that contains a multipart response for each address (email address, * phone number, or push notification token) that the message was sent to. In the * map, the address is the key and the result is the value.
*/ inline MessageResponse& AddResult(const char* key, const MessageResult& value) { m_resultHasBeenSet = true; m_result.emplace(key, value); return *this; } private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::Map