AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTemplateRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/email/model/Template.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SES
15{
16namespace Model
17{
18
28 {
29 public:
30 AWS_SES_API CreateTemplateRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateTemplate"; }
37
38 AWS_SES_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
50 inline const Template& GetTemplate() const{ return m_template; }
51 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
52 inline void SetTemplate(const Template& value) { m_templateHasBeenSet = true; m_template = value; }
53 inline void SetTemplate(Template&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
54 inline CreateTemplateRequest& WithTemplate(const Template& value) { SetTemplate(value); return *this;}
55 inline CreateTemplateRequest& WithTemplate(Template&& value) { SetTemplate(std::move(value)); return *this;}
57 private:
58
59 Template m_template;
60 bool m_templateHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace SES
65} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
CreateTemplateRequest & WithTemplate(const Template &value)
CreateTemplateRequest & WithTemplate(Template &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String