AWS SDK for C++  1.8.127
AWS SDK for C++
DeleteIdentityPolicyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
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 "DeleteIdentityPolicy"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
53  inline const Aws::String& GetIdentity() const{ return m_identity; }
54 
62  inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
63 
71  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
72 
80  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
81 
89  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
90 
98  inline DeleteIdentityPolicyRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
99 
107  inline DeleteIdentityPolicyRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
108 
116  inline DeleteIdentityPolicyRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
117 
118 
122  inline const Aws::String& GetPolicyName() const{ return m_policyName; }
123 
127  inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
128 
132  inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
133 
137  inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
138 
142  inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
143 
147  inline DeleteIdentityPolicyRequest& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
148 
152  inline DeleteIdentityPolicyRequest& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
153 
157  inline DeleteIdentityPolicyRequest& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
158 
159  private:
160 
161  Aws::String m_identity;
162  bool m_identityHasBeenSet;
163 
164  Aws::String m_policyName;
165  bool m_policyNameHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace SES
170 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::DeleteIdentityPolicyRequest
Definition: DeleteIdentityPolicyRequest.h:29
Aws::SES::Model::DeleteIdentityPolicyRequest::SetPolicyName
void SetPolicyName(const char *value)
Definition: DeleteIdentityPolicyRequest.h:142
Aws::SES::Model::DeleteIdentityPolicyRequest::WithPolicyName
DeleteIdentityPolicyRequest & WithPolicyName(const Aws::String &value)
Definition: DeleteIdentityPolicyRequest.h:147
Aws::SES::Model::DeleteIdentityPolicyRequest::WithPolicyName
DeleteIdentityPolicyRequest & WithPolicyName(const char *value)
Definition: DeleteIdentityPolicyRequest.h:157
Aws::SES::Model::DeleteIdentityPolicyRequest::PolicyNameHasBeenSet
bool PolicyNameHasBeenSet() const
Definition: DeleteIdentityPolicyRequest.h:127
Aws::SES::Model::DeleteIdentityPolicyRequest::SetIdentity
void SetIdentity(const char *value)
Definition: DeleteIdentityPolicyRequest.h:89
Aws::SES::Model::DeleteIdentityPolicyRequest::IdentityHasBeenSet
bool IdentityHasBeenSet() const
Definition: DeleteIdentityPolicyRequest.h:62
Aws::SES::Model::DeleteIdentityPolicyRequest::DeleteIdentityPolicyRequest
DeleteIdentityPolicyRequest()
Aws::SES::Model::DeleteIdentityPolicyRequest::SetIdentity
void SetIdentity(const Aws::String &value)
Definition: DeleteIdentityPolicyRequest.h:71
SESRequest.h
Aws::SES::Model::DeleteIdentityPolicyRequest::GetPolicyName
const Aws::String & GetPolicyName() const
Definition: DeleteIdentityPolicyRequest.h:122
Aws::SES::Model::DeleteIdentityPolicyRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::DeleteIdentityPolicyRequest::WithIdentity
DeleteIdentityPolicyRequest & WithIdentity(Aws::String &&value)
Definition: DeleteIdentityPolicyRequest.h:107
Aws::SES::Model::DeleteIdentityPolicyRequest::SetPolicyName
void SetPolicyName(Aws::String &&value)
Definition: DeleteIdentityPolicyRequest.h:137
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::DeleteIdentityPolicyRequest::SetPolicyName
void SetPolicyName(const Aws::String &value)
Definition: DeleteIdentityPolicyRequest.h:132
Aws::SES::Model::DeleteIdentityPolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteIdentityPolicyRequest.h:37
Aws::SES::Model::DeleteIdentityPolicyRequest::GetIdentity
const Aws::String & GetIdentity() const
Definition: DeleteIdentityPolicyRequest.h:53
Aws::SES::Model::DeleteIdentityPolicyRequest::WithPolicyName
DeleteIdentityPolicyRequest & WithPolicyName(Aws::String &&value)
Definition: DeleteIdentityPolicyRequest.h:152
Aws::SES::Model::DeleteIdentityPolicyRequest::SetIdentity
void SetIdentity(Aws::String &&value)
Definition: DeleteIdentityPolicyRequest.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::DeleteIdentityPolicyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::DeleteIdentityPolicyRequest::WithIdentity
DeleteIdentityPolicyRequest & WithIdentity(const char *value)
Definition: DeleteIdentityPolicyRequest.h:116
Aws::SES::Model::DeleteIdentityPolicyRequest::WithIdentity
DeleteIdentityPolicyRequest & WithIdentity(const Aws::String &value)
Definition: DeleteIdentityPolicyRequest.h:98