/*
* 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 securitylake-2018-05-10.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.SecurityLake.Model
{
///
/// Container for the parameters to the UpdateDataLakeExceptionSubscription operation.
/// Updates the specified notification subscription in Amazon Security Lake for the organization
/// you specify.
///
public partial class UpdateDataLakeExceptionSubscriptionRequest : AmazonSecurityLakeRequest
{
private long? _exceptionTimeToLive;
private string _notificationEndpoint;
private string _subscriptionProtocol;
///
/// Gets and sets the property ExceptionTimeToLive.
///
/// The time-to-live (TTL) for the exception message to remain.
///
///
[AWSProperty(Min=1)]
public long ExceptionTimeToLive
{
get { return this._exceptionTimeToLive.GetValueOrDefault(); }
set { this._exceptionTimeToLive = value; }
}
// Check to see if ExceptionTimeToLive property is set
internal bool IsSetExceptionTimeToLive()
{
return this._exceptionTimeToLive.HasValue;
}
///
/// Gets and sets the property NotificationEndpoint.
///
/// The account that is subscribed to receive exception notifications.
///
///
[AWSProperty(Required=true)]
public string NotificationEndpoint
{
get { return this._notificationEndpoint; }
set { this._notificationEndpoint = value; }
}
// Check to see if NotificationEndpoint property is set
internal bool IsSetNotificationEndpoint()
{
return this._notificationEndpoint != null;
}
///
/// Gets and sets the property SubscriptionProtocol.
///
/// The subscription protocol to which exception messages are posted.
///
///
[AWSProperty(Required=true)]
public string SubscriptionProtocol
{
get { return this._subscriptionProtocol; }
set { this._subscriptionProtocol = value; }
}
// Check to see if SubscriptionProtocol property is set
internal bool IsSetSubscriptionProtocol()
{
return this._subscriptionProtocol != null;
}
}
}