AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; }
49 inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); }
50 inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); }
51 inline DeleteEmailIdentityRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;}
52 inline DeleteEmailIdentityRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;}
53 inline DeleteEmailIdentityRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;}
55 private:
56
57 Aws::String m_emailIdentity;
58 bool m_emailIdentityHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace PinpointEmail
63} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
DeleteEmailIdentityRequest & WithEmailIdentity(const char *value)
DeleteEmailIdentityRequest & WithEmailIdentity(Aws::String &&value)
DeleteEmailIdentityRequest & WithEmailIdentity(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String