AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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