/*
* Copyright 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 ssm-contacts-2021-05-03.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SSMContacts.Model
{
///
/// This is the response object from the DescribePage operation.
///
public partial class DescribePageResponse : AmazonWebServiceResponse
{
private string _contactArn;
private string _content;
private DateTime? _deliveryTime;
private string _engagementArn;
private string _incidentId;
private string _pageArn;
private string _publicContent;
private string _publicSubject;
private DateTime? _readTime;
private string _sender;
private DateTime? _sentTime;
private string _subject;
///
/// Gets and sets the property ContactArn.
///
/// The ARN of the contact that was engaged.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ContactArn
{
get { return this._contactArn; }
set { this._contactArn = value; }
}
// Check to see if ContactArn property is set
internal bool IsSetContactArn()
{
return this._contactArn != null;
}
///
/// Gets and sets the property Content.
///
/// The secure content of the message that was sent to the contact. Use this field for
/// engagements to VOICE
and EMAIL
.
///
///
[AWSProperty(Required=true, Min=1, Max=8192)]
public string Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
///
/// Gets and sets the property DeliveryTime.
///
/// The time that the contact channel received the engagement.
///
///
public DateTime DeliveryTime
{
get { return this._deliveryTime.GetValueOrDefault(); }
set { this._deliveryTime = value; }
}
// Check to see if DeliveryTime property is set
internal bool IsSetDeliveryTime()
{
return this._deliveryTime.HasValue;
}
///
/// Gets and sets the property EngagementArn.
///
/// The ARN of the engagement that engaged the contact channel.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string EngagementArn
{
get { return this._engagementArn; }
set { this._engagementArn = value; }
}
// Check to see if EngagementArn property is set
internal bool IsSetEngagementArn()
{
return this._engagementArn != null;
}
///
/// Gets and sets the property IncidentId.
///
/// The ARN of the incident that engaged the contact channel.
///
///
[AWSProperty(Max=1024)]
public string IncidentId
{
get { return this._incidentId; }
set { this._incidentId = value; }
}
// Check to see if IncidentId property is set
internal bool IsSetIncidentId()
{
return this._incidentId != null;
}
///
/// Gets and sets the property PageArn.
///
/// The Amazon Resource Name (ARN) of the engagement to a contact channel.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string PageArn
{
get { return this._pageArn; }
set { this._pageArn = value; }
}
// Check to see if PageArn property is set
internal bool IsSetPageArn()
{
return this._pageArn != null;
}
///
/// Gets and sets the property PublicContent.
///
/// The insecure content of the message that was sent to the contact. Use this field for
/// engagements to SMS
.
///
///
[AWSProperty(Min=1, Max=8192)]
public string PublicContent
{
get { return this._publicContent; }
set { this._publicContent = value; }
}
// Check to see if PublicContent property is set
internal bool IsSetPublicContent()
{
return this._publicContent != null;
}
///
/// Gets and sets the property PublicSubject.
///
/// The insecure subject of the message that was sent to the contact. Use this field for
/// engagements to SMS
.
///
///
[AWSProperty(Min=1, Max=2048)]
public string PublicSubject
{
get { return this._publicSubject; }
set { this._publicSubject = value; }
}
// Check to see if PublicSubject property is set
internal bool IsSetPublicSubject()
{
return this._publicSubject != null;
}
///
/// Gets and sets the property ReadTime.
///
/// The time that the contact channel acknowledged the engagement.
///
///
public DateTime ReadTime
{
get { return this._readTime.GetValueOrDefault(); }
set { this._readTime = value; }
}
// Check to see if ReadTime property is set
internal bool IsSetReadTime()
{
return this._readTime.HasValue;
}
///
/// Gets and sets the property Sender.
///
/// The user that started the engagement.
///
///
[AWSProperty(Required=true, Max=255)]
public string Sender
{
get { return this._sender; }
set { this._sender = value; }
}
// Check to see if Sender property is set
internal bool IsSetSender()
{
return this._sender != null;
}
///
/// Gets and sets the property SentTime.
///
/// The time the engagement was sent to the contact channel.
///
///
public DateTime SentTime
{
get { return this._sentTime.GetValueOrDefault(); }
set { this._sentTime = value; }
}
// Check to see if SentTime property is set
internal bool IsSetSentTime()
{
return this._sentTime.HasValue;
}
///
/// Gets and sets the property Subject.
///
/// The secure subject of the message that was sent to the contact. Use this field for
/// engagements to VOICE
and EMAIL
.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string Subject
{
get { return this._subject; }
set { this._subject = value; }
}
// Check to see if Subject property is set
internal bool IsSetSubject()
{
return this._subject != null;
}
}
}