/** * 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 change the warm-up attributes for a dedicated IP address. This * operation is useful when you want to resume the warm-up process for an existing * IP address.

See Also:

AWS * API Reference

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

The dedicated IP address that you want to update the warm-up attributes * for.

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

The dedicated IP address that you want to update the warm-up attributes * for.

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

The dedicated IP address that you want to update the warm-up attributes * for.

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

The dedicated IP address that you want to update the warm-up attributes * for.

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

The dedicated IP address that you want to update the warm-up attributes * for.

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

The dedicated IP address that you want to update the warm-up attributes * for.

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

The dedicated IP address that you want to update the warm-up attributes * for.

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

The dedicated IP address that you want to update the warm-up attributes * for.

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

The warm-up percentage that you want to associate with the dedicated IP * address.

*/ inline int GetWarmupPercentage() const{ return m_warmupPercentage; } /** *

The warm-up percentage that you want to associate with the dedicated IP * address.

*/ inline bool WarmupPercentageHasBeenSet() const { return m_warmupPercentageHasBeenSet; } /** *

The warm-up percentage that you want to associate with the dedicated IP * address.

*/ inline void SetWarmupPercentage(int value) { m_warmupPercentageHasBeenSet = true; m_warmupPercentage = value; } /** *

The warm-up percentage that you want to associate with the dedicated IP * address.

*/ inline PutDedicatedIpWarmupAttributesRequest& WithWarmupPercentage(int value) { SetWarmupPercentage(value); return *this;} private: Aws::String m_ip; bool m_ipHasBeenSet = false; int m_warmupPercentage; bool m_warmupPercentageHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws