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

Represents a request to enable or disable the email sending capabilities for * your entire Amazon SES account.

See Also:

AWS * API Reference

*/ class UpdateAccountSendingEnabledRequest : public SESRequest { public: AWS_SES_API UpdateAccountSendingEnabledRequest(); // 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 "UpdateAccountSendingEnabled"; } AWS_SES_API Aws::String SerializePayload() const override; protected: AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

Describes whether email sending is enabled or disabled for your Amazon SES * account in the current AWS Region.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Describes whether email sending is enabled or disabled for your Amazon SES * account in the current AWS Region.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Describes whether email sending is enabled or disabled for your Amazon SES * account in the current AWS Region.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Describes whether email sending is enabled or disabled for your Amazon SES * account in the current AWS Region.

*/ inline UpdateAccountSendingEnabledRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws