/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.pinpoint.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides information about which users and endpoints a message was sent to. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SendUsersMessageResponse implements Serializable, Cloneable, StructuredPojo { /** ** The unique identifier for the application that was used to send the message. *
*/ private String applicationId; /** ** The unique identifier that was assigned to the message request. *
*/ private String requestId; /** ** An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, * for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an * EndpointMessageResult object. *
*/ private java.util.Map* The unique identifier for the application that was used to send the message. *
* * @param applicationId * The unique identifier for the application that was used to send the message. */ public void setApplicationId(String applicationId) { this.applicationId = applicationId; } /** ** The unique identifier for the application that was used to send the message. *
* * @return The unique identifier for the application that was used to send the message. */ public String getApplicationId() { return this.applicationId; } /** ** The unique identifier for the application that was used to send the message. *
* * @param applicationId * The unique identifier for the application that was used to send the message. * @return Returns a reference to this object so that method calls can be chained together. */ public SendUsersMessageResponse withApplicationId(String applicationId) { setApplicationId(applicationId); return this; } /** ** The unique identifier that was assigned to the message request. *
* * @param requestId * The unique identifier that was assigned to the message request. */ public void setRequestId(String requestId) { this.requestId = requestId; } /** ** The unique identifier that was assigned to the message request. *
* * @return The unique identifier that was assigned to the message request. */ public String getRequestId() { return this.requestId; } /** ** The unique identifier that was assigned to the message request. *
* * @param requestId * The unique identifier that was assigned to the message request. * @return Returns a reference to this object so that method calls can be chained together. */ public SendUsersMessageResponse withRequestId(String requestId) { setRequestId(requestId); return this; } /** ** An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, * for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an * EndpointMessageResult object. *
* * @return An object that indicates which endpoints the message was sent to, for each user. The object lists user * IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, * it provides an EndpointMessageResult object. */ public java.util.Map* An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, * for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an * EndpointMessageResult object. *
* * @param result * An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs * and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it * provides an EndpointMessageResult object. */ public void setResult(java.util.Map* An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, * for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an * EndpointMessageResult object. *
* * @param result * An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs * and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it * provides an EndpointMessageResult object. * @return Returns a reference to this object so that method calls can be chained together. */ public SendUsersMessageResponse withResult(java.util.Map