/** * 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 PinpointSMSVoiceV2 { namespace Model { /** */ class DeletePoolRequest : public PinpointSMSVoiceV2Request { public: AWS_PINPOINTSMSVOICEV2_API DeletePoolRequest(); // 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 "DeletePool"; } AWS_PINPOINTSMSVOICEV2_API Aws::String SerializePayload() const override; AWS_PINPOINTSMSVOICEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The PoolId or PoolArn of the pool to delete. You can use DescribePools * to find the values for PoolId and PoolArn .

*/ inline const Aws::String& GetPoolId() const{ return m_poolId; } /** *

The PoolId or PoolArn of the pool to delete. You can use DescribePools * to find the values for PoolId and PoolArn .

*/ inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; } /** *

The PoolId or PoolArn of the pool to delete. You can use DescribePools * to find the values for PoolId and PoolArn .

*/ inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; } /** *

The PoolId or PoolArn of the pool to delete. You can use DescribePools * to find the values for PoolId and PoolArn .

*/ inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); } /** *

The PoolId or PoolArn of the pool to delete. You can use DescribePools * to find the values for PoolId and PoolArn .

*/ inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); } /** *

The PoolId or PoolArn of the pool to delete. You can use DescribePools * to find the values for PoolId and PoolArn .

*/ inline DeletePoolRequest& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;} /** *

The PoolId or PoolArn of the pool to delete. You can use DescribePools * to find the values for PoolId and PoolArn .

*/ inline DeletePoolRequest& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;} /** *

The PoolId or PoolArn of the pool to delete. You can use DescribePools * to find the values for PoolId and PoolArn .

*/ inline DeletePoolRequest& WithPoolId(const char* value) { SetPoolId(value); return *this;} private: Aws::String m_poolId; bool m_poolIdHasBeenSet = false; }; } // namespace Model } // namespace PinpointSMSVoiceV2 } // namespace Aws