/** * 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 SESV2 { namespace Model { /** *

A request to obtain more information about a dedicated IP pool.

See * Also:

AWS * API Reference

*/ class GetDedicatedIpPoolRequest : public SESV2Request { public: AWS_SESV2_API GetDedicatedIpPoolRequest(); // 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 "GetDedicatedIpPool"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

The name of the dedicated IP pool to retrieve.

*/ inline const Aws::String& GetPoolName() const{ return m_poolName; } /** *

The name of the dedicated IP pool to retrieve.

*/ inline bool PoolNameHasBeenSet() const { return m_poolNameHasBeenSet; } /** *

The name of the dedicated IP pool to retrieve.

*/ inline void SetPoolName(const Aws::String& value) { m_poolNameHasBeenSet = true; m_poolName = value; } /** *

The name of the dedicated IP pool to retrieve.

*/ inline void SetPoolName(Aws::String&& value) { m_poolNameHasBeenSet = true; m_poolName = std::move(value); } /** *

The name of the dedicated IP pool to retrieve.

*/ inline void SetPoolName(const char* value) { m_poolNameHasBeenSet = true; m_poolName.assign(value); } /** *

The name of the dedicated IP pool to retrieve.

*/ inline GetDedicatedIpPoolRequest& WithPoolName(const Aws::String& value) { SetPoolName(value); return *this;} /** *

The name of the dedicated IP pool to retrieve.

*/ inline GetDedicatedIpPoolRequest& WithPoolName(Aws::String&& value) { SetPoolName(std::move(value)); return *this;} /** *

The name of the dedicated IP pool to retrieve.

*/ inline GetDedicatedIpPoolRequest& WithPoolName(const char* value) { SetPoolName(value); return *this;} private: Aws::String m_poolName; bool m_poolNameHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws