/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request to change the ability of your account to send email.See
* Also:
AWS
* API Reference
Enables or disables your account's ability to send email. Set to
* true
to enable email sending, or set to false
to
* disable email sending.
If Amazon Web Services paused your * account's ability to send email, you can't use this operation to resume your * account's ability to send email.
*/ inline bool GetSendingEnabled() const{ return m_sendingEnabled; } /** *Enables or disables your account's ability to send email. Set to
* true
to enable email sending, or set to false
to
* disable email sending.
If Amazon Web Services paused your * account's ability to send email, you can't use this operation to resume your * account's ability to send email.
*/ inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; } /** *Enables or disables your account's ability to send email. Set to
* true
to enable email sending, or set to false
to
* disable email sending.
If Amazon Web Services paused your * account's ability to send email, you can't use this operation to resume your * account's ability to send email.
*/ inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; } /** *Enables or disables your account's ability to send email. Set to
* true
to enable email sending, or set to false
to
* disable email sending.
If Amazon Web Services paused your * account's ability to send email, you can't use this operation to resume your * account's ability to send email.
*/ inline PutAccountSendingAttributesRequest& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;} private: bool m_sendingEnabled; bool m_sendingEnabledHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws