AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailTemplateContent.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SESV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SESV2_API EmailTemplateContent();
38 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSubject() const{ return m_subject; }
46 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
47 inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; }
48 inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
49 inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); }
50 inline EmailTemplateContent& WithSubject(const Aws::String& value) { SetSubject(value); return *this;}
51 inline EmailTemplateContent& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;}
52 inline EmailTemplateContent& WithSubject(const char* value) { SetSubject(value); return *this;}
54
56
60 inline const Aws::String& GetText() const{ return m_text; }
61 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
62 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
63 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
64 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
65 inline EmailTemplateContent& WithText(const Aws::String& value) { SetText(value); return *this;}
66 inline EmailTemplateContent& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
67 inline EmailTemplateContent& WithText(const char* value) { SetText(value); return *this;}
69
71
74 inline const Aws::String& GetHtml() const{ return m_html; }
75 inline bool HtmlHasBeenSet() const { return m_htmlHasBeenSet; }
76 inline void SetHtml(const Aws::String& value) { m_htmlHasBeenSet = true; m_html = value; }
77 inline void SetHtml(Aws::String&& value) { m_htmlHasBeenSet = true; m_html = std::move(value); }
78 inline void SetHtml(const char* value) { m_htmlHasBeenSet = true; m_html.assign(value); }
79 inline EmailTemplateContent& WithHtml(const Aws::String& value) { SetHtml(value); return *this;}
80 inline EmailTemplateContent& WithHtml(Aws::String&& value) { SetHtml(std::move(value)); return *this;}
81 inline EmailTemplateContent& WithHtml(const char* value) { SetHtml(value); return *this;}
83 private:
84
85 Aws::String m_subject;
86 bool m_subjectHasBeenSet = false;
87
88 Aws::String m_text;
89 bool m_textHasBeenSet = false;
90
91 Aws::String m_html;
92 bool m_htmlHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SESV2
97} // namespace Aws
void SetHtml(const Aws::String &value)
void SetText(const Aws::String &value)
EmailTemplateContent & WithSubject(const char *value)
EmailTemplateContent & WithHtml(Aws::String &&value)
EmailTemplateContent & WithText(Aws::String &&value)
void SetSubject(const Aws::String &value)
EmailTemplateContent & WithText(const Aws::String &value)
AWS_SESV2_API EmailTemplateContent(Aws::Utils::Json::JsonView jsonValue)
EmailTemplateContent & WithSubject(const Aws::String &value)
AWS_SESV2_API EmailTemplateContent & operator=(Aws::Utils::Json::JsonView jsonValue)
EmailTemplateContent & WithHtml(const Aws::String &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
EmailTemplateContent & WithText(const char *value)
EmailTemplateContent & WithSubject(Aws::String &&value)
EmailTemplateContent & WithHtml(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue