AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
31 AWS_SES_API DeleteIdentityPolicyRequest() = default;
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 template<typename IdentityT = Aws::String>
57 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
58 template<typename IdentityT = Aws::String>
59 DeleteIdentityPolicyRequest& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
61
63
66 inline const Aws::String& GetPolicyName() const { return m_policyName; }
67 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
68 template<typename PolicyNameT = Aws::String>
69 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet = true; m_policyName = std::forward<PolicyNameT>(value); }
70 template<typename PolicyNameT = Aws::String>
71 DeleteIdentityPolicyRequest& WithPolicyName(PolicyNameT&& value) { SetPolicyName(std::forward<PolicyNameT>(value)); return *this;}
73 private:
74
75 Aws::String m_identity;
76 bool m_identityHasBeenSet = false;
77
78 Aws::String m_policyName;
79 bool m_policyNameHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SES
84} // namespace Aws
DeleteIdentityPolicyRequest & WithPolicyName(PolicyNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SES_API DeleteIdentityPolicyRequest()=default
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_SES_API Aws::String SerializePayload() const override
DeleteIdentityPolicyRequest & WithIdentity(IdentityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String