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

An object that contains the body of the message. You can specify a template * message.

See Also:

AWS * API Reference

*/ class BulkEmailContent { public: AWS_SESV2_API BulkEmailContent(); AWS_SESV2_API BulkEmailContent(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API BulkEmailContent& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The template to use for the bulk email message.

*/ inline const Template& GetTemplate() const{ return m_template; } /** *

The template to use for the bulk email message.

*/ inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } /** *

The template to use for the bulk email message.

*/ inline void SetTemplate(const Template& value) { m_templateHasBeenSet = true; m_template = value; } /** *

The template to use for the bulk email message.

*/ inline void SetTemplate(Template&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } /** *

The template to use for the bulk email message.

*/ inline BulkEmailContent& WithTemplate(const Template& value) { SetTemplate(value); return *this;} /** *

The template to use for the bulk email message.

*/ inline BulkEmailContent& WithTemplate(Template&& value) { SetTemplate(std::move(value)); return *this;} private: Template m_template; bool m_templateHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws