AWS SDK for C++  1.9.160
AWS SDK for C++
DeleteEmailIdentityPolicyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SESV2
15 {
16 namespace 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::String SerializePayload() const override;
40 
41 
45  inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; }
46 
50  inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; }
51 
55  inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; }
56 
60  inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); }
61 
65  inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); }
66 
70  inline DeleteEmailIdentityPolicyRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;}
71 
75  inline DeleteEmailIdentityPolicyRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;}
76 
80  inline DeleteEmailIdentityPolicyRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;}
81 
82 
87  inline const Aws::String& GetPolicyName() const{ return m_policyName; }
88 
93  inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
94 
99  inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
100 
105  inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
106 
111  inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
112 
117  inline DeleteEmailIdentityPolicyRequest& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
118 
123  inline DeleteEmailIdentityPolicyRequest& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
124 
129  inline DeleteEmailIdentityPolicyRequest& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
130 
131  private:
132 
133  Aws::String m_emailIdentity;
134  bool m_emailIdentityHasBeenSet;
135 
136  Aws::String m_policyName;
137  bool m_policyNameHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace SESV2
142 } // namespace Aws
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::WithPolicyName
DeleteEmailIdentityPolicyRequest & WithPolicyName(const Aws::String &value)
Definition: DeleteEmailIdentityPolicyRequest.h:117
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::WithEmailIdentity
DeleteEmailIdentityPolicyRequest & WithEmailIdentity(const char *value)
Definition: DeleteEmailIdentityPolicyRequest.h:80
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::SetPolicyName
void SetPolicyName(Aws::String &&value)
Definition: DeleteEmailIdentityPolicyRequest.h:105
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::GetEmailIdentity
const Aws::String & GetEmailIdentity() const
Definition: DeleteEmailIdentityPolicyRequest.h:45
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteEmailIdentityPolicyRequest.h:37
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::WithPolicyName
DeleteEmailIdentityPolicyRequest & WithPolicyName(Aws::String &&value)
Definition: DeleteEmailIdentityPolicyRequest.h:123
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::SetEmailIdentity
void SetEmailIdentity(const char *value)
Definition: DeleteEmailIdentityPolicyRequest.h:65
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::SetEmailIdentity
void SetEmailIdentity(const Aws::String &value)
Definition: DeleteEmailIdentityPolicyRequest.h:55
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::GetPolicyName
const Aws::String & GetPolicyName() const
Definition: DeleteEmailIdentityPolicyRequest.h:87
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest
Definition: DeleteEmailIdentityPolicyRequest.h:29
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::EmailIdentityHasBeenSet
bool EmailIdentityHasBeenSet() const
Definition: DeleteEmailIdentityPolicyRequest.h:50
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::SetPolicyName
void SetPolicyName(const char *value)
Definition: DeleteEmailIdentityPolicyRequest.h:111
AWSString.h
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::SerializePayload
Aws::String SerializePayload() const override
SESV2_EXPORTS.h
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::SetEmailIdentity
void SetEmailIdentity(Aws::String &&value)
Definition: DeleteEmailIdentityPolicyRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::PolicyNameHasBeenSet
bool PolicyNameHasBeenSet() const
Definition: DeleteEmailIdentityPolicyRequest.h:93
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::WithEmailIdentity
DeleteEmailIdentityPolicyRequest & WithEmailIdentity(Aws::String &&value)
Definition: DeleteEmailIdentityPolicyRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SESV2Request.h
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::WithEmailIdentity
DeleteEmailIdentityPolicyRequest & WithEmailIdentity(const Aws::String &value)
Definition: DeleteEmailIdentityPolicyRequest.h:70
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::DeleteEmailIdentityPolicyRequest
DeleteEmailIdentityPolicyRequest()
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::SetPolicyName
void SetPolicyName(const Aws::String &value)
Definition: DeleteEmailIdentityPolicyRequest.h:99
Aws::SESV2::Model::DeleteEmailIdentityPolicyRequest::WithPolicyName
DeleteEmailIdentityPolicyRequest & WithPolicyName(const char *value)
Definition: DeleteEmailIdentityPolicyRequest.h:129