AWS SDK for C++  1.8.128
AWS SDK for C++
DeleteCustomVerificationEmailTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteCustomVerificationEmailTemplate"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
47  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
48 
53  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
54 
59  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
60 
65  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
66 
71  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
72 
77  inline DeleteCustomVerificationEmailTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
78 
83  inline DeleteCustomVerificationEmailTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
84 
89  inline DeleteCustomVerificationEmailTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
90 
91  private:
92 
93  Aws::String m_templateName;
94  bool m_templateNameHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace SES
99 } // namespace Aws
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: DeleteCustomVerificationEmailTemplateRequest.h:47
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::WithTemplateName
DeleteCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
Definition: DeleteCustomVerificationEmailTemplateRequest.h:77
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: DeleteCustomVerificationEmailTemplateRequest.h:59
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: DeleteCustomVerificationEmailTemplateRequest.h:71
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::WithTemplateName
DeleteCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
Definition: DeleteCustomVerificationEmailTemplateRequest.h:83
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest
Definition: DeleteCustomVerificationEmailTemplateRequest.h:26
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: DeleteCustomVerificationEmailTemplateRequest.h:53
SESRequest.h
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::DeleteCustomVerificationEmailTemplateRequest
DeleteCustomVerificationEmailTemplateRequest()
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::WithTemplateName
DeleteCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
Definition: DeleteCustomVerificationEmailTemplateRequest.h:89
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: DeleteCustomVerificationEmailTemplateRequest.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::DeleteCustomVerificationEmailTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteCustomVerificationEmailTemplateRequest.h:34