/** * 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 move a dedicated IP address to a dedicated IP * pool.

See Also:

AWS * API Reference

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

The IP address that you want to move to the dedicated IP pool. The value you * specify has to be a dedicated IP address that's associated with your Amazon Web * Services account.

*/ inline const Aws::String& GetIp() const{ return m_ip; } /** *

The IP address that you want to move to the dedicated IP pool. The value you * specify has to be a dedicated IP address that's associated with your Amazon Web * Services account.

*/ inline bool IpHasBeenSet() const { return m_ipHasBeenSet; } /** *

The IP address that you want to move to the dedicated IP pool. The value you * specify has to be a dedicated IP address that's associated with your Amazon Web * Services account.

*/ inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; } /** *

The IP address that you want to move to the dedicated IP pool. The value you * specify has to be a dedicated IP address that's associated with your Amazon Web * Services account.

*/ inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); } /** *

The IP address that you want to move to the dedicated IP pool. The value you * specify has to be a dedicated IP address that's associated with your Amazon Web * Services account.

*/ inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); } /** *

The IP address that you want to move to the dedicated IP pool. The value you * specify has to be a dedicated IP address that's associated with your Amazon Web * Services account.

*/ inline PutDedicatedIpInPoolRequest& WithIp(const Aws::String& value) { SetIp(value); return *this;} /** *

The IP address that you want to move to the dedicated IP pool. The value you * specify has to be a dedicated IP address that's associated with your Amazon Web * Services account.

*/ inline PutDedicatedIpInPoolRequest& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;} /** *

The IP address that you want to move to the dedicated IP pool. The value you * specify has to be a dedicated IP address that's associated with your Amazon Web * Services account.

*/ inline PutDedicatedIpInPoolRequest& WithIp(const char* value) { SetIp(value); return *this;} /** *

The name of the IP pool that you want to add the dedicated IP address to. You * have to specify an IP pool that already exists.

*/ inline const Aws::String& GetDestinationPoolName() const{ return m_destinationPoolName; } /** *

The name of the IP pool that you want to add the dedicated IP address to. You * have to specify an IP pool that already exists.

*/ inline bool DestinationPoolNameHasBeenSet() const { return m_destinationPoolNameHasBeenSet; } /** *

The name of the IP pool that you want to add the dedicated IP address to. You * have to specify an IP pool that already exists.

*/ inline void SetDestinationPoolName(const Aws::String& value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName = value; } /** *

The name of the IP pool that you want to add the dedicated IP address to. You * have to specify an IP pool that already exists.

*/ inline void SetDestinationPoolName(Aws::String&& value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName = std::move(value); } /** *

The name of the IP pool that you want to add the dedicated IP address to. You * have to specify an IP pool that already exists.

*/ inline void SetDestinationPoolName(const char* value) { m_destinationPoolNameHasBeenSet = true; m_destinationPoolName.assign(value); } /** *

The name of the IP pool that you want to add the dedicated IP address to. You * have to specify an IP pool that already exists.

*/ inline PutDedicatedIpInPoolRequest& WithDestinationPoolName(const Aws::String& value) { SetDestinationPoolName(value); return *this;} /** *

The name of the IP pool that you want to add the dedicated IP address to. You * have to specify an IP pool that already exists.

*/ inline PutDedicatedIpInPoolRequest& WithDestinationPoolName(Aws::String&& value) { SetDestinationPoolName(std::move(value)); return *this;} /** *

The name of the IP pool that you want to add the dedicated IP address to. You * have to specify an IP pool that already exists.

*/ inline PutDedicatedIpInPoolRequest& WithDestinationPoolName(const char* value) { SetDestinationPoolName(value); return *this;} private: Aws::String m_ip; bool m_ipHasBeenSet = false; Aws::String m_destinationPoolName; bool m_destinationPoolNameHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws