/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SupportApp { namespace Model { class UpdateSlackChannelConfigurationResult { public: AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationResult(); AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_SUPPORTAPP_API UpdateSlackChannelConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline const Aws::String& GetChannelId() const{ return m_channelId; } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline void SetChannelId(const Aws::String& value) { m_channelId = value; } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline void SetChannelId(Aws::String&& value) { m_channelId = std::move(value); } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline void SetChannelId(const char* value) { m_channelId.assign(value); } /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;} /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;} /** *

The channel ID in Slack. This ID identifies a channel within a Slack * workspace.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelId(const char* value) { SetChannelId(value); return *this;} /** *

The name of the Slack channel that you configure for the Amazon Web Services * Support App.

*/ inline const Aws::String& GetChannelName() const{ return m_channelName; } /** *

The name of the Slack channel that you configure for the Amazon Web Services * Support App.

*/ inline void SetChannelName(const Aws::String& value) { m_channelName = value; } /** *

The name of the Slack channel that you configure for the Amazon Web Services * Support App.

*/ inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); } /** *

The name of the Slack channel that you configure for the Amazon Web Services * Support App.

*/ inline void SetChannelName(const char* value) { m_channelName.assign(value); } /** *

The name of the Slack channel that you configure for the Amazon Web Services * Support App.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;} /** *

The name of the Slack channel that you configure for the Amazon Web Services * Support App.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;} /** *

The name of the Slack channel that you configure for the Amazon Web Services * Support App.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelName(const char* value) { SetChannelName(value); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that you want to use to perform * operations on Amazon Web Services. For more information, see Managing * access to the Amazon Web Services Support App in the Amazon Web Services * Support User Guide.

*/ inline const Aws::String& GetChannelRoleArn() const{ return m_channelRoleArn; } /** *

The Amazon Resource Name (ARN) of an IAM role that you want to use to perform * operations on Amazon Web Services. For more information, see Managing * access to the Amazon Web Services Support App in the Amazon Web Services * Support User Guide.

*/ inline void SetChannelRoleArn(const Aws::String& value) { m_channelRoleArn = value; } /** *

The Amazon Resource Name (ARN) of an IAM role that you want to use to perform * operations on Amazon Web Services. For more information, see Managing * access to the Amazon Web Services Support App in the Amazon Web Services * Support User Guide.

*/ inline void SetChannelRoleArn(Aws::String&& value) { m_channelRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that you want to use to perform * operations on Amazon Web Services. For more information, see Managing * access to the Amazon Web Services Support App in the Amazon Web Services * Support User Guide.

*/ inline void SetChannelRoleArn(const char* value) { m_channelRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that you want to use to perform * operations on Amazon Web Services. For more information, see Managing * access to the Amazon Web Services Support App in the Amazon Web Services * Support User Guide.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelRoleArn(const Aws::String& value) { SetChannelRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that you want to use to perform * operations on Amazon Web Services. For more information, see Managing * access to the Amazon Web Services Support App in the Amazon Web Services * Support User Guide.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelRoleArn(Aws::String&& value) { SetChannelRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that you want to use to perform * operations on Amazon Web Services. For more information, see Managing * access to the Amazon Web Services Support App in the Amazon Web Services * Support User Guide.

*/ inline UpdateSlackChannelConfigurationResult& WithChannelRoleArn(const char* value) { SetChannelRoleArn(value); return *this;} /** *

Whether you want to get notified when a support case has a new * correspondence.

*/ inline bool GetNotifyOnAddCorrespondenceToCase() const{ return m_notifyOnAddCorrespondenceToCase; } /** *

Whether you want to get notified when a support case has a new * correspondence.

*/ inline void SetNotifyOnAddCorrespondenceToCase(bool value) { m_notifyOnAddCorrespondenceToCase = value; } /** *

Whether you want to get notified when a support case has a new * correspondence.

*/ inline UpdateSlackChannelConfigurationResult& WithNotifyOnAddCorrespondenceToCase(bool value) { SetNotifyOnAddCorrespondenceToCase(value); return *this;} /** *

The case severity for a support case that you want to receive * notifications.

*/ inline const NotificationSeverityLevel& GetNotifyOnCaseSeverity() const{ return m_notifyOnCaseSeverity; } /** *

The case severity for a support case that you want to receive * notifications.

*/ inline void SetNotifyOnCaseSeverity(const NotificationSeverityLevel& value) { m_notifyOnCaseSeverity = value; } /** *

The case severity for a support case that you want to receive * notifications.

*/ inline void SetNotifyOnCaseSeverity(NotificationSeverityLevel&& value) { m_notifyOnCaseSeverity = std::move(value); } /** *

The case severity for a support case that you want to receive * notifications.

*/ inline UpdateSlackChannelConfigurationResult& WithNotifyOnCaseSeverity(const NotificationSeverityLevel& value) { SetNotifyOnCaseSeverity(value); return *this;} /** *

The case severity for a support case that you want to receive * notifications.

*/ inline UpdateSlackChannelConfigurationResult& WithNotifyOnCaseSeverity(NotificationSeverityLevel&& value) { SetNotifyOnCaseSeverity(std::move(value)); return *this;} /** *

Whether you want to get notified when a support case is created or * reopened.

*/ inline bool GetNotifyOnCreateOrReopenCase() const{ return m_notifyOnCreateOrReopenCase; } /** *

Whether you want to get notified when a support case is created or * reopened.

*/ inline void SetNotifyOnCreateOrReopenCase(bool value) { m_notifyOnCreateOrReopenCase = value; } /** *

Whether you want to get notified when a support case is created or * reopened.

*/ inline UpdateSlackChannelConfigurationResult& WithNotifyOnCreateOrReopenCase(bool value) { SetNotifyOnCreateOrReopenCase(value); return *this;} /** *

Whether you want to get notified when a support case is resolved.

*/ inline bool GetNotifyOnResolveCase() const{ return m_notifyOnResolveCase; } /** *

Whether you want to get notified when a support case is resolved.

*/ inline void SetNotifyOnResolveCase(bool value) { m_notifyOnResolveCase = value; } /** *

Whether you want to get notified when a support case is resolved.

*/ inline UpdateSlackChannelConfigurationResult& WithNotifyOnResolveCase(bool value) { SetNotifyOnResolveCase(value); return *this;} /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline const Aws::String& GetTeamId() const{ return m_teamId; } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline void SetTeamId(const Aws::String& value) { m_teamId = value; } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline void SetTeamId(Aws::String&& value) { m_teamId = std::move(value); } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline void SetTeamId(const char* value) { m_teamId.assign(value); } /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline UpdateSlackChannelConfigurationResult& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;} /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline UpdateSlackChannelConfigurationResult& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;} /** *

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as * T012ABCDEFG.

*/ inline UpdateSlackChannelConfigurationResult& WithTeamId(const char* value) { SetTeamId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateSlackChannelConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateSlackChannelConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateSlackChannelConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_channelId; Aws::String m_channelName; Aws::String m_channelRoleArn; bool m_notifyOnAddCorrespondenceToCase; NotificationSeverityLevel m_notifyOnCaseSeverity; bool m_notifyOnCreateOrReopenCase; bool m_notifyOnResolveCase; Aws::String m_teamId; Aws::String m_requestId; }; } // namespace Model } // namespace SupportApp } // namespace Aws