AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteTemplateRequest.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
28 {
29 public:
30 AWS_SES_API DeleteTemplateRequest();
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 "DeleteTemplate"; }
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
49 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
50 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
51 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
52 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
53 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
54 inline DeleteTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
55 inline DeleteTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
56 inline DeleteTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
58 private:
59
60 Aws::String m_templateName;
61 bool m_templateNameHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace SES
66} // namespace Aws
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteTemplateRequest & WithTemplateName(const char *value)
const Aws::String & GetTemplateName() const
virtual const char * GetServiceRequestName() const override
AWS_SES_API Aws::String SerializePayload() const override
void SetTemplateName(const Aws::String &value)
DeleteTemplateRequest & WithTemplateName(Aws::String &&value)
DeleteTemplateRequest & WithTemplateName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String