/*
* 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-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model
{
///
/// Specifies the type of message that triggers a bot.
///
public partial class InvokedBy
{
private StandardMessages _standardMessages;
private TargetedMessages _targetedMessages;
///
/// Gets and sets the property StandardMessages.
///
/// Sets standard messages as the bot trigger. For standard messages:
///
/// -
///
///
ALL
: The bot processes all standard messages.
///
/// -
///
///
AUTO
: The bot responds to ALL messages when the channel has one other
/// non-hidden member, and responds to MENTIONS when the channel has more than one other
/// non-hidden member.
///
/// -
///
///
MENTIONS
: The bot processes all standard messages that have a message
/// attribute with CHIME.mentions
and a value of the bot ARN.
///
/// -
///
///
NONE
: The bot processes no standard messages.
///
///
///
[AWSProperty(Required=true)]
public StandardMessages StandardMessages
{
get { return this._standardMessages; }
set { this._standardMessages = value; }
}
// Check to see if StandardMessages property is set
internal bool IsSetStandardMessages()
{
return this._standardMessages != null;
}
///
/// Gets and sets the property TargetedMessages.
///
/// Sets targeted messages as the bot trigger. For targeted messages:
///
/// -
///
///
ALL
: The bot processes all TargetedMessages
sent to it.
/// The bot then responds with a targeted message back to the sender.
///
/// -
///
///
NONE
: The bot processes no targeted messages.
///
///
///
[AWSProperty(Required=true)]
public TargetedMessages TargetedMessages
{
get { return this._targetedMessages; }
set { this._targetedMessages = value; }
}
// Check to see if TargetedMessages property is set
internal bool IsSetTargetedMessages()
{
return this._targetedMessages != null;
}
}
}