AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
DeleteIdentityPolicyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/email/SESRequest.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SES {
15namespace Model {
16
27 public:
28 AWS_SES_API DeleteIdentityPolicyRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteIdentityPolicy"; }
35
36 AWS_SES_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
40
41 public:
43
50 inline const Aws::String& GetIdentity() const { return m_identity; }
51 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
52 template <typename IdentityT = Aws::String>
53 void SetIdentity(IdentityT&& value) {
54 m_identityHasBeenSet = true;
55 m_identity = std::forward<IdentityT>(value);
56 }
57 template <typename IdentityT = Aws::String>
59 SetIdentity(std::forward<IdentityT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetPolicyName() const { return m_policyName; }
69 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
70 template <typename PolicyNameT = Aws::String>
71 void SetPolicyName(PolicyNameT&& value) {
72 m_policyNameHasBeenSet = true;
73 m_policyName = std::forward<PolicyNameT>(value);
74 }
75 template <typename PolicyNameT = Aws::String>
77 SetPolicyName(std::forward<PolicyNameT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_identity;
83
84 Aws::String m_policyName;
85 bool m_identityHasBeenSet = false;
86 bool m_policyNameHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace SES
91} // 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