AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteIdentityPolicyRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SES
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 "DeleteIdentityPolicy"; }
38
39 AWS_SES_API Aws::String SerializePayload() const override;
40
41 protected:
42 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43
44 public:
45
47
54 inline const Aws::String& GetIdentity() const{ return m_identity; }
55 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
56 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
57 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
58 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
59 inline DeleteIdentityPolicyRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
60 inline DeleteIdentityPolicyRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
61 inline DeleteIdentityPolicyRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
63
65
68 inline const Aws::String& GetPolicyName() const{ return m_policyName; }
69 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
70 inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
71 inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
72 inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
73 inline DeleteIdentityPolicyRequest& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
74 inline DeleteIdentityPolicyRequest& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
75 inline DeleteIdentityPolicyRequest& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
77 private:
78
79 Aws::String m_identity;
80 bool m_identityHasBeenSet = false;
81
82 Aws::String m_policyName;
83 bool m_policyNameHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SES
88} // namespace Aws
DeleteIdentityPolicyRequest & WithPolicyName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteIdentityPolicyRequest & WithIdentity(const Aws::String &value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteIdentityPolicyRequest & WithIdentity(const char *value)
DeleteIdentityPolicyRequest & WithPolicyName(const char *value)
DeleteIdentityPolicyRequest & WithPolicyName(const Aws::String &value)
AWS_SES_API Aws::String SerializePayload() const override
DeleteIdentityPolicyRequest & WithIdentity(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String