AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEmailTemplateResult.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/EmailTemplateContent.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SESV2
25{
26namespace Model
27{
35 {
36 public:
37 AWS_SESV2_API GetEmailTemplateResult();
40
41
43
46 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
47 inline void SetTemplateName(const Aws::String& value) { m_templateName = value; }
48 inline void SetTemplateName(Aws::String&& value) { m_templateName = std::move(value); }
49 inline void SetTemplateName(const char* value) { m_templateName.assign(value); }
50 inline GetEmailTemplateResult& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
51 inline GetEmailTemplateResult& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
52 inline GetEmailTemplateResult& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
54
56
60 inline const EmailTemplateContent& GetTemplateContent() const{ return m_templateContent; }
61 inline void SetTemplateContent(const EmailTemplateContent& value) { m_templateContent = value; }
62 inline void SetTemplateContent(EmailTemplateContent&& value) { m_templateContent = std::move(value); }
64 inline GetEmailTemplateResult& WithTemplateContent(EmailTemplateContent&& value) { SetTemplateContent(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetEmailTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetEmailTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetEmailTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_templateName;
80
81 EmailTemplateContent m_templateContent;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace SESV2
88} // namespace Aws
GetEmailTemplateResult & WithTemplateContent(const EmailTemplateContent &value)
AWS_SESV2_API GetEmailTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEmailTemplateResult & WithRequestId(Aws::String &&value)
GetEmailTemplateResult & WithRequestId(const Aws::String &value)
AWS_SESV2_API GetEmailTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEmailTemplateResult & WithRequestId(const char *value)
GetEmailTemplateResult & WithTemplateName(const Aws::String &value)
void SetTemplateName(const Aws::String &value)
GetEmailTemplateResult & WithTemplateName(const char *value)
void SetTemplateContent(EmailTemplateContent &&value)
GetEmailTemplateResult & WithTemplateName(Aws::String &&value)
GetEmailTemplateResult & WithTemplateContent(EmailTemplateContent &&value)
const EmailTemplateContent & GetTemplateContent() const
void SetTemplateContent(const EmailTemplateContent &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue