AWS SDK for C++  1.9.153
AWS SDK for C++
DeleteEmailIdentityRequest.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 "DeleteEmailIdentity"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; }
45 
49  inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
50 
54  inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; }
55 
59  inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); }
60 
64  inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); }
65 
69  inline DeleteEmailIdentityRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;}
70 
74  inline DeleteEmailIdentityRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;}
75 
79  inline DeleteEmailIdentityRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;}
80 
81  private:
82 
83  Aws::String m_emailIdentity;
84  bool m_emailIdentityHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace SESV2
89 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DeleteEmailIdentityRequest::SetEmailIdentity
void SetEmailIdentity(const char *value)
Definition: DeleteEmailIdentityRequest.h:64
Aws::SESV2::Model::DeleteEmailIdentityRequest::WithEmailIdentity
DeleteEmailIdentityRequest & WithEmailIdentity(Aws::String &&value)
Definition: DeleteEmailIdentityRequest.h:74
Aws::SESV2::Model::DeleteEmailIdentityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::DeleteEmailIdentityRequest::DeleteEmailIdentityRequest
DeleteEmailIdentityRequest()
Aws::SESV2::Model::DeleteEmailIdentityRequest::SetEmailIdentity
void SetEmailIdentity(Aws::String &&value)
Definition: DeleteEmailIdentityRequest.h:59
Aws::SESV2::Model::DeleteEmailIdentityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteEmailIdentityRequest.h:36
Aws::SESV2::Model::DeleteEmailIdentityRequest::GetEmailIdentity
const Aws::String & GetEmailIdentity() const
Definition: DeleteEmailIdentityRequest.h:44
Aws::SESV2::Model::DeleteEmailIdentityRequest::WithEmailIdentity
DeleteEmailIdentityRequest & WithEmailIdentity(const Aws::String &value)
Definition: DeleteEmailIdentityRequest.h:69
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::DeleteEmailIdentityRequest::WithEmailIdentity
DeleteEmailIdentityRequest & WithEmailIdentity(const char *value)
Definition: DeleteEmailIdentityRequest.h:79
AWSString.h
Aws::SESV2::Model::DeleteEmailIdentityRequest::EmailIdentityHasBeenSet
bool EmailIdentityHasBeenSet() const
Definition: DeleteEmailIdentityRequest.h:49
SESV2_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::DeleteEmailIdentityRequest
Definition: DeleteEmailIdentityRequest.h:28
Aws::SESV2::Model::DeleteEmailIdentityRequest::SetEmailIdentity
void SetEmailIdentity(const Aws::String &value)
Definition: DeleteEmailIdentityRequest.h:54