AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteEmailIdentityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace PinpointEmail {
15namespace Model {
16
26 public:
27 AWS_PINPOINTEMAIL_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_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
36
38
42 inline const Aws::String& GetEmailIdentity() const { return m_emailIdentity; }
43 inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
44 template <typename EmailIdentityT = Aws::String>
45 void SetEmailIdentity(EmailIdentityT&& value) {
46 m_emailIdentityHasBeenSet = true;
47 m_emailIdentity = std::forward<EmailIdentityT>(value);
48 }
49 template <typename EmailIdentityT = Aws::String>
51 SetEmailIdentity(std::forward<EmailIdentityT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_emailIdentity;
57 bool m_emailIdentityHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace PinpointEmail
62} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
AWS_PINPOINTEMAIL_API DeleteEmailIdentityRequest()=default
DeleteEmailIdentityRequest & WithEmailIdentity(EmailIdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String