/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ChimeSDKVoice { namespace Model { /** */ class UpdatePhoneNumberSettingsRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API UpdatePhoneNumberSettingsRequest(); // 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 "UpdatePhoneNumberSettings"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override; /** *

The default outbound calling name for the account.

*/ inline const Aws::String& GetCallingName() const{ return m_callingName; } /** *

The default outbound calling name for the account.

*/ inline bool CallingNameHasBeenSet() const { return m_callingNameHasBeenSet; } /** *

The default outbound calling name for the account.

*/ inline void SetCallingName(const Aws::String& value) { m_callingNameHasBeenSet = true; m_callingName = value; } /** *

The default outbound calling name for the account.

*/ inline void SetCallingName(Aws::String&& value) { m_callingNameHasBeenSet = true; m_callingName = std::move(value); } /** *

The default outbound calling name for the account.

*/ inline void SetCallingName(const char* value) { m_callingNameHasBeenSet = true; m_callingName.assign(value); } /** *

The default outbound calling name for the account.

*/ inline UpdatePhoneNumberSettingsRequest& WithCallingName(const Aws::String& value) { SetCallingName(value); return *this;} /** *

The default outbound calling name for the account.

*/ inline UpdatePhoneNumberSettingsRequest& WithCallingName(Aws::String&& value) { SetCallingName(std::move(value)); return *this;} /** *

The default outbound calling name for the account.

*/ inline UpdatePhoneNumberSettingsRequest& WithCallingName(const char* value) { SetCallingName(value); return *this;} private: Aws::String m_callingName; bool m_callingNameHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws