/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SESV2
{
namespace Model
{
/**
* Used to enable or disable email sending for messages that use this
* configuration set in the current Amazon Web Services Region.
See
* Also:
AWS
* API Reference
*/
class SendingOptions
{
public:
AWS_SESV2_API SendingOptions();
AWS_SESV2_API SendingOptions(Aws::Utils::Json::JsonView jsonValue);
AWS_SESV2_API SendingOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* If true
, email sending is enabled for the configuration set. If
* false
, email sending is disabled for the configuration set.
*/
inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
/**
* If true
, email sending is enabled for the configuration set. If
* false
, email sending is disabled for the configuration set.
*/
inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
/**
* If true
, email sending is enabled for the configuration set. If
* false
, email sending is disabled for the configuration set.
*/
inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
/**
* If true
, email sending is enabled for the configuration set. If
* false
, email sending is disabled for the configuration set.
*/
inline SendingOptions& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
private:
bool m_sendingEnabled;
bool m_sendingEnabledHasBeenSet = false;
};
} // namespace Model
} // namespace SESV2
} // namespace Aws