/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration for a Slack workspace that you added to an Amazon Web
* Services account.See Also:
AWS
* API Reference
Whether to allow member accounts to authorize Slack workspaces. Member * accounts must be part of an organization in Organizations.
*/ inline bool GetAllowOrganizationMemberAccount() const{ return m_allowOrganizationMemberAccount; } /** *Whether to allow member accounts to authorize Slack workspaces. Member * accounts must be part of an organization in Organizations.
*/ inline bool AllowOrganizationMemberAccountHasBeenSet() const { return m_allowOrganizationMemberAccountHasBeenSet; } /** *Whether to allow member accounts to authorize Slack workspaces. Member * accounts must be part of an organization in Organizations.
*/ inline void SetAllowOrganizationMemberAccount(bool value) { m_allowOrganizationMemberAccountHasBeenSet = true; m_allowOrganizationMemberAccount = value; } /** *Whether to allow member accounts to authorize Slack workspaces. Member * accounts must be part of an organization in Organizations.
*/ inline SlackWorkspaceConfiguration& WithAllowOrganizationMemberAccount(bool value) { SetAllowOrganizationMemberAccount(value); return *this;} /** *The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
* T012ABCDEFG
.
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
* T012ABCDEFG
.
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
* T012ABCDEFG
.
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
* T012ABCDEFG
.
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
* T012ABCDEFG
.
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
* T012ABCDEFG
.
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
* T012ABCDEFG
.
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as
* T012ABCDEFG
.
The name of the Slack workspace.
*/ inline const Aws::String& GetTeamName() const{ return m_teamName; } /** *The name of the Slack workspace.
*/ inline bool TeamNameHasBeenSet() const { return m_teamNameHasBeenSet; } /** *The name of the Slack workspace.
*/ inline void SetTeamName(const Aws::String& value) { m_teamNameHasBeenSet = true; m_teamName = value; } /** *The name of the Slack workspace.
*/ inline void SetTeamName(Aws::String&& value) { m_teamNameHasBeenSet = true; m_teamName = std::move(value); } /** *The name of the Slack workspace.
*/ inline void SetTeamName(const char* value) { m_teamNameHasBeenSet = true; m_teamName.assign(value); } /** *The name of the Slack workspace.
*/ inline SlackWorkspaceConfiguration& WithTeamName(const Aws::String& value) { SetTeamName(value); return *this;} /** *The name of the Slack workspace.
*/ inline SlackWorkspaceConfiguration& WithTeamName(Aws::String&& value) { SetTeamName(std::move(value)); return *this;} /** *The name of the Slack workspace.
*/ inline SlackWorkspaceConfiguration& WithTeamName(const char* value) { SetTeamName(value); return *this;} private: bool m_allowOrganizationMemberAccount; bool m_allowOrganizationMemberAccountHasBeenSet = false; Aws::String m_teamId; bool m_teamIdHasBeenSet = false; Aws::String m_teamName; bool m_teamNameHasBeenSet = false; }; } // namespace Model } // namespace SupportApp } // namespace Aws