AWS SDK for C++  1.8.129
AWS SDK for C++
GetCustomVerificationEmailTemplateRequest.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 "GetCustomVerificationEmailTemplate"; }
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 GetCustomVerificationEmailTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
78 
83  inline GetCustomVerificationEmailTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
84 
89  inline GetCustomVerificationEmailTemplateRequest& 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::GetCustomVerificationEmailTemplateRequest::GetTemplateName
const Aws::String & GetTemplateName() const
Definition: GetCustomVerificationEmailTemplateRequest.h:47
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const Aws::String &value)
Definition: GetCustomVerificationEmailTemplateRequest.h:59
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(Aws::String &&value)
Definition: GetCustomVerificationEmailTemplateRequest.h:65
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::WithTemplateName
GetCustomVerificationEmailTemplateRequest & WithTemplateName(Aws::String &&value)
Definition: GetCustomVerificationEmailTemplateRequest.h:83
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::WithTemplateName
GetCustomVerificationEmailTemplateRequest & WithTemplateName(const char *value)
Definition: GetCustomVerificationEmailTemplateRequest.h:89
SESRequest.h
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::TemplateNameHasBeenSet
bool TemplateNameHasBeenSet() const
Definition: GetCustomVerificationEmailTemplateRequest.h:53
AWSString.h
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCustomVerificationEmailTemplateRequest.h:34
SES_EXPORTS.h
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::SetTemplateName
void SetTemplateName(const char *value)
Definition: GetCustomVerificationEmailTemplateRequest.h:71
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
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::GetCustomVerificationEmailTemplateRequest
Definition: GetCustomVerificationEmailTemplateRequest.h:26
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::WithTemplateName
GetCustomVerificationEmailTemplateRequest & WithTemplateName(const Aws::String &value)
Definition: GetCustomVerificationEmailTemplateRequest.h:77
Aws::SES::Model::GetCustomVerificationEmailTemplateRequest::GetCustomVerificationEmailTemplateRequest
GetCustomVerificationEmailTemplateRequest()