72 lines
2.1 KiB
C++
72 lines
2.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace PinpointEmail
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Used to enable or disable email sending for messages that use this
|
|
* configuration set in the current AWS Region.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendingOptions">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_PINPOINTEMAIL_API SendingOptions
|
|
{
|
|
public:
|
|
SendingOptions();
|
|
SendingOptions(Aws::Utils::Json::JsonView jsonValue);
|
|
SendingOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>If <code>true</code>, email sending is enabled for the configuration set. If
|
|
* <code>false</code>, email sending is disabled for the configuration set.</p>
|
|
*/
|
|
inline bool GetSendingEnabled() const{ return m_sendingEnabled; }
|
|
|
|
/**
|
|
* <p>If <code>true</code>, email sending is enabled for the configuration set. If
|
|
* <code>false</code>, email sending is disabled for the configuration set.</p>
|
|
*/
|
|
inline bool SendingEnabledHasBeenSet() const { return m_sendingEnabledHasBeenSet; }
|
|
|
|
/**
|
|
* <p>If <code>true</code>, email sending is enabled for the configuration set. If
|
|
* <code>false</code>, email sending is disabled for the configuration set.</p>
|
|
*/
|
|
inline void SetSendingEnabled(bool value) { m_sendingEnabledHasBeenSet = true; m_sendingEnabled = value; }
|
|
|
|
/**
|
|
* <p>If <code>true</code>, email sending is enabled for the configuration set. If
|
|
* <code>false</code>, email sending is disabled for the configuration set.</p>
|
|
*/
|
|
inline SendingOptions& WithSendingEnabled(bool value) { SetSendingEnabled(value); return *this;}
|
|
|
|
private:
|
|
|
|
bool m_sendingEnabled;
|
|
bool m_sendingEnabledHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace PinpointEmail
|
|
} // namespace Aws
|