/** * 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 ChimeSDKVoice { namespace Model { /** */ class BatchDeletePhoneNumberRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API BatchDeletePhoneNumberRequest(); // 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 "BatchDeletePhoneNumber"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override; /** *

List of phone number IDs.

*/ inline const Aws::Vector& GetPhoneNumberIds() const{ return m_phoneNumberIds; } /** *

List of phone number IDs.

*/ inline bool PhoneNumberIdsHasBeenSet() const { return m_phoneNumberIdsHasBeenSet; } /** *

List of phone number IDs.

*/ inline void SetPhoneNumberIds(const Aws::Vector& value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds = value; } /** *

List of phone number IDs.

*/ inline void SetPhoneNumberIds(Aws::Vector&& value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds = std::move(value); } /** *

List of phone number IDs.

*/ inline BatchDeletePhoneNumberRequest& WithPhoneNumberIds(const Aws::Vector& value) { SetPhoneNumberIds(value); return *this;} /** *

List of phone number IDs.

*/ inline BatchDeletePhoneNumberRequest& WithPhoneNumberIds(Aws::Vector&& value) { SetPhoneNumberIds(std::move(value)); return *this;} /** *

List of phone number IDs.

*/ inline BatchDeletePhoneNumberRequest& AddPhoneNumberIds(const Aws::String& value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds.push_back(value); return *this; } /** *

List of phone number IDs.

*/ inline BatchDeletePhoneNumberRequest& AddPhoneNumberIds(Aws::String&& value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds.push_back(std::move(value)); return *this; } /** *

List of phone number IDs.

*/ inline BatchDeletePhoneNumberRequest& AddPhoneNumberIds(const char* value) { m_phoneNumberIdsHasBeenSet = true; m_phoneNumberIds.push_back(value); return *this; } private: Aws::Vector m_phoneNumberIds; bool m_phoneNumberIdsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws