AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteEmailIdentityPolicyRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SESV2
15{
16namespace Model
17{
18
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "DeleteEmailIdentityPolicy"; }
38
39 AWS_SESV2_API Aws::String SerializePayload() const override;
40
41
43
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); }
52 inline DeleteEmailIdentityPolicyRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;}
53 inline DeleteEmailIdentityPolicyRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;}
55
57
61 inline const Aws::String& GetPolicyName() const{ return m_policyName; }
62 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
63 inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
64 inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
65 inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
66 inline DeleteEmailIdentityPolicyRequest& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
67 inline DeleteEmailIdentityPolicyRequest& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
68 inline DeleteEmailIdentityPolicyRequest& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
70 private:
71
72 Aws::String m_emailIdentity;
73 bool m_emailIdentityHasBeenSet = false;
74
75 Aws::String m_policyName;
76 bool m_policyNameHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SESV2
81} // namespace Aws
DeleteEmailIdentityPolicyRequest & WithPolicyName(Aws::String &&value)
DeleteEmailIdentityPolicyRequest & WithPolicyName(const Aws::String &value)
DeleteEmailIdentityPolicyRequest & WithEmailIdentity(Aws::String &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
DeleteEmailIdentityPolicyRequest & WithEmailIdentity(const Aws::String &value)
DeleteEmailIdentityPolicyRequest & WithPolicyName(const char *value)
DeleteEmailIdentityPolicyRequest & WithEmailIdentity(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String