AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteEmailIdentityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SESV2 {
15namespace Model {
16
26 public:
27 AWS_SESV2_API DeleteEmailIdentityRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteEmailIdentity"; }
34
35 AWS_SESV2_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetEmailIdentity() const { return m_emailIdentity; }
42 inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
43 template <typename EmailIdentityT = Aws::String>
44 void SetEmailIdentity(EmailIdentityT&& value) {
45 m_emailIdentityHasBeenSet = true;
46 m_emailIdentity = std::forward<EmailIdentityT>(value);
47 }
48 template <typename EmailIdentityT = Aws::String>
50 SetEmailIdentity(std::forward<EmailIdentityT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_emailIdentity;
56 bool m_emailIdentityHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace SESV2
61} // namespace Aws
AWS_SESV2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_SESV2_API DeleteEmailIdentityRequest()=default
DeleteEmailIdentityRequest & WithEmailIdentity(EmailIdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String