AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
DeleteResourcePolicyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Lambda {
18namespace Model {
19
23 public:
24 AWS_LAMBDA_API DeleteResourcePolicyRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteResourcePolicy"; }
31
32 AWS_LAMBDA_API Aws::String SerializePayload() const override;
33
34 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
42 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
43 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
44 template <typename ResourceArnT = Aws::String>
45 void SetResourceArn(ResourceArnT&& value) {
46 m_resourceArnHasBeenSet = true;
47 m_resourceArn = std::forward<ResourceArnT>(value);
48 }
49 template <typename ResourceArnT = Aws::String>
51 SetResourceArn(std::forward<ResourceArnT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
64 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
65 template <typename RevisionIdT = Aws::String>
66 void SetRevisionId(RevisionIdT&& value) {
67 m_revisionIdHasBeenSet = true;
68 m_revisionId = std::forward<RevisionIdT>(value);
69 }
70 template <typename RevisionIdT = Aws::String>
72 SetRevisionId(std::forward<RevisionIdT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_resourceArn;
78
79 Aws::String m_revisionId;
80 bool m_resourceArnHasBeenSet = false;
81 bool m_revisionIdHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Lambda
86} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteResourcePolicyRequest & WithResourceArn(ResourceArnT &&value)
AWS_LAMBDA_API DeleteResourcePolicyRequest()=default
DeleteResourcePolicyRequest & WithRevisionId(RevisionIdT &&value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String