/*
* Copyright 2010-2014 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.
*/
/*
* Do not modify this file. This file is generated from the sqs-2012-11-05.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SQS.Model
{
///
/// Encloses a MessageId
for a successfully-enqueued message in a
/// SendMessageBatch.
///
public partial class SendMessageBatchResultEntry
{
private string _id;
private string _md5OfMessageAttributes;
private string _md5OfMessageBody;
private string _md5OfMessageSystemAttributes;
private string _messageId;
private string _sequenceNumber;
///
/// Gets and sets the property Id.
///
/// An identifier for the message in this batch.
///
///
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property MD5OfMessageAttributes.
///
/// An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute
/// to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the
/// message before creating the MD5 digest. For information about MD5, see RFC1321.
///
///
public string MD5OfMessageAttributes
{
get { return this._md5OfMessageAttributes; }
set { this._md5OfMessageAttributes = value; }
}
// Check to see if MD5OfMessageAttributes property is set
internal bool IsSetMD5OfMessageAttributes()
{
return this._md5OfMessageAttributes != null;
}
///
/// Gets and sets the property MD5OfMessageBody.
///
/// An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute
/// to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the
/// message before creating the MD5 digest. For information about MD5, see RFC1321.
///
///
[AWSProperty(Required=true)]
public string MD5OfMessageBody
{
get { return this._md5OfMessageBody; }
set { this._md5OfMessageBody = value; }
}
// Check to see if MD5OfMessageBody property is set
internal bool IsSetMD5OfMessageBody()
{
return this._md5OfMessageBody != null;
}
///
/// Gets and sets the property MD5OfMessageSystemAttributes.
///
/// An MD5 digest of the non-URL-encoded message system attribute string. You can use
/// this attribute to verify that Amazon SQS received the message correctly. Amazon SQS
/// URL-decodes the message before creating the MD5 digest. For information about MD5,
/// see RFC1321.
///
///
public string MD5OfMessageSystemAttributes
{
get { return this._md5OfMessageSystemAttributes; }
set { this._md5OfMessageSystemAttributes = value; }
}
// Check to see if MD5OfMessageSystemAttributes property is set
internal bool IsSetMD5OfMessageSystemAttributes()
{
return this._md5OfMessageSystemAttributes != null;
}
///
/// Gets and sets the property MessageId.
///
/// An identifier for the message.
///
///
[AWSProperty(Required=true)]
public string MessageId
{
get { return this._messageId; }
set { this._messageId = value; }
}
// Check to see if MessageId property is set
internal bool IsSetMessageId()
{
return this._messageId != null;
}
///
/// Gets and sets the property SequenceNumber.
///
/// This parameter applies only to FIFO (first-in-first-out) queues.
///
///
///
/// The large, non-consecutive number that Amazon SQS assigns to each message.
///
///
///
/// The length of SequenceNumber
is 128 bits. As SequenceNumber
/// continues to increase for a particular MessageGroupId
.
///
///
public string SequenceNumber
{
get { return this._sequenceNumber; }
set { this._sequenceNumber = value; }
}
// Check to see if SequenceNumber property is set
internal bool IsSetSequenceNumber()
{
return this._sequenceNumber != null;
}
}
}