/*
* 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 chime-2018-05-01.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.Chime.Model
{
///
/// Container for the parameters to the PutEventsConfiguration operation.
/// Creates an events configuration that allows a bot to receive outgoing events sent
/// by Amazon Chime. Choose either an HTTPS endpoint or a Lambda function ARN. For more
/// information, see Bot.
///
public partial class PutEventsConfigurationRequest : AmazonChimeRequest
{
private string _accountId;
private string _botId;
private string _lambdaFunctionArn;
private string _outboundEventsHTTPSEndpoint;
///
/// Gets and sets the property AccountId.
///
/// The Amazon Chime account ID.
///
///
[AWSProperty(Required=true)]
public string AccountId
{
get { return this._accountId; }
set { this._accountId = value; }
}
// Check to see if AccountId property is set
internal bool IsSetAccountId()
{
return this._accountId != null;
}
///
/// Gets and sets the property BotId.
///
/// The bot ID.
///
///
[AWSProperty(Required=true)]
public string BotId
{
get { return this._botId; }
set { this._botId = value; }
}
// Check to see if BotId property is set
internal bool IsSetBotId()
{
return this._botId != null;
}
///
/// Gets and sets the property LambdaFunctionArn.
///
/// Lambda function ARN that allows the bot to receive outgoing events.
///
///
[AWSProperty(Sensitive=true)]
public string LambdaFunctionArn
{
get { return this._lambdaFunctionArn; }
set { this._lambdaFunctionArn = value; }
}
// Check to see if LambdaFunctionArn property is set
internal bool IsSetLambdaFunctionArn()
{
return this._lambdaFunctionArn != null;
}
///
/// Gets and sets the property OutboundEventsHTTPSEndpoint.
///
/// HTTPS endpoint that allows the bot to receive outgoing events.
///
///
[AWSProperty(Sensitive=true)]
public string OutboundEventsHTTPSEndpoint
{
get { return this._outboundEventsHTTPSEndpoint; }
set { this._outboundEventsHTTPSEndpoint = value; }
}
// Check to see if OutboundEventsHTTPSEndpoint property is set
internal bool IsSetOutboundEventsHTTPSEndpoint()
{
return this._outboundEventsHTTPSEndpoint != null;
}
}
}