/*
* 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 support-app-2021-08-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.SupportApp.Model
{
///
/// The configuration for a Slack workspace that you added to an Amazon Web Services account.
///
public partial class SlackWorkspaceConfiguration
{
private bool? _allowOrganizationMemberAccount;
private string _teamId;
private string _teamName;
///
/// Gets and sets the property AllowOrganizationMemberAccount.
///
/// Whether to allow member accounts to authorize Slack workspaces. Member accounts must
/// be part of an organization in Organizations.
///
///
public bool AllowOrganizationMemberAccount
{
get { return this._allowOrganizationMemberAccount.GetValueOrDefault(); }
set { this._allowOrganizationMemberAccount = value; }
}
// Check to see if AllowOrganizationMemberAccount property is set
internal bool IsSetAllowOrganizationMemberAccount()
{
return this._allowOrganizationMemberAccount.HasValue;
}
///
/// Gets and sets the property TeamId.
///
/// The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string TeamId
{
get { return this._teamId; }
set { this._teamId = value; }
}
// Check to see if TeamId property is set
internal bool IsSetTeamId()
{
return this._teamId != null;
}
///
/// Gets and sets the property TeamName.
///
/// The name of the Slack workspace.
///
///
[AWSProperty(Min=1, Max=256)]
public string TeamName
{
get { return this._teamName; }
set { this._teamName = value; }
}
// Check to see if TeamName property is set
internal bool IsSetTeamName()
{
return this._teamName != null;
}
}
}