/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include namespace Aws { namespace SESV2 { namespace Model { /** *

A request to enable or disable the automatic IP address warm-up * feature.

See Also:

AWS * API Reference

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

Enables or disables the automatic warm-up feature for dedicated IP addresses * that are associated with your Amazon SES account in the current Amazon Web * Services Region. Set to true to enable the automatic warm-up * feature, or set to false to disable it.

*/ inline bool GetAutoWarmupEnabled() const{ return m_autoWarmupEnabled; } /** *

Enables or disables the automatic warm-up feature for dedicated IP addresses * that are associated with your Amazon SES account in the current Amazon Web * Services Region. Set to true to enable the automatic warm-up * feature, or set to false to disable it.

*/ inline bool AutoWarmupEnabledHasBeenSet() const { return m_autoWarmupEnabledHasBeenSet; } /** *

Enables or disables the automatic warm-up feature for dedicated IP addresses * that are associated with your Amazon SES account in the current Amazon Web * Services Region. Set to true to enable the automatic warm-up * feature, or set to false to disable it.

*/ inline void SetAutoWarmupEnabled(bool value) { m_autoWarmupEnabledHasBeenSet = true; m_autoWarmupEnabled = value; } /** *

Enables or disables the automatic warm-up feature for dedicated IP addresses * that are associated with your Amazon SES account in the current Amazon Web * Services Region. Set to true to enable the automatic warm-up * feature, or set to false to disable it.

*/ inline PutAccountDedicatedIpWarmupAttributesRequest& WithAutoWarmupEnabled(bool value) { SetAutoWarmupEnabled(value); return *this;} private: bool m_autoWarmupEnabled; bool m_autoWarmupEnabledHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws