AWS SDK for C++  1.8.127
AWS SDK for C++
DeleteVerifiedEmailAddressRequest.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 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DeleteVerifiedEmailAddress"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
48 
52  inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
53 
57  inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
58 
62  inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
63 
67  inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
68 
72  inline DeleteVerifiedEmailAddressRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
73 
77  inline DeleteVerifiedEmailAddressRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
78 
82  inline DeleteVerifiedEmailAddressRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
83 
84  private:
85 
86  Aws::String m_emailAddress;
87  bool m_emailAddressHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace SES
92 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::SetEmailAddress
void SetEmailAddress(Aws::String &&value)
Definition: DeleteVerifiedEmailAddressRequest.h:62
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::WithEmailAddress
DeleteVerifiedEmailAddressRequest & WithEmailAddress(Aws::String &&value)
Definition: DeleteVerifiedEmailAddressRequest.h:77
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
SESRequest.h
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteVerifiedEmailAddressRequest.h:35
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::GetEmailAddress
const Aws::String & GetEmailAddress() const
Definition: DeleteVerifiedEmailAddressRequest.h:47
AWSString.h
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::WithEmailAddress
DeleteVerifiedEmailAddressRequest & WithEmailAddress(const Aws::String &value)
Definition: DeleteVerifiedEmailAddressRequest.h:72
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::SetEmailAddress
void SetEmailAddress(const char *value)
Definition: DeleteVerifiedEmailAddressRequest.h:67
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::EmailAddressHasBeenSet
bool EmailAddressHasBeenSet() const
Definition: DeleteVerifiedEmailAddressRequest.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::SetEmailAddress
void SetEmailAddress(const Aws::String &value)
Definition: DeleteVerifiedEmailAddressRequest.h:57
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::DeleteVerifiedEmailAddressRequest
DeleteVerifiedEmailAddressRequest()
Aws::SES::Model::DeleteVerifiedEmailAddressRequest::WithEmailAddress
DeleteVerifiedEmailAddressRequest & WithEmailAddress(const char *value)
Definition: DeleteVerifiedEmailAddressRequest.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::DeleteVerifiedEmailAddressRequest
Definition: DeleteVerifiedEmailAddressRequest.h:27