AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteEmailIdentityPolicyRequest.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
27 public:
28 AWS_SESV2_API DeleteEmailIdentityPolicyRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteEmailIdentityPolicy"; }
35
36 AWS_SESV2_API Aws::String SerializePayload() const override;
37
39
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
57
61 inline const Aws::String& GetPolicyName() const { return m_policyName; }
62 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
63 template <typename PolicyNameT = Aws::String>
64 void SetPolicyName(PolicyNameT&& value) {
65 m_policyNameHasBeenSet = true;
66 m_policyName = std::forward<PolicyNameT>(value);
67 }
68 template <typename PolicyNameT = Aws::String>
70 SetPolicyName(std::forward<PolicyNameT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_emailIdentity;
76
77 Aws::String m_policyName;
78 bool m_emailIdentityHasBeenSet = false;
79 bool m_policyNameHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace SESV2
84} // namespace Aws
AWS_SESV2_API Aws::String SerializePayload() const override
DeleteEmailIdentityPolicyRequest & WithPolicyName(PolicyNameT &&value)
DeleteEmailIdentityPolicyRequest & WithEmailIdentity(EmailIdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String