/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Chime { namespace Model { /** */ class UpdateGlobalSettingsRequest : public ChimeRequest { public: AWS_CHIME_API UpdateGlobalSettingsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateGlobalSettings"; } AWS_CHIME_API Aws::String SerializePayload() const override; /** *

The Amazon Chime Business Calling settings.

*/ inline const BusinessCallingSettings& GetBusinessCalling() const{ return m_businessCalling; } /** *

The Amazon Chime Business Calling settings.

*/ inline bool BusinessCallingHasBeenSet() const { return m_businessCallingHasBeenSet; } /** *

The Amazon Chime Business Calling settings.

*/ inline void SetBusinessCalling(const BusinessCallingSettings& value) { m_businessCallingHasBeenSet = true; m_businessCalling = value; } /** *

The Amazon Chime Business Calling settings.

*/ inline void SetBusinessCalling(BusinessCallingSettings&& value) { m_businessCallingHasBeenSet = true; m_businessCalling = std::move(value); } /** *

The Amazon Chime Business Calling settings.

*/ inline UpdateGlobalSettingsRequest& WithBusinessCalling(const BusinessCallingSettings& value) { SetBusinessCalling(value); return *this;} /** *

The Amazon Chime Business Calling settings.

*/ inline UpdateGlobalSettingsRequest& WithBusinessCalling(BusinessCallingSettings&& value) { SetBusinessCalling(std::move(value)); return *this;} /** *

The Amazon Chime Voice Connector settings.

*/ inline const VoiceConnectorSettings& GetVoiceConnector() const{ return m_voiceConnector; } /** *

The Amazon Chime Voice Connector settings.

*/ inline bool VoiceConnectorHasBeenSet() const { return m_voiceConnectorHasBeenSet; } /** *

The Amazon Chime Voice Connector settings.

*/ inline void SetVoiceConnector(const VoiceConnectorSettings& value) { m_voiceConnectorHasBeenSet = true; m_voiceConnector = value; } /** *

The Amazon Chime Voice Connector settings.

*/ inline void SetVoiceConnector(VoiceConnectorSettings&& value) { m_voiceConnectorHasBeenSet = true; m_voiceConnector = std::move(value); } /** *

The Amazon Chime Voice Connector settings.

*/ inline UpdateGlobalSettingsRequest& WithVoiceConnector(const VoiceConnectorSettings& value) { SetVoiceConnector(value); return *this;} /** *

The Amazon Chime Voice Connector settings.

*/ inline UpdateGlobalSettingsRequest& WithVoiceConnector(VoiceConnectorSettings&& value) { SetVoiceConnector(std::move(value)); return *this;} private: BusinessCallingSettings m_businessCalling; bool m_businessCallingHasBeenSet = false; VoiceConnectorSettings m_voiceConnector; bool m_voiceConnectorHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws