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

The following element is returned by the service.

See Also:

* AWS * API Reference

*/ class TestRenderEmailTemplateResult { public: AWS_SESV2_API TestRenderEmailTemplateResult(); AWS_SESV2_API TestRenderEmailTemplateResult(const Aws::AmazonWebServiceResult& result); AWS_SESV2_API TestRenderEmailTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The complete MIME message rendered by applying the data in the * TemplateData parameter to the template specified in the * TemplateName parameter.

*/ inline const Aws::String& GetRenderedTemplate() const{ return m_renderedTemplate; } /** *

The complete MIME message rendered by applying the data in the * TemplateData parameter to the template specified in the * TemplateName parameter.

*/ inline void SetRenderedTemplate(const Aws::String& value) { m_renderedTemplate = value; } /** *

The complete MIME message rendered by applying the data in the * TemplateData parameter to the template specified in the * TemplateName parameter.

*/ inline void SetRenderedTemplate(Aws::String&& value) { m_renderedTemplate = std::move(value); } /** *

The complete MIME message rendered by applying the data in the * TemplateData parameter to the template specified in the * TemplateName parameter.

*/ inline void SetRenderedTemplate(const char* value) { m_renderedTemplate.assign(value); } /** *

The complete MIME message rendered by applying the data in the * TemplateData parameter to the template specified in the * TemplateName parameter.

*/ inline TestRenderEmailTemplateResult& WithRenderedTemplate(const Aws::String& value) { SetRenderedTemplate(value); return *this;} /** *

The complete MIME message rendered by applying the data in the * TemplateData parameter to the template specified in the * TemplateName parameter.

*/ inline TestRenderEmailTemplateResult& WithRenderedTemplate(Aws::String&& value) { SetRenderedTemplate(std::move(value)); return *this;} /** *

The complete MIME message rendered by applying the data in the * TemplateData parameter to the template specified in the * TemplateName parameter.

*/ inline TestRenderEmailTemplateResult& WithRenderedTemplate(const char* value) { SetRenderedTemplate(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline TestRenderEmailTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline TestRenderEmailTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline TestRenderEmailTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_renderedTemplate; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws