7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/FunctionUrlAuthType.h>
52 template <
typename FunctionNameT = Aws::String>
54 m_functionNameHasBeenSet =
true;
55 m_functionName = std::forward<FunctionNameT>(value);
57 template <
typename FunctionNameT = Aws::String>
71 template <
typename StatementIdT = Aws::String>
73 m_statementIdHasBeenSet =
true;
74 m_statementId = std::forward<StatementIdT>(value);
76 template <
typename StatementIdT = Aws::String>
90 template <
typename ActionT = Aws::String>
92 m_actionHasBeenSet =
true;
93 m_action = std::forward<ActionT>(value);
95 template <
typename ActionT = Aws::String>
111 template <
typename PrincipalT = Aws::String>
113 m_principalHasBeenSet =
true;
114 m_principal = std::forward<PrincipalT>(value);
116 template <
typename PrincipalT = Aws::String>
132 template <
typename SourceArnT = Aws::String>
134 m_sourceArnHasBeenSet =
true;
135 m_sourceArn = std::forward<SourceArnT>(value);
137 template <
typename SourceArnT = Aws::String>
153 template <
typename SourceAccountT = Aws::String>
155 m_sourceAccountHasBeenSet =
true;
156 m_sourceAccount = std::forward<SourceAccountT>(value);
158 template <
typename SourceAccountT = Aws::String>
171 template <
typename EventSourceTokenT = Aws::String>
173 m_eventSourceTokenHasBeenSet =
true;
174 m_eventSourceToken = std::forward<EventSourceTokenT>(value);
176 template <
typename EventSourceTokenT = Aws::String>
190 template <
typename QualifierT = Aws::String>
192 m_qualifierHasBeenSet =
true;
193 m_qualifier = std::forward<QualifierT>(value);
195 template <
typename QualifierT = Aws::String>
210 template <
typename RevisionIdT = Aws::String>
212 m_revisionIdHasBeenSet =
true;
213 m_revisionId = std::forward<RevisionIdT>(value);
215 template <
typename RevisionIdT = Aws::String>
229 template <
typename PrincipalOrgIDT = Aws::String>
231 m_principalOrgIDHasBeenSet =
true;
232 m_principalOrgID = std::forward<PrincipalOrgIDT>(value);
234 template <
typename PrincipalOrgIDT = Aws::String>
253 m_functionUrlAuthTypeHasBeenSet =
true;
254 m_functionUrlAuthType = value;
273 m_invokedViaFunctionUrlHasBeenSet =
true;
274 m_invokedViaFunctionUrl = value;
283 bool m_functionNameHasBeenSet =
false;
286 bool m_statementIdHasBeenSet =
false;
289 bool m_actionHasBeenSet =
false;
292 bool m_principalHasBeenSet =
false;
295 bool m_sourceArnHasBeenSet =
false;
298 bool m_sourceAccountHasBeenSet =
false;
301 bool m_eventSourceTokenHasBeenSet =
false;
304 bool m_qualifierHasBeenSet =
false;
307 bool m_revisionIdHasBeenSet =
false;
310 bool m_principalOrgIDHasBeenSet =
false;
313 bool m_functionUrlAuthTypeHasBeenSet =
false;
315 bool m_invokedViaFunctionUrl{
false};
316 bool m_invokedViaFunctionUrlHasBeenSet =
false;
const Aws::String & GetStatementId() const
AddPermissionRequest & WithFunctionName(FunctionNameT &&value)
bool EventSourceTokenHasBeenSet() const
const Aws::String & GetPrincipal() const
void SetAction(ActionT &&value)
const Aws::String & GetFunctionName() const
void SetSourceAccount(SourceAccountT &&value)
bool QualifierHasBeenSet() const
void SetInvokedViaFunctionUrl(bool value)
void SetSourceArn(SourceArnT &&value)
AWS_LAMBDA_API AddPermissionRequest()=default
const Aws::String & GetEventSourceToken() const
void SetStatementId(StatementIdT &&value)
const Aws::String & GetSourceAccount() const
FunctionUrlAuthType GetFunctionUrlAuthType() const
bool PrincipalHasBeenSet() const
bool StatementIdHasBeenSet() const
AWS_LAMBDA_API Aws::String SerializePayload() const override
bool PrincipalOrgIDHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetEventSourceToken(EventSourceTokenT &&value)
void SetRevisionId(RevisionIdT &&value)
bool SourceArnHasBeenSet() const
bool RevisionIdHasBeenSet() const
void SetFunctionUrlAuthType(FunctionUrlAuthType value)
bool InvokedViaFunctionUrlHasBeenSet() const
bool FunctionNameHasBeenSet() const
AddPermissionRequest & WithStatementId(StatementIdT &&value)
void SetQualifier(QualifierT &&value)
AddPermissionRequest & WithInvokedViaFunctionUrl(bool value)
bool FunctionUrlAuthTypeHasBeenSet() const
AddPermissionRequest & WithQualifier(QualifierT &&value)
const Aws::String & GetQualifier() const
AddPermissionRequest & WithEventSourceToken(EventSourceTokenT &&value)
AddPermissionRequest & WithAction(ActionT &&value)
const Aws::String & GetAction() const
const Aws::String & GetRevisionId() const
AddPermissionRequest & WithSourceArn(SourceArnT &&value)
const Aws::String & GetPrincipalOrgID() const
bool ActionHasBeenSet() const
void SetPrincipalOrgID(PrincipalOrgIDT &&value)
AddPermissionRequest & WithPrincipal(PrincipalT &&value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AddPermissionRequest & WithSourceAccount(SourceAccountT &&value)
AddPermissionRequest & WithRevisionId(RevisionIdT &&value)
void SetFunctionName(FunctionNameT &&value)
AddPermissionRequest & WithFunctionUrlAuthType(FunctionUrlAuthType value)
AddPermissionRequest & WithPrincipalOrgID(PrincipalOrgIDT &&value)
const Aws::String & GetSourceArn() const
void SetPrincipal(PrincipalT &&value)
bool SourceAccountHasBeenSet() const
bool GetInvokedViaFunctionUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String