AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemovePermissionRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Lambda
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LAMBDA_API RemovePermissionRequest();
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 "RemovePermission"; }
35
36 AWS_LAMBDA_API Aws::String SerializePayload() const override;
37
38 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
54 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
55 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
56 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
57 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
58 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
59 inline RemovePermissionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
60 inline RemovePermissionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
61 inline RemovePermissionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
63
65
68 inline const Aws::String& GetStatementId() const{ return m_statementId; }
69 inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; }
70 inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; }
71 inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); }
72 inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); }
73 inline RemovePermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;}
74 inline RemovePermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;}
75 inline RemovePermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;}
77
79
83 inline const Aws::String& GetQualifier() const{ return m_qualifier; }
84 inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
85 inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
86 inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
87 inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
88 inline RemovePermissionRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
89 inline RemovePermissionRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
90 inline RemovePermissionRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
92
94
99 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
100 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
101 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
102 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
103 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
104 inline RemovePermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
105 inline RemovePermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
106 inline RemovePermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
108 private:
109
110 Aws::String m_functionName;
111 bool m_functionNameHasBeenSet = false;
112
113 Aws::String m_statementId;
114 bool m_statementIdHasBeenSet = false;
115
116 Aws::String m_qualifier;
117 bool m_qualifierHasBeenSet = false;
118
119 Aws::String m_revisionId;
120 bool m_revisionIdHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Lambda
125} // namespace Aws
RemovePermissionRequest & WithRevisionId(Aws::String &&value)
RemovePermissionRequest & WithFunctionName(const char *value)
RemovePermissionRequest & WithStatementId(const char *value)
RemovePermissionRequest & WithStatementId(Aws::String &&value)
RemovePermissionRequest & WithQualifier(Aws::String &&value)
RemovePermissionRequest & WithQualifier(const Aws::String &value)
RemovePermissionRequest & WithStatementId(const Aws::String &value)
RemovePermissionRequest & WithFunctionName(Aws::String &&value)
RemovePermissionRequest & WithRevisionId(const char *value)
RemovePermissionRequest & WithQualifier(const char *value)
RemovePermissionRequest & WithRevisionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_LAMBDA_API Aws::String SerializePayload() const override
RemovePermissionRequest & WithFunctionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String