/** * 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 which contains ReplacementTemplateData to be used for * a specific BulkEmailEntry.

See Also:

AWS * API Reference

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

A list of replacement values to apply to the template. This parameter is a * JSON object, typically consisting of key-value pairs in which the keys * correspond to replacement tags in the email template.

*/ inline const Aws::String& GetReplacementTemplateData() const{ return m_replacementTemplateData; } /** *

A list of replacement values to apply to the template. This parameter is a * JSON object, typically consisting of key-value pairs in which the keys * correspond to replacement tags in the email template.

*/ inline bool ReplacementTemplateDataHasBeenSet() const { return m_replacementTemplateDataHasBeenSet; } /** *

A list of replacement values to apply to the template. This parameter is a * JSON object, typically consisting of key-value pairs in which the keys * correspond to replacement tags in the email template.

*/ inline void SetReplacementTemplateData(const Aws::String& value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData = value; } /** *

A list of replacement values to apply to the template. This parameter is a * JSON object, typically consisting of key-value pairs in which the keys * correspond to replacement tags in the email template.

*/ inline void SetReplacementTemplateData(Aws::String&& value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData = std::move(value); } /** *

A list of replacement values to apply to the template. This parameter is a * JSON object, typically consisting of key-value pairs in which the keys * correspond to replacement tags in the email template.

*/ inline void SetReplacementTemplateData(const char* value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData.assign(value); } /** *

A list of replacement values to apply to the template. This parameter is a * JSON object, typically consisting of key-value pairs in which the keys * correspond to replacement tags in the email template.

*/ inline ReplacementTemplate& WithReplacementTemplateData(const Aws::String& value) { SetReplacementTemplateData(value); return *this;} /** *

A list of replacement values to apply to the template. This parameter is a * JSON object, typically consisting of key-value pairs in which the keys * correspond to replacement tags in the email template.

*/ inline ReplacementTemplate& WithReplacementTemplateData(Aws::String&& value) { SetReplacementTemplateData(std::move(value)); return *this;} /** *

A list of replacement values to apply to the template. This parameter is a * JSON object, typically consisting of key-value pairs in which the keys * correspond to replacement tags in the email template.

*/ inline ReplacementTemplate& WithReplacementTemplateData(const char* value) { SetReplacementTemplateData(value); return *this;} private: Aws::String m_replacementTemplateData; bool m_replacementTemplateDataHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws