AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestRenderTemplateRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SES
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "TestRenderTemplate"; }
31
32 AWS_SES_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
44 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
45 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
46 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
47 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
48 inline TestRenderTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
49 inline TestRenderTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
50 inline TestRenderTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
52
54
59 inline const Aws::String& GetTemplateData() const{ return m_templateData; }
60 inline bool TemplateDataHasBeenSet() const { return m_templateDataHasBeenSet; }
61 inline void SetTemplateData(const Aws::String& value) { m_templateDataHasBeenSet = true; m_templateData = value; }
62 inline void SetTemplateData(Aws::String&& value) { m_templateDataHasBeenSet = true; m_templateData = std::move(value); }
63 inline void SetTemplateData(const char* value) { m_templateDataHasBeenSet = true; m_templateData.assign(value); }
64 inline TestRenderTemplateRequest& WithTemplateData(const Aws::String& value) { SetTemplateData(value); return *this;}
65 inline TestRenderTemplateRequest& WithTemplateData(Aws::String&& value) { SetTemplateData(std::move(value)); return *this;}
66 inline TestRenderTemplateRequest& WithTemplateData(const char* value) { SetTemplateData(value); return *this;}
68 private:
69
70 Aws::String m_templateName;
71 bool m_templateNameHasBeenSet = false;
72
73 Aws::String m_templateData;
74 bool m_templateDataHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SES
79} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
TestRenderTemplateRequest & WithTemplateName(const Aws::String &value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
TestRenderTemplateRequest & WithTemplateName(Aws::String &&value)
TestRenderTemplateRequest & WithTemplateData(const char *value)
TestRenderTemplateRequest & WithTemplateData(const Aws::String &value)
TestRenderTemplateRequest & WithTemplateName(const char *value)
TestRenderTemplateRequest & WithTemplateData(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String