AWS SDK for C++  1.9.159
AWS SDK for C++
DeleteEmailTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
15 {
16 namespace Model
17 {
18 
28  {
29  public:
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 "DeleteEmailTemplate"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
45 
49  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
50 
54  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
55 
59  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
60 
64  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
65 
69  inline DeleteEmailTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
70 
74  inline DeleteEmailTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
75 
79  inline DeleteEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
80 
81  private:
82 
83  Aws::String m_templateName;
84  bool m_templateNameHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace SESV2
89 } // namespace Aws
Aws::SESV2::Model::DeleteEmailTemplateRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: DeleteEmailTemplateRequest.h:59
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DeleteEmailTemplateRequest::WithTemplateName
DeleteEmailTemplateRequest & WithTemplateName(Aws::String &&value)
Definition: DeleteEmailTemplateRequest.h:74
Aws::SESV2::Model::DeleteEmailTemplateRequest::WithTemplateName
DeleteEmailTemplateRequest & WithTemplateName(const Aws::String &value)
Definition: DeleteEmailTemplateRequest.h:69
Aws::SESV2::Model::DeleteEmailTemplateRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: DeleteEmailTemplateRequest.h:64
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::DeleteEmailTemplateRequest
Definition: DeleteEmailTemplateRequest.h:28
AWSString.h
Aws::SESV2::Model::DeleteEmailTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteEmailTemplateRequest.h:36
SESV2_EXPORTS.h
Aws::SESV2::Model::DeleteEmailTemplateRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: DeleteEmailTemplateRequest.h:44
Aws::SESV2::Model::DeleteEmailTemplateRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: DeleteEmailTemplateRequest.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::DeleteEmailTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::DeleteEmailTemplateRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: DeleteEmailTemplateRequest.h:54
Aws::SESV2::Model::DeleteEmailTemplateRequest::DeleteEmailTemplateRequest
DeleteEmailTemplateRequest()
Aws::SESV2::Model::DeleteEmailTemplateRequest::WithTemplateName
DeleteEmailTemplateRequest & WithTemplateName(const char *value)
Definition: DeleteEmailTemplateRequest.h:79